Codeunit CCS DIS Map. Rep. Mgt. Xml
codeunit 5100947 "CCS DIS Map. Rep. Mgt. Xml"
Advertencia
This codeunit is pending obsolete. Use interface mapping logic. 2.7
Properties
Name | Value |
---|---|
ObsoleteReason | Use interface mapping logic. |
ObsoleteState | Pending |
ObsoleteTag | 2.7 |
Methods
LoadFieldStructureForMappingVersion
public "CCS DIS Map. Rep. Mgt. Xml" LoadFieldStructureForMappingVersion(MappingVersion: Record "CCS DIS Mapping Version"; var TempRepositoryField: Record "CCS DIS Mapping Repository Fld" temporary): None
Gets the field structure for XmlNode repositories from a mapping version.
Parameters
Name | Type | Description |
---|---|---|
MappingVersion | Record "CCS DIS Mapping Version" |
The mapping version to load the field structure for. |
TempRepositoryField | Record "CCS DIS Mapping Repository Fld" temporary |
The field structure in a temporary record, by reference. |
Return Value
None
SetXmlFldValueText
public "CCS DIS Map. Rep. Mgt. Xml" SetXmlFldValueText(var Node: XmlNode; FldName: Text; var FldValue: Variant; AddDataType: Boolean; IsTransferFields: Boolean; CData: Boolean): None
Sets the value of a field node.
Converts the value if necessary.
Parameters
Name | Type | Description |
---|---|---|
Node | XmlNode |
The record XML node. |
FldName | Text |
The field node to be created or updated. |
FldValue | Variant |
The field value to set. |
AddDataType | Boolean |
Adds the data type as attribute if true. |
IsTransferFields | Boolean |
Checks for conversion if part of transfer fields processing. |
CData | Boolean |
Set to true if the value should be inserted as CData. |
Return Value
None
Events
OnTransferFieldsFromCustom
event "CCS DIS Map. Rep. Mgt. Xml" OnTransferFieldsFromCustom(MappingLine: Record "CCS DIS Mapping Line"; var ToNode: XmlNode)
The event is fired on transfering the field values from a custom repository.
Parameters
Name | Type | Description |
---|---|---|
MappingLine | Record "CCS DIS Mapping Line" |
The mapping line to identify the custom repository. |
ToNode | XmlNode |
The XML node to set the custom values to. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |