I want to deep insert Purchase Order with purchase Order lines using API. But always getting the error that Status must be equal to Released not Open/Draft/In Review. It deep inserted the new Purchase Order but not inserting the purchase order lines. Although, I have seen many deep insert operation with sales order and sales order line but not in purchase order and purchase order line. Kindly, tell me what to do. Do I have to create my own custom api page of purchase order and purchase order lines and customized it or I can use standard api pages.
Here are some screenshots for Reference:


Here are some screenshots for Reference:
Categories: