Postman collection
Reports Read

pixiReportOrdersOnPicklist

Returns the number of distinct orders that currently have order lines on an active (non-expired) picklist, optionally filtered by shop.

Counts how many orders are currently on a picklist.

  • An order line counts if its orderLineKey is referenced by a picklist item (PLItem.PLIorderlineRef) with Expired = 0.
  • The result is the number of distinct order numbers (ordernr) among these order lines, so an order with several lines on picklists counts once.
  • If ShopID is empty or NULL, all shops are included. Otherwise only order lines whose OrdShopId equals ShopID are counted.

The call returns one row with the single column NrOfOrders.

Notes

  • Both tables are read WITH (NOLOCK); the count may include uncommitted changes and is meant as a dashboard figure.
  • The header comment mentions output parameters, but the procedure declares none; the value is only returned as a result set.
  • The shop filter is applied to the order line's OrdShopId.

Tables used

Orderlines · Read PLItem · Read
SQL object:
dbo.pipiReportOrdersOnPicklist
Updated at 2026-10-30