Postman collection
Stock Read

pixiGetStockMovementOperations

Returns the stock movement operations defined for one application, with names translated into the requested language.

Reads the stock movement operations (table StockMovementOperations) that belong to the application given in Application. Typical use is filling a selection list of movement reasons in a client such as Picco.

  • Only operations whose stored Application value equals @Application exactly are returned. The filter uses the raw, untranslated value.
  • The application name and the operation name are translated through the Translation table, using the language from @LanguageID:
    • The application name uses the DBObjectName ApplicationNames.
    • The operation name uses StockMovementOperations, matched on SMOKey.
  • If no translation exists, the untranslated value from StockMovementOperations is returned.
  • App_SMOName combines both texts in the form Application - Name.
  • The original, untranslated operation name is always available in NameId.

The rows are sorted by application, then by the translated operation name.

Notes

  • The meaning of the language IDs (e.g. which language 2 stands for) is defined by the Pixi language master data, not by this procedure.
  • @Application must match the untranslated application key stored in StockMovementOperations, not a translated display name.
  • If no operation exists for the application, an empty result set is returned. No error is raised.
  • The data types of SMOKey, NameId, AskInGUI and Editable come from the table definition, which is not attached.

Tables used

StockMovementOperations · Read Translation · Read
SQL object:
dbo.pipiGetStockMovementOperations
Updated at 2026-10-30