PCXmlSessionWriterModel.write Method [AX 2012]
Generates the XML representation of this record 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 void write(
PCProductConfigurationModel _productConfigurationModel,
PCProductConfiguration _configuration,
XmlWriter _xmlWriter,
[PCPriceMethod _priceMethod,
PCRuntimePriceModelInstance _runtimePriceModelInstance])
Microsoft Dynamics AX 2012 R2 (SYS)
public void write(
PCProductConfigurationModel _productConfigurationModel,
PCProductConfiguration _configuration,
XmlWriter _xmlWriter)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void write(
PCProductConfigurationModel _productConfigurationModel,
PCProductConfiguration _configuration,
XmlWriter _xmlWriter)
Microsoft Dynamics AX 2012 (FPK)
public void write(
PCProductConfigurationModel _productConfigurationModel,
PCProductConfiguration _configuration,
XmlWriter _xmlWriter)
Microsoft Dynamics AX 2012 (SYS)
public void write(
PCProductConfigurationModel _productConfigurationModel,
PCProductConfiguration _configuration,
XmlWriter _xmlWriter)
Run On
ServerParameters
- _productConfigurationModel
- Type: PCProductConfigurationModel Table
A record in the PCProductConfigurationModel table.
- _configuration
- Type: PCProductConfiguration Table
The product configuration session to load in configuration.
- _xmlWriter
- Type: XmlWriter Class
The XML writer that is used to store the XML representation of this record.
- _priceMethod
- Type: PCPriceMethod Enumeration
The method used to calculate the unit price, defaults to cost; optional.
- _runtimePriceModelInstance
- Type: PCRuntimePriceModelInstance Class
A runtime price model instance.
Community Additions
ADD
Show:
Note