Hello All,
I am pretty much new to GP. I am trying to convert Some of smartlist to SSRS. I started with Account Transactions. I created a query for Account transactions based on the Constant SMARTLIST_OBJECTTYPE_ACCOUNTTRANSACTIONS.
Constant SMARTLIST_OBJECTTYPE_ACCOUNTTRANSACTIONS
Tables
GL10001 - GL_TRX_LINE_WORK
GL20000 - GL_YTD_TRX_OPEN
GL30000 - GL_Account_TRX_HIST
MC40200 - MC_Currency_SETP
GL00100 - GL_Account_MSTR
GL10000 - GL_TRX_HDR_WORK
Joins
GL10001 left-outer join to MC40200
GL10001 left-outer join to GL00100
GL10001 left-outer join to GL10000
GL20000 left-outer join to GL00100
GL20000 left-outer join to GL10000
GL30000 left-outer join to GL00100
The Query i created mentioned below
SELECT * FROM GL20000 LEFT OUTER JOIN GL10000 ON GL20000.JRNENTRY = GL10000.JRNENTRY LEFT OUTER JOIN GL30000 LEFT OUTER JOIN GL00100 ON GL30000.ACTINDX = GL00100.ACTINDX ON GL20000.ACTINDX = GL00100.ACTINDX RIGHT OUTER JOIN GL10001 ON GL10000.JRNENTRY = GL10001.JRNENTRY AND GL10000.BACHNUMB = GL10001.BACHNUMB AND GL00100.ACTINDX = GL10001.ACTINDX Is this correct (joins)? Do I need to do anything else? please give me some helpful notes to add more parameters to this query?
Thanks and regards
Rijo
*This post is locked for comments