Use this option to define various plants/Divisions/Units/cells.
Using Tree control following hierarchy will be created.
Plants
Divisions
Units
Cells
Select Configuration/Dashboard Master to add plants. Click on Add, display in right hand side is Plant description. Select the Plant to add the Division [Module]. Select the Division [Module] to add the Unit. Select the Unit to add the Cell [i.e. Location]. Display List Box in the RHS Side for the selection of Location [Cell]
User cannot delete any node if it is referred in the User Detail.
If user tries to delete Plant, which has defined Divisions, Units and Cells and if it is not referred in the User Detail ask for the confirmation for Deletion. If user Press 'Yes' display message 'There are divisions defined! Are you sure you want to delete this record?’ If user press 'Yes' selected Plant will get deleted along with Division, Units and Cells.
For Modifying Plants or Divisions or Units, user can select and click on Modify. Text box of Plants Description will get enabled so that user can modify. After modifying, user can click on Save to modified the record.
If Cell/Location is assigned to user and then user try to modify the Location/Cell display the message as 'Cannot Modify, Record exists in Assign Dashboard Level To User'.
If Cell/Location is not assigned to user and user try to modify the Location/Cell and Cells are available for assigning to Units, display the other cells with selected cells in RHS side. User try to select multiple cell then display the message 'Multiple selection is not allowed in modify mode'. User has to uncheck the selected or earlier one and select the other cell to modify the Cell and click on save to modify the record.
If user clicks on add for adding the Cell/Locations and No cells are present to add in unit then system should display the message as 'No location left to add'.
Plants, Divisions, Units and Cell/Location cannot be same. Same Plant description cannot be defined as Units or Divisions.