PCXmlSessionWriterComponentAttribute.write Method [AX 2012]

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

public void write(
    EcoResCategoryAttribute _categoryAttribute, 
    XmlWriter _attributeTypeWriter, 
    XmlWriter _componentTreeWriter, 
    Set _parsedTypes, 
    PCXmlSessionDatabaseRelationTypes _parsedSystemTableConstraintTypes, 
    Map _parsedIntegerDomains, 
    EcoResAttributeType _attributeType, 
    PCSolverVariable _solverVariable, 
    LanguageId _sessionLanguage, 
    Map _tableConstraintRelationsMap, 
    Map _attributeDefaultValuesMap, 
    Map _attributeValuesMap, 
    Map _attributeModifiersMap, 
    PCXmlSessionComponentAttributeBindings _xmlSessionComponentAttributeBindings, 
    PCRuntimeInstanceIdManager _runtimeInstanceIdManager)

Run On

Server

Parameters

_categoryAttribute
Type: EcoResCategoryAttribute Table
A category attribute.
_attributeTypeWriter
Type: XmlWriter Class
The XML writer used to store the types of attributes.
_componentTreeWriter
Type: XmlWriter Class
The XML writer used to store the tree of components.
_parsedTypes
Type: Set Class
A collection containing the record IDs of the attribute types already parsed.
_parsedSystemTableConstraintTypes
Type: PCXmlSessionDatabaseRelationTypes Class
A collection containing the record IDs of the system table constraint types already parsed.
_parsedIntegerDomains
Type: Map Class
A map containing integer domains that have already been encountered during the XML generation.
_attributeType
Type: EcoResAttributeType Table
An attribute type record.
_solverVariable
Type: PCSolverVariable Table
A solver variable.
_sessionLanguage
Type: LanguageId Extended Data Type
The language ID of the current session.
_tableConstraintRelationsMap
Type: Map Class
A map containing any table constraint relations the component may have.
_attributeDefaultValuesMap
Type: Map Class
A map containing attribute default values.
_attributeValuesMap
Type: Map Class
A map containing attribute values.
_attributeModifiersMap
Type: Map Class
A map containing attribute modifiers.
_xmlSessionComponentAttributeBindings
Type: PCXmlSessionComponentAttributeBindings Class
A collection containing record IDs of the attributes which have an attribute binding to a BOM or route.
_runtimeInstanceIdManager
Type: PCRuntimeInstanceIdManager Class
A runtime instance ID manager.

Obsolete: Use the IL equivalent method.

Community Additions

ADD
Show: