R26947-1 DocumentAmount - Only One Input Has Value
| Code | R26947-1 |
| Entity | General.Documents.DocumentAmounts Entity |
| Name | OnlyOneInputHasValue |
| Attribute | InputPercent/ InputAmount/ InputUnitAmount |
| Layer | Back-End |
| Events | Commit |
| Modify | NO |
| Action | Validate that:
One of the field "InputPercent", "InputAmount" or "InputUnitAmount" must have value. |
| Description | In the Documents in the panel Additional Document Amounts, the user must enter the value in one of the field "Input Percent", "Input Amount" or "Input Unit Amount". The input/primary data is entered in the Additional Document Amounts panel. This data is used for calculating the amount and for determining its impact on the document. |
| Message | For document amount '{AmountTypeName}' only one input among Input Amount, Input Percent and Input Unit Amount can have value. The other input attributes should be empty. |
| Introduced In Version | 2017 |
| Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.