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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Is there a direct relation between PurchLine to VendInvoiceTrans?

(0) ShareShare
ReportReport
Posted on by 122

Hello everyone,

Is there a way to connect each PurchLine to VendInvoiceTrans individually? Checking it in the backend relation shows that it does not have any relation. The only available field in VendInvoiceTrans is the Purchase ID which you can use to refer to the Purchase Order Header itself. VendInvoiceJour is also another table that could be a possible relation between each line but that table only has a connection on PurchTable.

Please suggest if there are workaround for this table relation.

Thank you

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    There is no direct relation defined. But you can try using InventTransId to link both the tables. InventTransId is a unique key in PurchLine and it gets set in VendInvoiceTrans table in initFromPurchLine method.

    pastedimage1645263189467v1.png

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,679 Super User 2025 Season 2 on at

    Hi xppdev,

    What is your business case?

    Like it is mentioned you can use InventTransId and OrigPurchId from VendInvoiceTrans as relation to PurchLine table.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans