Codeunit 18008110 EOS MDI Synch. Management
Codeunit 18008110 EOS MDI Synch. Management
Methods
GetUrlFromParameters
procedure GetUrlFromParameters(UseHttpS: Boolean; serviceUrlComputer: Text; servicePort: Integer; serviceUrlInstance: Text; serviceUrlCompany: Text; serviceName: Text) Result: Text
Parameters / Return Value
UseHttpS
Boolean
serviceUrlComputer
Text
servicePort
Integer
serviceUrlInstance
Text
serviceUrlCompany
Text
serviceName
Text
Returns
Text
GetWebServiceName
procedure GetWebServiceName(): Text
Parameters / Return Value
- Returns
Text
CheckWebService
procedure CheckWebService(Interactive: Boolean): Boolean
Parameters / Return Value
Interactive
Boolean
Returns
Boolean
SetupWebService
procedure SetupWebService(): Boolean
Parameters / Return Value
- Returns
Boolean
ProcessDatabaseEvent
procedure ProcessDatabaseEvent(RecRef: RecordRef; xRecRef: RecordRef; TriggerType: Option DoInsert,DoModify,DoRename,DoDelete)
Parameters / Return Value
RecRef
RecordRef
xRecRef
RecordRef
TriggerType
Option
DoInsert
(0) ,DoModify
(1) ,DoRename
(2) ,DoDelete
(3)
GetSynchEntries
procedure GetSynchEntries(var MDISynchEntryBuffer: Record "EOS MDI Synch. Entry"; RecRef: RecordRef)
Parameters / Return Value
MDISynchEntryBuffer
Record "EOS MDI Synch. Entry"
RecRef
RecordRef
PrepareSynchEntryBuffer
procedure PrepareSynchEntryBuffer(var MDISynchProfileHeader: Record "EOS MDI Synch. Profile Header"; SynchGuid: Guid; RecRef: RecordRef; var MDISynchEntryBuffer: Record "EOS MDI Synch. Entry")
Parameters / Return Value
MDISynchProfileHeader
Record "EOS MDI Synch. Profile Header"
SynchGuid
Guid
RecRef
RecordRef
MDISynchEntryBuffer
Record "EOS MDI Synch. Entry"
GetSynchRecordPayload
procedure GetSynchRecordPayload(var MDISynchEntry: Record "EOS MDI Synch. Entry"; var SrcRecRef: RecordRef; xRecRef: RecordRef; TriggerType: Option DoInsert,DoModify,DoRename,DoDelete)
Parameters / Return Value
MDISynchEntry
Record "EOS MDI Synch. Entry"
SrcRecRef
RecordRef
xRecRef
RecordRef
TriggerType
Option
DoInsert
(0) ,DoModify
(1) ,DoRename
(2) ,DoDelete
(3)
GetTableContentPayload
procedure GetTableContentPayload(MDISynchEOSMDISynchCompanies: Record "EOS MDI Synch. Companies";TopRowLimit: Integer; TableID: Integer;TableXMLView: Text; TableXMLFieldFilter: Text;var Payload: Text)
Parameters / Return Value
MDISynchEOSMDISynchCompanies
Record "EOS MDI Synch. Companies"
TopRowLimit
Integer
TableID
Integer
TableXMLView
Text
TableXMLFieldFilter
Text
Payload
Text
ReExecuteEntries
procedure ReExecuteEntries(var SynchEntry: Record "EOS MDI Synch. Entry")
Parameters / Return Value
- SynchEntry
Record "EOS MDI Synch. Entry"
ShowSynchSetup
procedure ShowSynchSetup(RecRef: RecordRef)
Parameters / Return Value
- RecRef
RecordRef
IsWebService
procedure IsWebService(): Boolean
Parameters / Return Value
- Returns
Boolean
GetRemoteRecordCount
procedure GetRemoteRecordCount(MDICompanyCode: Code[20]; Rec: Variant; var ResultCount: Integer)
Parameters / Return Value
MDICompanyCode
Code[20]
Rec
Variant
ResultCount
Integer
MakeXMLRequest_TestConnection
procedure MakeXMLRequest_TestConnection(ServiceUrl: Text; serviceDomain: Text; serviceUsername: Text; servicePassword: Text; var MessageText: Text)
Parameters / Return Value
ServiceUrl
Text
serviceDomain
Text
serviceUsername
Text
servicePassword
Text
MessageText
Text
MakeXMLRequest_TestConnection2
procedure MakeXMLRequest_TestConnection2(MDICompanyCode: Code[20]; var MessageText: Text)
Parameters / Return Value
MDICompanyCode
Code[20]
MessageText
Text
TryMakeXMLRequest_TestConnection2
procedure TryMakeXMLRequest_TestConnection2(MDICompanyCode: Code[20]; var MessageText: Text)
Parameters / Return Value
MDICompanyCode
Code[20]
MessageText
Text
Events
OnBeforeProcessingMDISynchLine
local procedure OnBeforeProcessingMDISynchLine(var MDISynchProfileLine: Record "EOS MDI Synch. Profile Line")
Parameters / Return Value
- MDISynchProfileLine
Record "EOS MDI Synch. Profile Line"
OnGetCustomMetadata
local procedure OnGetCustomMetadata(MDISynchEntry: Record "EOS MDI Synch. Entry"; SrcRecRef: RecordRef; xRecRef: RecordRef; TriggerType: Option DoInsert,DoModify,DoRename,DoDelete; var NameValueBufferMetadata: Record "Name/Value Buffer")
Parameters / Return Value
MDISynchEntry
Record "EOS MDI Synch. Entry"
SrcRecRef
RecordRef
xRecRef
RecordRef
TriggerType
Option
DoInsert
(0) ,DoModify
(1) ,DoRename
(2) ,DoDelete
(3)NameValueBufferMetadata
Record "Name/Value Buffer"
OnBeforeDataTransformation
local procedure OnBeforeDataTransformation(SrcRecRef: RecordRef; MDISynchProfileLine: Record "EOS MDI Synch. Profile Line"; var TransformedValue: Variant; var ValueAsBeenTransformed: Boolean; var Handled: Boolean)
This event is raised before processing any setup data transformtion
Parameters / Return Value
SrcRecRef
RecordRef
Untransformed Record Ref. Do not make any changes to this variable.
MDISynchProfileLine
Record "EOS MDI Synch. Profile Line"
Current “MDI Synch. Entry”. You can find current FieldNo here
TransformedValue
Variant
It’s a variant and it must be populated with the new value
ValueAsBeenTransformed
Boolean
Set this flag to true to tell the MDI to consider the content of “TransformedValue”
Handled
Boolean
Set this flag to true to completely override the standard transformation setup
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.