BOMCalcProvider::newFromParameters Method [AX 2012]
Creates an instance of the BOMCalcProvider class.
Syntax
server public static BOMCalcProvider newFromParameters(
PriceCalcId _priceCalcId,
BOMCalcDetail _bomCalcDetail,
UserConnection _userConnection)
Run On
Server
Parameters
- _priceCalcId
Type: PriceCalcId Extended Data Type
The PriceCalcId identifying a BOM calculation.
- _bomCalcDetail
Type: BOMCalcDetail Extended Data Type
A boolean value that indicates whether to include calculation detail from consumed products.
- _userConnection
Type: UserConnection Class
The user connection used when building the BOM calculation detail.
Return Value
Type: BOMCalcProvider Class
An instance of the BOMCalcProvider class.