R28344 SalesOrder - Minimum Amount

Code R28344
Entity Crm.Sales.SalesOrders Entity
Name MinimumAmount
Attribute -
Layer Back-End
Events Releasing +
Modify NO
Action if (SalesOrder.SalesOrdersOption.MinumumAmount != null)

Sum(LineAmountInDocumentCurrency) >= MinimumAmountInDocumentCurrency
Description A business case is when a sales order should not be released if it is under specified amount. This amount is a setting of the sales order and when the total amount of the sales order in a currency is below the specified minimum amount (in the same currency or converted to the document currency) the user cannot release the document.
Message The document '{DocumentText}' cannot be released because the amount to pay is less than the minimum amount for document type '{DocumentType.TypeName}'.

The document amount to pay is {TotalAmount} {DocumentCurrency.CurrencySign} and the minimum amount is {DocumentType.SalesOrdersOptions.MinimumAmount} {DocumentType.SalesOrdersOptions.MinimumAmountCurrency.CurrencySign}.

Increase the document amount and try again.
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.