PmfTCACostPriceValidation::runProdCoBy Method [AX 2012]

Validates that a co-product item for a Total Cost Allocation batch order has a price attached.

client server public static boolean runProdCoBy(
    ProdTable _prodTable, 
    ItemId _coByItemId, 
    InventDimId _inventDimId)

Run On

Called

Parameters

_prodTable
Type: ProdTable Table
A batch order to which the product should belong.
_coByItemId
Type: ItemId Extended Data Type
The product to validate.
_inventDimId
Type: InventDimId Extended Data Type
The inventory dimension of the specific product.

Return Value

Type: boolean
true if the co-product for a batch order is valid; otherwise, false.
Show: