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, ...
Answered

Get related purchase order number from a sales order via Odata

(0) ShareShare
ReportReport
Posted on by 52

Hi, 

I know I can create a related purchase order from a sales order  

Create a purchase order from a sales order : https://docs.microsoft.com/en-us/dynamics365/supply-chain/sales-marketing/tasks/create-purchase-order-sales-order

W
hat I am not able to is see related purchase order number in sales order  using Odata or visa versa. 

My Question is there is a way to view it using Odata ? I am able to see it inside Dynamics 365 but I am not sure if I can see it using Odata 

Thanks in advance 

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

    Hi Ali,

    I don't see any data entities available out of the box which would help you query this information. You will need to create a new data entity for getting this done.

  • Verified answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    Hi Ali ,

    You can add InventRefID field in the SalesOrderLineV2Entity  using extensions and then you can use it using ODATA. When you create direct delivery sales order this field hold the reference of PO.

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 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans