Skip to content

Latest commit

 

History

History
44 lines (42 loc) · 4.46 KB

R29645.md

File metadata and controls

44 lines (42 loc) · 4.46 KB
erp.type erp.entity
business-rule
Crm.Sales.SalesOrders

R29645 SalesOrder - Fiscal Sales Number Cannot Be Changed

+----------------------+-----------------------------------------------------------------------------------------------+ | 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.