PCXmlSessionWriterModel.writeIL Method [AX 2012]

Generates the XML representation of this record that is compatible with the product configuration.

public void writeIL(
    PCProductConfigurationModel _productConfigurationModel, 
    PCProductConfiguration _configuration, 
    PCXmlWriter _xmlWriter, 
   [PCPriceMethod _priceMethod, 
    PCRuntimePriceModelInstance _runtimePriceModelInstance])

Run On

Server

Parameters

_productConfigurationModel
Type: PCProductConfigurationModel Table
A record in the PCProductConfigurationModel table.
_configuration
Type: PCProductConfiguration Table
The product configuration session to load in configuration.
_xmlWriter
Type: PCXmlWriter 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: