Hello, i have a script to create purchase order inside acumatica the data i’m using to create purchase orders are from create purchase order but the issue is PurchaseOrderDetail tab is empty, nothing will be added to that tab
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/24525bfb-dd27-44ba-a5e0-425916ca40ff.png)
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/1d25e543-71ae-440f-93c6-967b4db94b09.png)
i’m using this url: https://mytenant.acumatica.com/entity/myEndPoint/23.200.001/PurchaseOrder/Approve/
and this the json code:
{"entity": {
"VendorID": {
"value": "V11110"
},
"Location": {
"value": "04"
},
"Type": {
"value": "Normal"
},
"OrderNbr": {
"value": "<NEW>"
},
"VendorRef": {
"value": "PO0000012"
},
"Description": {
"value": "Test"
},
"Owner": {
"value": "ART"
},
"Details": ,
"InventoryID": {"value":"SD43RXWEPS-XL"},
"OrderQty": {"value": 2},
"UnitCost": {"value": "20" },
"POLineNbr": {"value": 1},
"POOrderNbr": {"value": "OrderNbr-000001"},
"ReceiptQty": {"value": 2},
},
{
"InventoryID": {"value":"SD43RWWEQS-2XL"},
"OrderQty": {"value": 3},
"UnitCost": {"value": "20" },
"POLineNbr": {"value": 2},
"POOrderNbr": {"value": "OrderNbr-000001"},
"ReceiptQty": {"value": 2},
},
]
},
}