Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 38722

Forum Post: RE: Retained Earning Account is missing in Financial Year End Closing Report

$
0
0
Hi Richard, cvakumar.com/.../334075082.html From the link above you gave from your previous post, I got an error for: a.CurrencyTranslationType, a.PERDENDT, a.SEQNUMBR, a.PERIODID, EXGTBLID= case a.CurrencyTranslationType when 1 then b.AverageExchangeTableID when 3 then b.HistoricalExchgTableID end, dbo.mcFuncGetMCTrxState(b.CURNCYID) as MCTRXSTT, a.RATETPID, a.EXCHDATE, a.TIME1, a.Adjustment_Transaction, case a.CurrencyTranslationType when 1 then a.PERDENDT when 3 then a.TRXDATE end as ExchangeRateDate from (select x.OPENYEAR, x.ACTINDX, x.CRDTAMNT, x.DEBITAMT, x.ORCRDAMT, x.ORDBTAMT, x.TRXDATE, x.DSCRIPTN, x.REFRENCE, x.CURNCYID, x.XCHGRATE, x.JRNENTRY, x.TRXSORCE, x.SOURCDOC, x.ORDOCNUM, x.ORTRXSRC, x.ORMSTRID, x.ORMSTRNM, x.ORTRXTYP, x.ORGNTSRC, x.SERIES, x.VOIDED, x.Ledger_ID, y.CurrencyTranslationType, dbo.glFuncGetPeriodEndDate(x.OPENYEAR,x.SERIES,dbo.glFuncGetPeriodID(x.TRXDATE,x.OPENYEAR,x.SERIES)) as PERDENDT, x.SEQNUMBR, dbo.glFuncGetPeriodID(x.TRXDATE,x.OPENYEAR,x.SERIES) as PERIODID, x.RATETPID, x.EXCHDATE, x.TIME1, x.Adjustment_Transaction from GL20000 x, MC00200 y where y.CurrencyTranslationType <> 2 and x.ACTINDX=y.ACTINDX and y.CURNCYID='') a, MC40600 b) GL_YTD_TRX_OPEN cross apply dbo.mcFuncGetExchangeRateTable(GL_YTD_TRX_OPEN.ExchangeRateDate, GL_YTD_TRX_OPEN.EXGTBLID, D.TRXDTDEF, D.DATELMTS,D.PRVDSLMT,D.Base_Exchange_Rate_On, GL_YTD_TRX_OPEN.MCTRXSTT) F where GL_YTD_TRX_OPEN.PERIODID<>0 and GL_YTD_TRX_OPEN.EXGTBLID = D.EXGTBLID and D.CURNCYID=E.CURNCYID) GL20000Final Error: Msg 102, Level 15, State 1, Procedure GL20000CurrencyTranslationView, Line 12 Incorrect syntax near '.'.

Viewing all articles
Browse latest Browse all 38722

Trending Articles