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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Generating Invent Trans Record

(0) ShareShare
ReportReport
Posted on by 1,264

Hello Community, 

Would it be possible to tell me when records are inserted into InventTrans Table during Confirmation and posting Of a purchase order?

and which classes, tables are involved during this process?

Thanks a lot for your help

Kind regards

Jihane

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    on at

    Set a breakpoint in the insert() method of the table and execute the logic (confirmation, posting). You can then see the classes involved in the debugger. It's a really vague question though. There are tons of classes involved in posting the main one probably being PurchFormLetter (and it's derived classes).

    You might want to read up on the parmTable framework.

  • Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 2 on at

    InventJournalTrans is created only once at time of PO creation.

    in later stages (confirmation, receiving, invoicing) only status of InventTrans is changed. It is not recreated again.

    what you want to do actually?

  • Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 2 on at

    apologies, let me correct my wording.

    InventTrans is created, only once for each PO Line

    there is also an index on PO Lines Table for it

  • Verified answer
    Guy Terry Profile Picture
    29,024 Moderator on at

    Hi jihane,

    Records are inserted into InventTrans when a PO Line is created. I cannot think of a reason that would cause PO Confirmation to create records in InventTrans, since PO Confirmation does not affect inventory.

    Posting subsequent statuses of a PO could cause extra records to be created in InventTrans if, for example, the quantity being posted was not for the full quantity on the PO Line. For example, if you've a PO Line for a quantity of 3, posting the Product receipt for a quantity of 2 would result in one record in InventTrans with the receipt status Received, and another with a quantity of 1 with a different status.

    Sorry, I do not know which classes are responsible for the creation of records in InventTrans.

  • jihane Profile Picture
    1,264 on at

    thank you all for your answers, i will take these answers as a first step to achieve the requirement

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans