Question

PurchaseOrderDetail is empty in purchase order


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

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},

       

    },

 

    ]        

 

    },

}


0 replies

Be the first to reply!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved