Skip to content

Latest commit

 

History

History
42 lines (40 loc) · 4.21 KB

R34833.md

File metadata and controls

42 lines (40 loc) · 4.21 KB

erp.type: business-rule erp.entity: Finance.Accounting.ProfitCenters

R34833 ProfitCenter - Check Hierarchy For Activation

+-----------------------------+---------------------------------------------------------------------------------------+ | Code | R34833 | +-----------------------------+---------------------------------------------------------------------------------------+ | Entity | @Finance.Accounting.ProfitCenters | +-----------------------------+---------------------------------------------------------------------------------------+ | 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 profit center can not be activated, if the parent profit center for that profit | | | center is inactive. | +-----------------------------+---------------------------------------------------------------------------------------+ | Message | Profit Center '{Name}' can not be activated. Its parent profit 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.