R34836 CostCenter - Check Hierarchy For Activation

Code R34836
Entity Finance.Accounting.CostCenters Entity |
Name CheckHierarchyForActivation
Attribute IsActive, Parent
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If (IsActive == True)

, validate that: "Parent == NULL" OR "Parent.IsActive == True"
Description The cost center can not be activated, if the parent cost center for that cost center is inactive.
Message Cost Center '{Name}' can not be activated. Its parent cost center is not active. |
Version
Revocable NO

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