PCRuntimePriceModelInstanceFactory.create Method [AX 2012]
Creates an instance of PCRuntimePriceModelInstance class.
public PCRuntimePriceModelInstance create(
CurrencyCode _currencyCode,
RefRecId _priceModel,
Common _sourceDocumentLine,
PCProductConfigurationModel _productConfigurationModel,
PCRuntimeMode _runtimeMode,
[boolean _isRunningMultiCompany])
Run On
CalledParameters
- _currencyCode
- Type: CurrencyCode Extended Data Type
A currency code from source order line.
- _priceModel
- Type: RefRecId Extended Data Type
A reference to price model.
- _sourceDocumentLine
- Type: Common Table
A buffer of source order line.
- _productConfigurationModel
- Type: PCProductConfigurationModel Table
An instance of PCproductConfigurationModel table bufffer.
- _runtimeMode
- Type: PCRuntimeMode Enumeration
A PCRuntimeMode value.
- _isRunningMultiCompany
- Type: boolean
Specifies, that the price model is required for intercompany configuration scenario.
Return Value
Type: PCRuntimePriceModelInstance ClassAn instance of PCRuntimePriceModelInstance class.
Community Additions
ADD
Show: