Codeunit CCS DIS Partner Message Mgt.
codeunit 5100907 "CCS DIS Partner Message Mgt."
Methods
CreateAndImportNewMessage
public "CCS DIS Partner Message Mgt." CreateAndImportNewMessage(TempBlob: Codeunit "Temp Blob"): BigInteger
Creates a new received message and imports the temp blob into the message field.
Does not check for any errors. The status of the message will be imported.
Parameters
Name | Type | Description |
---|---|---|
TempBlob | Codeunit "Temp Blob" |
The message stored in a temp blob. |
Return Value
BigInteger
The entry no. of the created received message.
OpenMessageChild
public "CCS DIS Partner Message Mgt." OpenMessageChild(RecRelatedVariant: Variant): None
Opens eigther the mapping version or the message xml, depending on setup configuration.
Parameters
Name | Type | Description |
---|---|---|
RecRelatedVariant | Variant |
A record to sent or received message. |
Return Value
None
OpenMessageDocument
public "CCS DIS Partner Message Mgt." OpenMessageDocument(RecId: RecordId): Boolean
Tries to open a document (page), based on record id.
Parameters
Name | Type | Description |
---|---|---|
RecId | RecordId |
The document's record id. |
Return Value
Boolean
Returns true if the document was opened. Otherwise returns false.
Events
OnOpenMessageDocument
event "CCS DIS Partner Message Mgt." OnOpenMessageDocument(RecId: RecordId; var IsHandled: Boolean)
The event is fured before the message document is opened.
Subscribe this event and set IsHandled to customize the page to open for a record.
Parameters
Name | Type | Description |
---|---|---|
RecId | RecordId |
The record id to open a page for. |
IsHandled | Boolean |
Return true to skip default code. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |