Postman collection
Shipping Read

pixiCheckPickListNr

Checks whether a pick list number exists and has not expired, and returns its box range, 1SS flag, scan state and number of open orders.

Validates a pick list (PLHeader) by its key PickListNr. The call delegates all work to the internal procedure Pixi_CheckPickListNr and always returns exactly one row.

Steps:

  1. Scan state: It checks whether at least one item of the pick list (PLitem) refers to an order line with status EIN. If so, PicklistNotScannedYet is 0. If there is no such line, it is 1.
  2. Number of orders: It counts the distinct order numbers of the pick list whose order lines are not expired (Expired = 0). Orders that already have a box in boxes with WaitForSend = 'N' are left out.
  3. Validity: A pick list is valid if a PLHeader row with PLHkey = PickListNr exists and its PLHexpiryDate is later than the current server time.
    • Invalid or expired pick list: the row contains ReturnValue = 0 and all other columns are 0.
    • Valid pick list: the row contains ReturnValue = 1, the box range PLHfromBox/PLHtoBox, the 1SS flag (NULL becomes 0), and the values from steps 1 and 2.

Notes

  • All reads use NOLOCK. Values may reflect uncommitted changes made at the same time.
  • In the invalid branch the box columns are named PLHFromBox/PLHToBox. In the valid branch they are named PLHfromBox/PLHtoBox. XML element names are case-sensitive, so clients should read them case-insensitively.
  • The column name 1SS starts with a digit. In the SOAP/DataSet XML it is typically encoded as _x0031_SS.
  • A non-existing pick list cannot be told apart from an expired one; both return ReturnValue = 0.
  • Expiry is compared with the database server time (GETDATE()).

Tables used

PLitem · Read Orderlines · Read boxes · Read PLHeader · Read
SQL object:
dbo.pipiCheckPickListNr
Updated at 2026-10-30