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)

Linking InventTransPosting to its posted value

(0) ShareShare
ReportReport
Posted on by

My team and I are currently running a bit of analytics for our company's finance team. They require us to ensure all the posting details related to vouchers are available on a page for their review.

My team and I initially sought to use the link between the GeneralJournalAccountEntry and GeneralJournalEntry (subledgervoucher) tables and link them back to the ProjTransPosting (PTP) table (voucher). Unfortunately this did not manage to bring in all the details available to the PTP table.

We then tried to make the PTP table the main source of information and joined it with the DimensionAttributeValueCombination table to bring in the Ledger Dimensions. The issue was there were transactional postings triggered through the Inventory module that was not captured in the PTP table.

Using the same logic from Para2, we then tried to bring in InventTransPosting table and combine it. However, we could not determine how to get the amounts/ values related to the posting. 

Any advice/ help/ suggestions would be of great assistance. Thank you all in advance.

*This post is locked for comments

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Kumaran S,

    This requirement sounds interesting and seems to be related to reconciliation tasks.

    Have you tried using the standard reconciliation reports and inquiries to see whether your GL vouchers and project transactions match?

    Do you make use of a financial 'project' dimension?

    Best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    Hi Dr. Ludwig,

    Thanks for your quick response and we appreciate your feedback.

    We have tried to use the reconciliation reports but it requires more details thendisplayed. The task asked of our team is to generate all the details at a go (more than 4 million line items of records), hence not allowing.

    We've tried to use the financial ''project' dimensions initially, but not all posting in GJE/GJAE have the project details. Hence this was not useful.

    Since the PTP with ledger dimensions logic worked, we were trying to emulate that for InventTransPosting as we noted vouchers related to inventory modules were not captured in the join with PTP.

    Hope this clarifies the query. Thanks once again.

  • Verified answer
    Brandon Wiese Profile Picture
    17,790 on at

    If I understand what you're trying to accomplish, you can probably get InventTransPosting to work for you.

    The key to InventTransPosting is to properly associate a given InventTrans record (or combination of them) to the proper InventTransPosting record.

    InventTransPosting records come in 5 varieties, but the two of core interest are probably just the Physical and Financial, which correspond to the physical and financial updates that can occur to an InventTrans record.  If you're doing physical revenue, or have physical or financial charges, those will generate their own InventTransPosting records.  The InventTransPostingType indicates each variety.

    The primary relationship between InventTransPosting and an InventTrans record is InventTransOrigin.  But, since you can have many InventTrans records for a given InventTransId/InventTransOrigin, the relationship must also consider TransDate and Voucher.

    The InventTransPosting record for an InventTrans record that is physical updated will join InventTransOrigin == InventTransOrigin, TransDate == DatePhysical, and Voucher == VoucherPhysical.  Likewise, for an InventTrans record that is financially updated, InventTransOrigin == InventTransOrigin, TransDate == DateFinancial, and Voucher == Voucher.

    Note that due to how InventTrans records can and are often split, two InventTrans records can have the same DatePhysical and VoucherPhysical but with a different DateFinancial and Voucher.  That's just how it works, and you have to consider this carefully.

    Once you have the InventTransPosting record, the PostingType and LedgerDimension, and OffsetPostingType and OffsetLedgerDimension are primarily what is useful.  For example, for an InventTrans record from a sales order that has been invoiced (financial updated), the PostingType will generally be LedgerPostingType::SalesIssue, while the OffsetPostingType will generally be LedgerPostingType::SalesConsump, for the InventTransPosting record of type InventTransPostingType::Financial.

    And, of course, LedgerDimension and OffsetLedgerDimension refer to DimensionAttributeValueCombination records.

    Hope this helps.

  • Community Member Profile Picture
    on at

    Hi Brandon,

    Thanks for the information. We've tried it and the following relations work:

    InventTransPosting.InventTransOrigin ==InventTrans.InventTransOrigin

    InventTransPosting.TransDate ==InventTrans.DateFinancial

    InventTransPosting.Voucher ==InventTrans.Voucher

    I then used the values in the CostAmountPhysical as it tied up with the posting value in GJAE. This allowed us to get the posted value from InventTransPosting.

    Great help, thank you very much.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans