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
Activado
Este evento se dispara en cuanto se reconoce que el campo «Incluir en consulta» de la asignación no es un campo «Clave primaria». En este caso, no se puede determinar ningún número de documento a través de la relación de documento y se puede transferir un número de documento a la relación de documento a través del evento.
Parámetro
| Nombre Tipo Descripción | ----------- | --- | ------------------------------------ | | ParamDocNoCode | Code[100] | El número de documento modificado que se transfiere desde la relación de documentos. | | ParamRecordSIMDMSDocumentRelationship | Record "SIM_DMS Document Relationship" | La entrada de la relación de documento. | | ParamSourceBoolean | Boolean | Da la información de que el documento no debe ser devuelto desde la relación origen o destino. |