Postman collection
Suppliers Read

pixiSupplierOrderLineLocQtyGet

Returns location quantity data for one or more supplier orders, supplier order lines or supplier order line location quantity records.

Wrapper around the internal procedure pixi.SupplierOrderLineLocQtyGet. It returns location quantity data (quantities per location) for supplier order lines.

Steps:

  1. Opens its own transaction, or sets a savepoint if the caller already has an open transaction.
  2. Calls pixi.SupplierOrderLineLocQtyGet, passing the parameters this way:
    • SupplierOrderIds → @SoIds
    • SupplierOrderLinesIds → @SolIds
    • SupplierOrderLinesLocQtyIds → @SolLocQtyIds
  3. Returns the result sets of that procedure unchanged to the caller, then commits its own transaction.

If an error occurs, the transaction or savepoint is rolled back and a single row with ReturnCode = ERROR and the SQL error text in ErrorMessage is returned.

AppName is required but is not used by the code.

Notes

  • The definition of pixi.SupplierOrderLineLocQtyGet is not available. The following points therefore cannot be derived from the code:
    • the format of the ID lists (probably comma-separated keys, not confirmed);
    • how the three filters are combined;
    • what happens when all filters are empty;
    • the columns, sort order and number of result sets returned.
  • The call runs inside a transaction (or savepoint) although it is a read call; the actual reads happen in the inner procedure.
  • If the inner procedure fails after it has already returned rows, the caller may receive those rows followed by the error row.
SQL object:
dbo.pipiSupplierOrderLineLocQtyGet
Updated at 2026-10-30