You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

shipmentTransactionRequests REST API : WSH_PST_LN_SUBINV_NA error

edited Dec 11, 2020 11:25AM in Inventory Management 1 comment

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

20D

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!