Codeunit CCS DIS Mapping Version Adptr.
codeunit 5100922 "CCS DIS Mapping Version Adptr."
Methods
GetDisruptedByBreakLoop
public "CCS DIS Mapping Version Adptr." GetDisruptedByBreakLoop(var Value: Boolean): None
Returns if any loop got broken.
Parameters
Name | Type | Description |
---|---|---|
Value | Boolean |
Returns breakloop variable true or false. |
Return Value
None
GetJsonRepository
public "CCS DIS Mapping Version Adptr." GetJsonRepository(var Value: JsonToken): None
Returns the JSON repository.
The JSON repository can also be retrieved from the mapping entry.
Parameters
Name | Type | Description |
---|---|---|
Value | JsonToken |
The JSON repository after the mapping execution. |
Return Value
None
GetXmlRepository
public "CCS DIS Mapping Version Adptr." GetXmlRepository(var Value: XmlElement): None
Returns the XML repository.
The XML repository can also be retrieved from the mapping entry.
Parameters
Name | Type | Description |
---|---|---|
Value | XmlElement |
The XML repository after the mapping execution. |
Return Value
None
ProcessMappingVersion
public "CCS DIS Mapping Version Adptr." ProcessMappingVersion(MappingVersion: Record "CCS DIS Mapping Version"): BigInteger
Use this procedure to process a mapping version.
Creates a mapping entry and returns the entry number.
Errors do not run an UI error and are changing the entry status.
Components are disposed at the end.
Parameters
Name | Type | Description |
---|---|---|
MappingVersion | Record "CCS DIS Mapping Version" |
Return Value
BigInteger
The created mapping entry number.
SetJsonRepository
public "CCS DIS Mapping Version Adptr." SetJsonRepository(Value: JsonToken): None
Sets the JSON repository for the register.
Use this procedure to initialize the JSON repository on mapping execution.
Parameters
Name | Type | Description |
---|---|---|
Value | JsonToken |
The JSON repository. |
Return Value
None
SetPartnerMapping
public "CCS DIS Mapping Version Adptr." SetPartnerMapping(Value: Record "CCS DIS Partner Mapping"): None
Sets the partner mapping as global variable.
Parameters
Name | Type | Description |
---|---|---|
Value | Record "CCS DIS Partner Mapping" |
The partner mapping. |
Return Value
None
SetSequenceLine
public "CCS DIS Mapping Version Adptr." SetSequenceLine(Value: Record "CCS DIS Sequence Line"): None
Sets the sequence line as global variable.
Parameters
Name | Type | Description |
---|---|---|
Value | Record "CCS DIS Sequence Line" |
The sequence line. |
Return Value
None
SetXmlRepository
public "CCS DIS Mapping Version Adptr." SetXmlRepository(Value: XmlElement): None
Sets the XML repository for the register.
Use this procedure to initialize the XML repository on mapping execution.
Parameters
Name | Type | Description |
---|---|---|
Value | XmlElement |
The XML repository. |
Return Value
None
Events
OnAfterCreateMappingEntry
event "CCS DIS Mapping Version Adptr." OnAfterCreateMappingEntry(MappingVersion: Record "CCS DIS Mapping Version"; var MappingEntry: Record "CCS DIS Mapping Entry")
The event is fired after the mapping entry is created. Use this function to add information to your mapping entry before initializing components.
Parameters
Name | Type | Description |
---|---|---|
MappingVersion | Record "CCS DIS Mapping Version" |
The mapping version to be executed. |
MappingEntry | Record "CCS DIS Mapping Entry" |
The create mapping entry as reference. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |
OnAfterInitializeComponents
event "CCS DIS Mapping Version Adptr." OnAfterInitializeComponents(MappingVersion: Record "CCS DIS Mapping Version"; MappingEntry: Record "CCS DIS Mapping Entry")
The event is fired after the mapping components have been initialized.
Use this event to customize the initialization process before a mapping is really executed.
The variables are set.
The XML repository, the JSON repository and the record pool repository are initialized or copied.
The XML node field structure and JSON property field structure were loaded.
Parameters
Name | Type | Description |
---|---|---|
MappingVersion | Record "CCS DIS Mapping Version" |
The mapping version to be executed. |
MappingEntry | Record "CCS DIS Mapping Entry" |
The created mapping entry. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |
OnAfterProcessMappingVersion
event "CCS DIS Mapping Version Adptr." OnAfterProcessMappingVersion(MappingVersion: Record "CCS DIS Mapping Version"; MappingEntry: Record "CCS DIS Mapping Entry")
The event is fired after the mapping version is processed.
The mapping entry is processed, eventually with errors.
The components are disposed.
Parameters
Name | Type | Description |
---|---|---|
MappingVersion | Record "CCS DIS Mapping Version" |
The executed mapping version. |
MappingEntry | Record "CCS DIS Mapping Entry" |
The created mapping entry. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |
OnBeforeDisposeComponents
event "CCS DIS Mapping Version Adptr." OnBeforeDisposeComponents(var MappingEntry: Record "CCS DIS Mapping Entry")
The event is fired after the mapping version is processed and before the components get disposed.
Use this event to save any custom registers or read variables or repositories.
The mapping entry is closed and can contain an error.
Parameters
Name | Type | Description |
---|---|---|
MappingEntry | Record "CCS DIS Mapping Entry" |
The created mapping entry. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |
OnBeforeProcessMappingVersion
event "CCS DIS Mapping Version Adptr." OnBeforeProcessMappingVersion(MappingVersion: Record "CCS DIS Mapping Version")
The event is fired before the mapping entry is created, the components are initialized and the mapping version is executed.
Parameters
Name | Type | Description |
---|---|---|
MappingVersion | Record "CCS DIS Mapping Version" |
The mapping version to be executed. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |