Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

WIP Report for Project accounting

(0) ShareShare
ReportReport
Posted on by 827

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans