Document Relation Events in Document Central
This article describes the events provided by Document Central related to the Document Relation.
Publisher
Codeunit 5492908 "SIM_DMS Event Publisher"
Document Relation Events
OnBeforeSetSourceDocummentRelation
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. |
OnBeforeSetTargetDocummentRelation
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. |
OnBeforeInsertDocummentRelation
Raised
This event triggers Before the Document Relation is Inserted into the Document Central document relationship table.
Parameter
| Name | Type | Description |
|---|---|---|
| ParamRecordSIMDMSDocumentRelationship | Record "SIM_DMS Document Relationship" | The Entry of the Document Relation that is written. |
OnGetDocNoNoPrimaryKey
geactiveerd
Deze gebeurtenis wordt geactiveerd zodra wordt herkend dat het veld “Include in Query” uit de mapping geen “Primary Key”-veld is. In dit geval kan er geen documentnummer worden bepaald via de documentrelatie en kan er een documentnummer worden overgedragen aan de documentrelatie via de gebeurtenis.
Parameter
| Naam | Type | Beschrijving |
|---|---|---|
| ParamDocNoCode | Code[100] | Het gewijzigde documentnummer dat vanuit de documentrelatie wordt overgedragen. |
| ParamRecordSIMDMSDocumentRelationship | Record "SIM_DMS Document Relationship" | De invoer van de documentrelatie. |
| ParamSourceBoolean | Boolean | Geeft de informatie dat het document niet vanuit de bron- of doelrelatie teruggestuurd mag worden. |