PCXmlSessionWriterModel.writeModel Method [AX 2012]
Gets an XML representation of the specified product model that is compatible with the product configuration.
Note |
|---|
|
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using. |
Microsoft Dynamics AX 2012 R3
public str writeModel(
PCProductConfigurationModel _model,
[PCProductConfiguration _configuration,
PCPriceMethod _priceMethod,
PCRuntimePriceModelInstance _runtimePriceModelInstance])
Microsoft Dynamics AX 2012 R2 (SYS)
public str writeModel(PCProductConfigurationModel _model, [PCProductConfiguration _configuration])
Run On
ServerParameters
- _model
- Type: PCProductConfigurationModel Table
The product model from which to extract the generated XML.
- _configuration
- Type: PCProductConfiguration Table
The instance of the configuration that will be loaded with the current configuration; optional.
- _priceMethod
- Type: PCPriceMethod Enumeration
- _runtimePriceModelInstance
- Type: PCRuntimePriceModelInstance Class
Return Value
Type: strA string that contains the generated XML representation of the specified product model.
Community Additions
ADD
Show:
Note