Skip to main content

Notifications

Business Central forum
Suggested answer

purchaseOrdersv2.0 API Data Source returns unknown Purchase Orders

Posted on by 2
In the sample data for Cronus W1, when purchaseOrderLines (v2.0) API is executed, it returns Purchase Order no (104001, with status Draft). that cannot be found any where in the system. I tried searching for this Purchase Order Nos. in the Purchase Header table, and in all Posted Purchase Header tables but I cannot find it anywhere.
 
There are of course some PO nos. that I can find in the company. But it just bugs me that this API returns some unknown POs.
  • gdrenteria Profile Picture
    gdrenteria 10,415 Most Valuable Professional on at
    purchaseOrdersv2.0 API Data Source returns unknown Purchase Orders
    Hi
    Additionally, I'll give you some links. I hope it helps you
    Best Regards
    Gerardo
  • Suggested answer
    Judy Profile Picture
    Judy Microsoft Employee on at
    purchaseOrdersv2.0 API Data Source returns unknown Purchase Orders
    Hi,
     
    If the API returns some unknown POs, it means that the API response includes purchase orders (POs) that are not displayed in the UI. 
    The status field specifies whether the record is open, released, pending approval or pending prepayment, you can refer to the below screenshot. It does not include the status of "Draft".
    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Best Regards,
    Judy

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

News and Announcements

Give Back to the Community this Month

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,133 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans