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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Relation between VendInvoiceInfoTable and VendInvoiceJour

(0) ShareShare
ReportReport
Posted on by

Hi All,

May I know how to link between VendInvoiceInfoTable and VendInvoiceJour? If I have VendInvoiceInfoTable record, how can I get the VendInvoiceJour record?

Thank you.

*This post is locked for comments

I have the same question (0)
  • UmesH@ Profile Picture
    810 on at

    May be you can Check by PostingProfile

    VENDINVOICEJOUR.POSTINGPROFILE = VENDINVOICEINFOTABLE.POSTINGPROFILE

    Thanks,

  • Community Member Profile Picture
    on at

    Hi Jignesh,

    I unable to link to VendInvoiceJour using PostingProfile. It is quite general, I need unique link. Anyway, thank you.

    Anyone can help?

    Thank you.

  • Suggested answer
    UmesH@ Profile Picture
    810 on at

    Hi sanme,

    if you want Create unique link between those two table then you can create your Own Column and linked it.

    you want to add Field in That 2 tables.

    Thanks.

  • Community Member Profile Picture
    on at

    What about this relation ?

    SELECT *

    FROM VENDINVOICEJOUR AS vij

    JOIN PURCHTABLE AS pt

    ON vij.PURCHID = pt.PURCHID

    JOIN VENDINVOICEINFOSUBTABLE AS viist

    ON viist.ORIGPURCHID = pt.PURCHID

    JOIN VENDINVOICEINFOTABLE AS viit

    ON viit.PARMID = viist.PARMID and viit.TABLEREFID = viist.TABLEREFID

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Check these two methods:

    \Data Dictionary\Tables\VendInvoiceInfoTable\Methods\ledgerVoucher (via source document header)

    \Data Dictionary\Tables\VendInvoiceInfoTable\Methods\findFromVendInvoiceJour (via num, purchid and parmid if it came from a posting)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans