API: OE with Ship all and Post Invoice

SUGGESTED

Hi all,

I try to add new Order Entry with ship all & auto create invoice using API with the following json

{"CustomerNumber":"2347", "OrderDetails":[{"LineNumber":0, "Item":"A11030", "QuantityOrdered":10 ,
"PriceList":"WHS"}],
"ShipmentNumber": "CASH0003",
"PerformShipAll": true,
"InvoiceNumber": "CASH0003",
"PostInvoice": true}

Order is created but no shipment & invoice created. is there any other data to be included in json?

Thank you

Parents Reply
  • 0 in reply to Pauli

    Hi, tried the above solution but for me shipment is generating with order. I need shipment without order. Below is the Json

    {"CustomerNumber":"1105","ShipmentNumber":"SHPT126","SHIDATE":"2021-02-06T11:10:32.249Z","OrderDetails":[{"Item":"A1-310/0","Location":"1","QuantityOrdered":2,"QuantityShipped":2,"PricingUnitPrice":5.0}]}

    Kindly help me

Children