+-------------------+--------------------------------------------------------------------------------------------------+
| Code | R27148 |
+-------------------+--------------------------------------------------------------------------------------------------+
| Entity | @Crm.ProductPrices |
+-------------------+--------------------------------------------------------------------------------------------------+
| Name | FromDateLessThanThruDate |
+-------------------+--------------------------------------------------------------------------------------------------+
| Attribute | FromDate |
+-------------------+--------------------------------------------------------------------------------------------------+
| Layer | Back-End |
+-------------------+--------------------------------------------------------------------------------------------------+
| Events | Commit |
+-------------------+--------------------------------------------------------------------------------------------------+
| Modify | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
| Action | Validate that: |
| |
|
| | FromDate <= ThruDate |
+-------------------+--------------------------------------------------------------------------------------------------+
| Description | If the user creates new ProductPrice or modify an existing one, the FromDate value must be less |
| | than or equal to the ThruDate value. |
+-------------------+--------------------------------------------------------------------------------------------------+
| Message | "Product Price's From Date {FromDate} should not be greater than Product Price's Thru |
| | Date {ThruDate}." |
+-------------------+--------------------------------------------------------------------------------------------------+
| Introduced In | 2017 |
| Version | |
+-------------------+--------------------------------------------------------------------------------------------------+
| Revocable | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.