erp.type | erp.entity |
---|---|
business-rule |
Crm.Sales.SalesOrders |
+----------------------+-----------------------------------------------------------------------------------------------+
| Code | R29645 |
+----------------------+-----------------------------------------------------------------------------------------------+
| Entity | @Crm.Sales.SalesOrders |
+----------------------+-----------------------------------------------------------------------------------------------+
| Name | FiscalSalesNumberCannotBeChanged |
+----------------------+-----------------------------------------------------------------------------------------------+
| Attribute | FiscalSalesNumber |
+----------------------+-----------------------------------------------------------------------------------------------+
| Layer | Back-End |
+----------------------+-----------------------------------------------------------------------------------------------+
| Events | Commit |
+----------------------+-----------------------------------------------------------------------------------------------+
| Priority | Late |
+----------------------+-----------------------------------------------------------------------------------------------+
| Modify | NO |
+----------------------+-----------------------------------------------------------------------------------------------+
| **Applicable | ALL // no condition |
| Legislations** | needed |
+----------------------+-----------------------------------------------------------------------------------------------+
| Action | Validate that |
| |
|
| | If (FiscalSalesNumber.DataBaseValue <> Null) |
| |
|
| | FiscalSalesNumber == FiscalSalesNumber.DataBaseValue |
+----------------------+-----------------------------------------------------------------------------------------------+
| Description | If FiscalSalesNumber already have value then this value cannot be changed. |
+----------------------+-----------------------------------------------------------------------------------------------+
| Message | The value in the field 'Fiscal Sales Number' cannot be changed! |
+----------------------+-----------------------------------------------------------------------------------------------+
| Introduced In | 2019.1 |
| Version | |
+----------------------+-----------------------------------------------------------------------------------------------+
| Revocable | NO |
+----------------------+-----------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.