Skip to content

Database Exclusive Events in DMS

This article describes the events provided by DMS related to the Database Upload/Deletion process.

Publisher

Codeunit 5492908 "SIM_DMS Event Publisher"

Database Repository Exclusive Events

OnBeforeDeleteDocumentInDatabaseRepository

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeDeleteDocumentInDatabaseRepository(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry")
begin
end;

Raised

This event triggers before the document gets deleted from the Database Repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Deleted.

OnBeforeDocumentUploadToDatabase

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeDocumentUploadToDatabase(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamFileNameText: Text)
begin
end;

Raised

This event triggers before the document gets created in the Database Repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Deleted.
ParamFileNameText Text The File Name of the Document.

OnAfterSuccessfulDocumentUploadAttemptToDatabase

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnAfterSuccessfulDocumentUploadAttemptToDatabase(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamFileNameText: Text)
begin
end;

Raised

This event triggers after the document gets created in the Database Repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Deleted.
ParamFileNameText Text The File Name of the Created Document.