shipmentTransactionRequests REST API : WSH_PST_LN_SUBINV_NA error
Content
Hello,
I use "shipmentTransactionRequests" REST API to perform a shipping confirmation transaction.
Shipment is done without packing, and record inserted in interface table is rejected with "WSH_PST_LN_SUBINV_NA" error code, meaning "Subinventory and locator informations can't be included at shipment line level"..
In oracle documentation, Subinventory is at this level.. So, why this error is raised ?
Below is the payload posted:
{ "ActionCode": "CreateAndConfirmShipment", "shipments": [ { "Shipment": "202012111103", "ShipFromOrganizationCode": "OCE_AIX", "unpackedLines": [ { "ShipmentLine": 2340004, "Item": "OCEE/FMA120", "Subinventory": "A/MATNEUF", "ShippedQuantity": 1, "ShippedQuantityUOM": "Each", "serials": [ { "FromSerialNumber": "TELT260862", "ToSerialNumber": "TELT260862" } ] } ] } ] }
Thanks
Samuel
Version
20D0