Skip to content

Events for Document Creation

Document Inbound provides events that allow you to interact with and extend the document creation process. The following documentation explains how these events can be used to integrate custom logic during document creation.

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.