Postman collection
Items Read

pixiGetItemStatus

Returns the active/inactive status (`Enabled`) of one item, identified by item key or internal item number.

Looks up a single item and returns its enabled status.

  1. The item is resolved from table Items. A row matches if its ItemKey equals ItemKey (only when ItemKey is passed) or its ItemNrInt equals ItemNrInt. The first matching row (TOP 1, no sort order) provides the item key.
  2. The procedure then returns ItemKey, ItemNrInt and Enabled of that item.

If neither parameter matches an item, or both parameters are left out, the result set is empty.

Notes

  • Both parameters are combined with OR. If both are passed and refer to different items, it is not defined which item is returned (TOP 1 without ORDER BY). Pass only one of them.
  • If ItemKey is passed but does not exist and ItemNrInt does not match either, the result set is simply empty; no error is returned.
  • If ItemKey does not exist but ItemNrInt matches, the item found by ItemNrInt is returned.
  • Reads with NOLOCK, so uncommitted changes may be visible.
  • The data type and meaning of the values of Enabled are not visible in the code.

Tables used

Items · Read
SQL object:
dbo.pipiGetItemStatus
Updated at 2026-10-30