web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)
New Discussion

WIP Report for Project accounting

(0) ShareShare
ReportReport
Posted on by 829

Dear All,

Last week I worked on WIP reports for all projects in Project accounting module.I hope below query will helps others for those who are struggling in WIP projects wise with GL in GP.

Kindly contact me if need any help.

select JRNENTRY,TRXDATE,c.CUSTNMBR,c.PAPROJNUMBER,c.PAprojname ,SOURCDOC ,ORDOCNUM ,DEBITAMT,CRDTAMNT from GL20000
inner join (
select distinct PAVIDN,PAPROJNUMBER from PA31102) b
on b.PAVIDN=ORDOCNUM
inner join (select custnmbr,paprojname,paprojnumber from PA01201) c
on b.PAPROJNUMBER=c.PAPROJNUMBER
where SOURCDOC like 'rec%'
and TRXDATE<='2017-06-30 00:00:00.000'
and ACTINDX='69'


union


select JRNENTRY ,TRXDATE,c.CUSTNMBR,c.PAPROJNUMBER,c.PAprojname ,SOURCDOC ,ORDOCNUM ,DEBITAMT,CRDTAMNT from GL20000
inner join (
select distinct PAIV_Document_No,PAPROJNUMBER from PA30901)b
on b.PAIV_Document_No=ORDOCNUM
inner join (select custnmbr,paprojname,paprojnumber from PA01201) c
on b.PAPROJNUMBER=c.PAPROJNUMBER
where SOURCDOC like 'PA%'
and ACTINDX='69'
and TRXDATE<='2017-06-30 00:00:00.000'

union
select JRNENTRY,TRXDATE ,c.CUSTNMBR,c.PAPROJNUMBER,c.PAprojname,SOURCDOC ,ORDOCNUM ,DEBITAMT,CRDTAMNT from GL20000
inner join (
select distinct PADocnumber20,PAPROJNUMBER from PA23200)b
on b.PADocnumber20=ORDOCNUM
inner join (select custnmbr,paprojname,paprojnumber from PA01201) c
on b.PAPROJNUMBER=c.PAPROJNUMBER
where SOURCDOC like 'PA%'
and ACTINDX='69'
and TRXDATE<='2017-06-30 00:00:00.000'

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans