Postman collection
Suppliers Read

pixiGetSuppliers

Returns supplier master data including the main contact person, optionally limited to active suppliers or to one supplier number.

Reads the supplier master records from Suppliers. Each supplier is joined with its main contact in pixi.Contact via ContactId.

Filtering:

  • An empty SupplNr is treated like NULL.
  • If SupplNr is set, only the supplier with this number is returned. It is returned regardless of its active state, so OnlyActive has no effect in this case.
  • If SupplNr is not set and OnlyActive is 0, all suppliers are returned, including inactive ones.
  • If SupplNr is not set and OnlyActive has any other value (default 1), only suppliers with Disabled = 0 are returned.

The result is sorted by SupplName.

The main contact fields (MainContact_*) are returned as empty strings if the supplier has no contact or the contact field is empty. The column SupplierIsInactive contains the Disabled flag of the supplier.

Notes

  • Both tables are read with NOLOCK, so uncommitted changes may be visible.
  • Any non-zero value of OnlyActive acts like 1. With this filter, suppliers whose Disabled value is NULL are not returned.
  • Some columns are renamed compared to the table: SupplFaxNr → SupplFaxNR, CustNr → CustNR, MailBox → eMail, Disabled → SupplierIsInactive, SupplComment → SupplierComment.
  • The column types are not visible in the code; they are taken from the Suppliers and pixi.Contact tables.

Tables used

Suppliers · Read Contact · Read
SQL object:
dbo.pipiGetSuppliers
Updated at 2026-10-30