Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Answered

CustInvoiceTrans to InventTrans

(0) ShareShare
ReportReport
Posted on by 6,603

Hello:

I'm trying to find the relationship between CustInvoiceJour and finding the unique InventTrans row. I'm currently going through InventTransOriginSalesLine from CustInvoiceJour, then using InventTransOriginSalesLine.InventTransOrigin to link to InventTrans.InventTransOrigin. For some Sales order it works but in some instances I'm getting multiple rows back. What am I missing here?

Thank you.

*This post is locked for comments

  • bankk Profile Picture
    bankk 6,603 on at
    RE: CustInvoiceTrans to InventTrans

    Hi Mariano,

    So far just using InventTransId seems to be bringing back the correct results but I need to further review my results.

  • RE: CustInvoiceTrans to InventTrans

    It is not enought looking for InventTransId because a single line can be in many invoices, filter InventTransTable by InventTransId, InvoiceId and voucher

  • Verified answer
    syed baber Profile Picture
    syed baber 11,627 on at
    RE: CustInvoiceTrans to InventTrans

    Hi KBanh,

    Add the following join as well:

    InventTransOriginSalesLine.SalesLineInventTransId= InventTransOrigin.InventTransId.

    The field InventTransId is unique for each sales order line.

    Please verify and let me know if you have further queries.

    Thanks,

    Baber.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans