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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Purchase order line entity with reference to PO header

(0) ShareShare
ReportReport
Posted on by 6,603

Hello:

I'm looking to create a custom data entity simply to purchase order lines which I would ultimately use in a document template. The problem I'm facing is I'd like to reference the purchase order (header) on document status to filter the lines returned. I'm able to create the data source and relations in the entity, and testing export as a DM job works. However, when I attempt to import the changes as a DM import, I get the error indicating I have duplicate record data which I assume is referencing the purchase order table purchId. Hoping for some input. Thank you.  

I have the same question (0)
  • bankk Profile Picture
    6,603 on at
    RE: Purchase order line entity with reference to PO header

    Any help would be appreciated. Is what I'm asking even possible? In short, I'd like to be able to reference a field on the purchase order table but not have the entity try to update the purchase table when writing back. Thanks!

  • CapsLock Profile Picture
    1,419 on at
    RE: Purchase order line entity with reference to PO header

    Hi ichiban, did you find a solution to your problem? I face a similar issue. I need to reference invoice attachments to to POs and I see in the data entity for "Vendor invoice document attachment" there is a field called header reference that I can't find on the header.

    1184.pastedimage1677013475487v1.png

    [quote user="ichiban"]

    Any help would be appreciated. Is what I'm asking even possible? In short, I'd like to be able to reference a field on the purchase order table but not have the entity try to update the purchase table when writing back. Thanks!

    [/quote]

    Do you know by any chance where is that field? Thanks!

  • Martin Dráb Profile Picture
    236,477 Most Valuable Professional on at
    RE: Purchase order line entity with reference to PO header

    CapsLock, your problem sounds completely different, therefore trying to hijack this thread isn't a good idea. Please create a new thread instead.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,964

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 564 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans