R28438 DocumentAmount - Single Line Per Document Amount Type
Code | R28438 |
Entity | General.DocumentAmounts Entity |
Name | SingleLinePerDocumentAmountType |
Attribute | DocumentAmount.DocumentAmountType |
Layer | Back-End |
Events | Commit |
Priority | Early |
Modify | NO |
Action | Validate that:
for each DocumentAmounts.DocumentAmountType: Document.DocumentAmounts.Count() <= 1 |
Description | Every document may have only one record of each Document Amount Type. More records of one document amount type may lead to incorrect data - for example double VAT amount. |
Message | "Document '{DocumentText}' has more than one record of Document Amount Type
'{DocumentAmountType.AmountTypeName}'.
Please, choose only one of the records." |
Introduced In Version | 2018 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.