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