Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

PO confirmation - latest confirmation

Posted on by 186

Hi,

Can I use PurchTableVersion table- versioningDateTime field to find the latest PO confirmation journal through code.

(versioningDateTime desc)

VendPurchOrderJour does not have createdDateTime field.

Kindly suggest.

Thanks.

*This post is locked for comments

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: PO confirmation - latest confirmation

    Hi Divya R,

    In addition:

    There is some functionality which will get the latest purchase order confirmation. If you select a purchase order, then on the menu go to 'General > Related information > Postings. This will give you an overview of the last postings per purchase order. You can then trace back how this is done technically.

    PS. Do you need the latest overall confirmation or per purchase order? The answers from Satish and me are based on the latest per PO.

  • Satish Panwar Profile Picture
    Satish Panwar 14,645 on at
    RE: PO confirmation - latest confirmation

    Hi RDivya,

    Suggest that to get the latest version, you use data from VendPurchOrderJour based on PurchOrderDocNum and RecId field. Get the top 1 from this table where purchid = 'ABC' order by PurchOrderDocNum desc, RecId desc

    Results may be achieved just by using recid, but just incase same version is there twice. During my analysis, found that for a given purchTableVersion, i had two records in VendPurchOrderJour.

    pastedimage1565558861489v1.png

    Thanks,
    Satish Panwar
    Please take time to click 'Yes' against the answers that help you guide in right direction to help other community members.

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans