Postman collection
Orders Read

pixiEmillGetOrderStates

Returns the list of all order states with their ID and description, sorted by description.

Returns all entries of the order state table OrderStates.

  • No parameters, no filters: every defined order state is returned.
  • Each row contains the state code (orderStatus) and its text (StateDesc).
  • Rows are sorted alphabetically by the state text.

Use the result to translate the status codes returned by other order calls into readable descriptions, or to fill selection lists.

Notes

  • The table is read with NOLOCK, so uncommitted changes may be visible.
  • The procedure was originally written for the eMill integration (tags Tech_eMill), but it is a generic lookup.
  • The language of StateDesc depends on the content of OrderStates; the code does not translate it.

Tables used

OrderStates · Read
SQL object:
dbo.pipiEmillGetOrderStates
Updated at 2026-10-30