R31482-3 Document - Set Referenced Document Type (Recalc)
| Code | 31482-3 |
| Entity | Finance.Vat.Entries Entity |
| Name | SetReferencedDocumentType |
| Attribute | ReferencedDocumentType |
| Layer | Front-End |
| Events | AttributeChanged(Parent, DocumentType, ReferencedDocumentType) |
| Priority | Early |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | IIF(Parent.IsDocumentTypeEntityInvoice(), Parent.DocumentType, ReferencedDocumentType) |
| Description | |
| Message | |
| Version | |
| Revocable | YES |
* This is auto generated code. Don't change it.