BOMCalcWhereUsedList::newParameters Method [AX 2012]
Initializes an instance of the BOMCalcWhereUsedList class from the specified date, site, and list of pending prices from the specified costing version.
Syntax
client server public static BOMCalcWhereUsedList newParameters(
CostingVersionId _versionId,
TransDate _calcDate,
[InventSiteId _inventSiteId])
Run On
Called
Parameters
- _versionId
Type: CostingVersionId Extended Data Type
The ID of the costing version.
- _calcDate
Type: TransDate Extended Data Type
The BOM calculation date.
- _inventSiteId
Type: InventSiteId Extended Data Type
The site ID; optional.
Return Value
Type: BOMCalcWhereUsedList Class
An instance of the BOMCalcWhereUsedList class.
Exceptions
Exception | Condition |
---|---|
Error | The calculation date is not specified. |
Remarks
The site ID should be provided only if multisite is enabled.