Postman collection
Items Read

pixiGetEanByItemNr

Returns the EAN/UPC code of an item identified by its internal item number.

Scalar function that looks up the item in Items whose ItemNrInt equals ItemNrInt and returns its EANUPC value.

  • If no item matches, the result is NULL.
  • If EANUPC is empty or NULL for the item, that value is returned as is.

Notes

  • The table is read with NOLOCK, so uncommitted changes may be returned.
  • The return type is varchar(13); longer values in EANUPC would be truncated to 13 characters.
  • If several rows had the same ItemNrInt, the value of one of them would be returned without defined order.

Tables used

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