This should not be allowed via XOG. The Clarity UI does not allow the creation of OBS units or Departments with same name with the same parent name.
XOG enforces the unique OBS name and Parent name constraint.
Scenario #1:
- Created a two level obs.
- Created OBS units with same name same parent name, it is giving error message "OBS-0212: OBS unit names must be unique within a parent unit".
- Xog out the current OBS and Xog in with same name and under the same parent. It is xogged with warning messages "XOG-2628: OBS Unit Name must be unique within an OBS".
Working as expected.
Scenario #2:
- Created a parent department.
- Created a child department by associating parent department.
- Created a another child department using same name with same parent department. It is giving error message"OBS-0212: OBS unit names must be unique within a parent unit".
- By removing parent department field, we don't get any error message and after saving above and associating parent field.
Second scenario is also working as expected.