web
You’re offline. This is a read only version of the page.
close
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 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

I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans