R29645 SalesOrder - Fiscal Sales Number Cannot Be Changed

Code R29645
Entity Crm.Sales.SalesOrders Entity
Name FiscalSalesNumberCannotBeChanged
Attribute FiscalSalesNumber
Layer Back-End
Events Commit
Priority Late
Modify NO
Applicable Legislations ALL // no condition 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 Version 2019.1
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.