Load LPN

URL: "xxx.wms.ocs.oraclecloud.com/env_name/wms/api/assign_and_load_oblpn/"

Initial WMS Version: 8.0.2

Method: POST

Overview

API to perform loading of outbound LPNs or Pallet

API can also be used to assign LPN's to load and also perform loading

Assumptions
  1. If OBLPN is not assigned to a load then it must be assigned to a load before loading
  2. If OBLPN is already assigned to a load and load Nbr passed is different from the already assigned load then system will assign it to a different load and perform loading.
  3. OBLPN being loaded must belong to an eligible facility and company for the WMS user who is invoking the API
  4. OBLPN Weight cannot be negative.
  5. API will not support Load by Order Flow.
  6. If LPN is associated with a Pallet and API is invoked for the LPN, we do not auto load all the other LPN's on the pallet.
  7. If Weight is passed when a Pallet number is passed then weight is ignored.

Request Arguments

Parameter Description Initial Supported Version Required Data Type Default
oblpn_nbr Required if pallet number is not provided. - C string
pallet_nbr Required if outbound LPN number is not provided. - C string
company_code WMS facility code - X string If facility code is not provided then users default facility will be considered
company_code WMS company code - X string If company code is not provided then users default facility will be considered
load_nbr outbound load number against which the lpn or pallet needs to be assigned and loaded. - X string
trailer_nbr Used to search load number for assignment based on trailer number passed. - X string
dock_door_nbr

Used to search load number for assignment based on trailer number passed.

- X string
oblpn_weight Using the API outbound LPN's weight can also be updated - X decimal

Important Validations:

  • Outbound LPN passed should not be less than Packed status.
  • If OBLPN is in loaded or Shipped or delivered status then API responds with an error message.
  • If neither Load Nbr, Dock or Trailer Nbr are passed and appropriate load number to assign is not found API responds with error.
  • If OBLPN number passed is in Packed Status and is also marked for Audit company parameter, "ALLOW_LOAD_SHIP_WITH_AUDIT_PENDING" if set to “No" then API responds with appropriate error.
  • While performing Loading of Pallet, if some of the LPN's are not eligible for loading, then loading of pallet fails, Error response will be for the first LPN which encountered error.
  • Checks based on lock code assigned to outbound LPN and also stop ship flag on the order will be considered before performing loading.
  • If the OB LPN is associated with Order whose stop ship flag is set to true, API responds with appropriate error.
  • If instead of OBLPN Nbr, Pallet Nbr is passed as input pallet number passed should be valid for user’s eligible facility and company.
  • Outbound LPN's associated with the pallet should be in packed status. If any of the outbound LPN's fails validations, API responds with appropriate error.
  • If neither Load Nbr, Dock and Trailer number is not provided, and oblpn_number or pallet_number is not already assigned to a load, respond with error.

Additional Pointers:

  • If outbound LPN is not assigned to the load, API also assigns appropriate load based on the load number passed or load number determined from the trailer passed or load determined from the dock door.
  • If outbound LPN is already assigned to a load, it’s not mandatory to send load_number or trailer number or dock door number exclusively, LPN will be loaded against the already assigned load.
  • Load number provided in the API will be used to assign and load the LPN/pallet, even if the LPN/Pallet is assigned to a different load.
  • Load number determined from the trailer number or dock door is used to assign and load the LPN/pallet, even if the LPN/Pallet is assigned to a different load.
  • If Pallet or OBLPN is successfully loaded then return a success message "Pallet/OBLPN <Pallet/OBLPN Nbr> successfully loaded".
  • If Pallet or OBLPN is successfully loaded then all the OBLPN's must be set to loaded status
  • If all OBLPNs for an order are loaded then order is also updated to loaded status.
  • If the OBLPN Weight is sent (i.e non blank) then the weight of the OBLPN must be updated.
  • If Load Nbr, Dock and Trailer all three are passed then Load Nbr provided in the API takes the precedence for assigning the oblpn/pallet to the load and perform loading.
  • If trailer and dock door number is provided, precedence will be given to the load associated to the trailer for assigning the oblpn/pallet to the load and perform loading.
  • If trailer number is only provided, WMS will search for an open load for the trailer number for assigning and loading the outbound LPN's or pallet.
  • If dock door is only provided, WMS will search for open load for the dock door for assigning and loading the outbound LPN's or pallet.