Skip to content

Document Relation Events in DMS

This article describes the events provided by DMS related to the Document Relation.

Publisher

Codeunit 5492908 "SIM_DMS Event Publisher"

Document Relation Events

OnBeforeSetSourceDocumentRelation

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeSetSourceDocumentRelation(ParamSourceRecordRef: RecordRef)
begin
end;

Raised

This event triggers before the document relation is written for the document.

Parameter

Name Type Description
ParamTargetRecordRef RecordRef The Reference of the Record where the Relation is written from.

OnBeforeSetTargetDocumentRelation

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeSetTargetDocumentRelation(ParamTargetRecordRef: RecordRef)
begin
end;

Raised

This event triggers after the document Relation is written for the document.

Parameter

Name Type Description
ParamTargetRecordRef RecordRef The Reference of the Record where the Relation will be written to.

OnBeforeInsertDocumentRelation

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeInsertDocumentRelation(ParamRecordSIMDMSDocumentRelationship: Record "SIM_DMS Document Relationship")
begin
end;

Raised

This event triggers Before the Document Relation is Inserted into the DMS document relationship table.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentRelationship Record "SIM_DMS Document Relationship" The Entry of the Document Relation that is written.