R27451 Invoice - Line Amount Sign Restriction
Code | R27451 |
Entity | Crm.Invoicing.Invoices Entity |
Name | LineAmountSignRestriction |
Attribute | LineAmount |
Layer | Back-End |
Events | Planning + |
Modify | NO |
Action | For every line, validate that:
|
** Description** | Acording to the particular business purpose of the Invoice, we are able to manually restrict the
signs of the Line Amounts in the document. For example, using this option we can specify that the
certain document can be used when returning goods (in this situation both Quantity and Line Amount
are with negative signs) or not.
The option is called 'Sign Restriction' and is set in the Entity Settings panel in the Document Type's definition. In order to assure that this restriction is not valuated - we need to check if the signs of the Total Amount in all document lines correspond to the value set 'Total amount Sign Restriction' for the particular document. |
Message | The field 'Line Amount' in line '{Invoice.LineNo}' contains a value with an invalid sign.
There is a sign restriction set in the document type definition, but the line amount sign violates this setting. |
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.