Codeunit CCS DIS Partner Mapping Adptr.
codeunit 5100921 "CCS DIS Partner Mapping Adptr."
Properties
| Name | Value |
|---|---|
| TableNo | CCS DIS Partner Mapping |
Methods
GetDisruptedByBreakLoop
public "CCS DIS Partner Mapping 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 Partner Mapping 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
GetMappingEntry
public "CCS DIS Partner Mapping Adptr." GetMappingEntry(var Value: Record "CCS DIS Mapping Entry"): None
Returns the created mapping entry.
Parameters
| Name | Type | Description |
|---|---|---|
| Value | Record "CCS DIS Mapping Entry" |
The created mapping entry. |
Return Value
None
GetXmlRepository
public "CCS DIS Partner Mapping 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
SetJsonRepository
public "CCS DIS Partner Mapping 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
SetSequenceLine
public "CCS DIS Partner Mapping 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 Partner Mapping 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
OnAfterProcessPartnerMapping
event "CCS DIS Partner Mapping Adptr." OnAfterProcessPartnerMapping(PartnerMapping: Record "CCS DIS Partner Mapping"; MappingEntry: Record "CCS DIS Mapping Entry")
The event is fired after the partner mapping is processed.
The mapping entry is processed, eventually with errors.
The components are disposed.
No message have been sent.
Parameters
| Name | Type | Description |
|---|---|---|
| PartnerMapping | Record "CCS DIS Partner Mapping" |
The processed partner mapping. |
| MappingEntry | Record "CCS DIS Mapping Entry" |
The created mapping entry. |
Attributes
| Name | Arguments |
|---|---|
| IntegrationEvent | False, False |
OnBeforeProcessPartnerMapping
event "CCS DIS Partner Mapping Adptr." OnBeforeProcessPartnerMapping(PartnerMapping: Record "CCS DIS Partner Mapping")
The event is fired before the partner mapping is processed.
Nothing has been initialized or checked, yet.
Parameters
| Name | Type | Description |
|---|---|---|
| PartnerMapping | Record "CCS DIS Partner Mapping" |
The partner mapping to process. |
Attributes
| Name | Arguments |
|---|---|
| IntegrationEvent | False, False |
OnCheckPartnerMapping
event "CCS DIS Partner Mapping Adptr." OnCheckPartnerMapping(PartnerMapping: Record "CCS DIS Partner Mapping")
The event is fired on checking the partner mapping before mapping processing.
Subscribe this event to add additional checks for partner, like blocking.
Create runtime errors to stop processing.
Parameters
| Name | Type | Description |
|---|---|---|
| PartnerMapping | Record "CCS DIS Partner Mapping" |
The partner mapping to process. |
Attributes
| Name | Arguments |
|---|---|
| IntegrationEvent | False, False |