Hi ,
I have created few Return Purchase Orders in Dynamics 365 Finance & Operations and i can see them when i click on 'All Purchase Orders' link in D365 F&O . But when i browse 'PurchaseOrderHeaders' Entity to see the orders data , the return orders are not getting displayed. I can only see Purchase Orders.
https://XXX-d365-XXXXXXX.cloud.retail.dynamics.com/data/PurchaseOrderHeaders
https://XXX-d365-XXXXXXX.cloud.retail.dynamics.com/data/PurchaseOrderHeaders?$filter=PurchaseOrderNumber%20eq%20%RETURNPO1%27
I can see Return Orders are inserted into PurchTable and Purchtable is part of PurchaseOrderHeaders entity. Not sure still why the return orders are not getting displayed.
Just wondering if there is any filter at code level to just only display Purchase Orders. if so, how to get return orders? I am trying to use Odata Service model in my project to perform some work.
Please let me know if any one has any idea on this.
thanks
Ramesh