Skip to content

Events for Document Creation

This article describes the events provided by DI related to the document creation processes.

Publisher

Codeunit 5673066 "SIM_DI Event Publisher"

Document Creation

OnBeforeInboundDocumentIsInserted

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeInboundDocumentIsInserted(var ParamRecordSIMDIInboundDocument: Record "SIM_DI Inbound Document")
begin
end;

Trigger

This event is triggered just before the inbound document is inserted into the table during the creation process.

Parameter

Name Type Description
ParamRecordSIMDIInboundDokument Record "SIM_DI Inbound Document" The document that is inserted into the "Inbound" list.

OnAfterInboundDocumentIsInserted

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnAfterInboundDocumentIsInserted(ParamRecordSIMDIInboundDocument: Record "SIM_DI Inbound Document")
begin
end;

Trigger

This event is triggered after the inbound document has been inserted into the table during the creation process.

Parameter

Name Typ Description
ParamRecordSIMDIInboundDocument Record ‘SIM_DI Inbound Document’ The document that is inserted in the ‘Inbound’ list.