PCRuntimeLibrary::getModelXML Method [AX 2012]
Gets the 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
server public static str getModelXML(
PCProductConfigurationModel _model,
[PCProductConfiguration _configuration,
PCPriceMethod _priceMethod,
PCRuntimePriceModelInstance _runtimePriceModelInstance])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static str getModelXML(PCProductConfigurationModel _model, [PCProductConfiguration _configuration])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static str getModelXML(PCProductConfigurationModel _model, [PCProductConfiguration _configuration])
Microsoft Dynamics AX 2012 (FPK)
server public static str getModelXML(PCProductConfigurationModel _model, [PCProductConfiguration _configuration])
Microsoft Dynamics AX 2012 (SYS)
server public static str getModelXML(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.
Show:
Note