Skip to main content

Notifications

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.  

  • Martin Dráb Profile Picture
    232,978 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.

  • CapsLock Profile Picture
    1,375 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!

  • 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!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans