PDSBalanceIngredient::process Method [AX 2012]

Performs ingredient balancing for the specified production order.

server public static Set process(PDSTmpBatchSelection _active, ProdId _prodId)

Run On

Server

Parameters

_active
Type: PDSTmpBatchSelection Table
The buffer for the PDSTmpBatchSelection table that contains the selected active ingredients.
_prodId
Type: ProdId Extended Data Type
The production order ID.

Return Value

Type: Set Class
A set of containers that holds the following information:
  • The inventory transaction ID (InventTransId value)

  • The item ID

  • The inventory quantity

  • The inventory batch ID

  • The balanced quantity, based either on the potency or on the original quantity if potency does not apply

Show: