Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SQL Link between GL and Projects

edited Apr 4, 2019 11:08PM in Reporting and Analytics for ERP 4 comments

Summary

Report which shows project transaction that have flown through to GL

Content

Hi

Does anyone know the links/joins between GL and Projects, we are trying to build a report however not all transactions are coming through?

Your assistance is appreciated

Thanks

Code Snippet

		AND	GL.JE_LINE_NUM			=		R.JE_LINE_NUM
		AND	R.GL_SL_LINK_ID			=		XL.GL_SL_LINK_ID
		AND	R.GL_SL_LINK_TABLE		=		XL.GL_SL_LINK_TABLE
		AND	XL.APPLICATION_ID		=		XaH.APPLICATION_ID
		AND	XL.AE_HEADER_ID			=		XaH.AE_HEADER_ID		
		AND XL.ae_header_id       	= 		XDL.ae_header_id
        AND XL.ae_line_num         	= 		XDL.ae_line_num		
		AND XDL.source_distribution_id_num_1 = pcd.expenditure_item_id(+)
		and pcd.project_id 			= 		ppa.project_id(+)
		and pcd.task_id				= 		ptv.task_id(+)
		and pcd.expenditure_item_id = 		pei.expenditure_item_id(+)
        and	pei.expenditure_item_id = 		pex.expenditure_item_id(+)
		and XE.event_id 			in 		pcd.ACCT_EVENT_ID
		--and   pei.exp_group_id 	= 		peg.exp_group_id(+)
		and pei.expenditure_type_id = 	pet.expenditure_type_id(+)
		--and   pei.org_id 			= 		pov.org_id
		and   ppa.CARRYING_OUT_ORGANIZATION_ID = hao.organization_id(+)
		and   xah.application_id 	= 		10036		-- Projects		
										 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!