R29107 Document - Modify Only If Document Is Not Read Only
| Code | R29107 |
| Entity | General.Documents.Documents Entity |
| Name | ModifyOnlyIfDocumentIsNotReadOnly |
| Attribute | - |
| Layer | Back-End |
| Events | Client Commit |
| Record State | Inserted / Modified / De |
| Priority | Normal |
| Modify | NO |
| Action | Validate that:
Document.ReadOnly == False |
| Description | Prevents the modification of read-only and their details. This applies for the document's headrer, lines, amounts, custom properties and i.e. |
| Message | The document {DocumentText} and it's header and lines cannot be updated/deleted. The documents is marked as read only. |
| Introduced In Version | 2019.1 |
| Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.