Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Why is PM30200 DOCDATE not showing?

Posted on by Microsoft Employee

Hello:

Per my query below, I have tried getting the PM30200.OCDATE to appear.  But, it is shoing NULLs.

I have tried a million ways to Sunday to get the DOCDATE to show.  But, this has beaten me.

Please help me fix this!

Thanks!  Much appreciated!  Sorry about the crudity of the copy and paste.  All I know is that I have a deadline to turn this around and this turned out to be harder than I thought.

John

Select distinct ACTNUMST, ACTDESCR, DEBITAMT, b.DOCDATE
 from GL20000 a
left outer join PM30200 b on a.TRXDATE = b.PSTGDATE and a.ORMSTRID = b.VENDORID and a.ORCTRNUM = b.VCHRNMBR and a.ORGNTSRC = b.TRXSORCE and a.ORDOCNUM = b.DOCNUMBR and a.ORTRXTYP = b.DOCTYPE
join GL00105 c on a.ACTINDX = c.ACTINDX
join GL00100 d on a.ACTINDX = d.ACTINDX
--join PM30300 e on e.VCHRNMBR = b.VCHRNMBR
--join POP30300 f on VNDDOCNM = e.APTODCNM
--join POP10500 g on g.POPRCTNM = f.POPRCTNM
--join POP10100 h on g.PONUMBER = h.PONUMBER
--join POP10110 i on i.PONUMBER = h.PONUMBER
Where d.ACTNUMBR_4 in ('604', '605')
and a.TRXDATE between '1/1/2018' and '04/04/2018'

John

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Why is PM30200 DOCDATE not showing?

    The bottom line is that I cannot get the GL20000 and PM30200 tables to successfully link.  Please help.

    Thank you!

    John

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Why is PM30200 DOCDATE not showing?

    Thank you!

    I wish you the best of luck in your endeavors, as well!

    John

  • Jim Lines Profile Picture
    Jim Lines 2 on at
    RE: Why is PM30200 DOCDATE not showing?

    OK. That's what I found when I recreated it on my end.  Drilled back to the transaction and all were voided documents.  Hope you figure it out.

    Jim

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Why is PM30200 DOCDATE not showing?

    No, there are too many NULLs for all of them to be voids.  There's no true pattern, in any sense of the word.

    Thanks, for your input, however.

    John Ellis, MCP

  • Suggested answer
    Jim Lines Profile Picture
    Jim Lines 2 on at
    RE: Why is PM30200 DOCDATE not showing?

    John,

    These may be voided documents.  I'd suggest drilling back to see if there is a pattern.  Good luck!

    Also, you may want to add your a.TRXDATE field into your select so you can pinpoint the time frame it occurred. 

    Jim

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans