PDSBalanceIngredient.getIngredientList Method [AX 2012]

Gets a map that holds ingredient item and quantity data for a production order of the appropriate ingredient type.

public Map getIngredientList(ProdId _prodId)

Run On

Server

Parameters

_prodId
Type: ProdId Extended Data Type
The ProdId value for the production order

Return Value

Type: Map Class
A map that holds the ingredient item and quantity data. The key is the record ID of the record of the ProdBOM table, and the value is a container that holds the following information:
  • The item ID

  • The inventory batch ID, which can be blank if there is no batch ID for the item

  • The inventory quantity

  • The inventory transaction ID (InventTransId value)

  • The balanced quantity, based on the potency

ExceptionCondition
Error

The method is not overridden by a subclass.

Community Additions

ADD
Show: