ConnectIT 365

Import Events

General

Events with a ‘Handled’ parameter can be used to fully override ConnectIT code.
If you set handled to ‘true’, ConnectIT will stop code execution and leave everything to the subscriber.

Parameters of type ‘Variant’ contain dynamic types. Depending on the definition’s format (ie. XML, CSV or JSON).

Available events

Publisher Type

Publisher ID

Publisher Name

Publisher Type

Publisher ID

Publisher Name

Codeunit

11148638

IDYC Import Events

Event Name

Parameters

Description

Event Name

Parameters

Description

OnBeforeImport

var Rec: Record “IDYC Linked Data”

Raised before an import is started

OnAfterImport

var Rec: Record “IDYC Linked Data”

Raised after an import has finished

OnBeforeProcessImportEntry

ImportEntry: Record “IDYC Import Entry”; var Handled: Boolean

Raised before an import entry is processed

OnBeforeExecuteFieldFunctions

var RecRef: RecordRef; var FieldValue: Text; Input: Variant; CurrentImportDefLine: Record “IDYC Import Definition Line”; var Handled: Boolean

Raised before import field functions are executed

OnBeforeExecuteConstantFieldFunctions

var RecRef: RecordRef; var FieldValue: Text; Input: Variant; CurrentImportDefLine: Record “IDYC Import Definition Line”; var Handled: Boolean

Raised before import constant functions are executed

OnAfterExecuteFieldFunctions

var RecRef: RecordRef; var FieldValue: Text; Input: Variant; CurrentImportDefLine: Record “IDYC Import Definition Line”; var Handled: Boolean

Raised after import field functions are executed

OnAfterExecuteConstantFieldFunctions

var RecRef: RecordRef; var FieldValue: Text; Input: Variant; CurrentImportDefLine: Record “IDYC Import Definition Line”; var Handled: Boolean

Raised after import constant functions are executed

OnAfterWriteFieldValue

var RecRef: RecordRef; var FieldValue: Text; Input: Variant; CurrentImportDefLine: Record “IDYC Import Definition Line”

Raised after a field value is written

OnAfterWriteConstantFieldValue

var RecRef: RecordRef; var FieldValue: Text; CurrentImportConstantValueLine: Record “IDYC Import Constant Value”

Raised after a constant value is written

OnBeforeImportRecord

var RecRef: RecordRef; ImportEntry: Record “IDYC Import Entry”; Input: Variant

Raised before a record is processed

OnAfterImportRecord

var RecRef: RecordRef; ImportEntry: Record “IDYC Import Entry”; Input: Variant

Raised after a record has been processed

IDYN 2024