If an OBS has an object associated to it, restricted at the lowest level, you cannot move a unit of that OBS, below another unit, if the target unit already has child units, even if all units do not have any Attached Instances of the Associated Object.
Then try to move one of the units that have no instances attached to a unit that already has a child unit. The unit with the child unit will not be available to be selected for the move.
Steps to Reproduce:
- Login to the application
- Navigate to Administration, Organization and Access: OBS
- Create an Organizational Breakdown Structure (OBS) with multiple levels (at least 3 levels or more)
- Select an Associated Object and set the Association Mode = 'Lowest Level'
- Create OBS Units at different levels
- Try to move the existing OBS Units up and down the levels
Expected Result: We expected the movement of the OBS Unit to be allowed at any level.
Actual Result: We are only allowed to move the OBS Unit to an existing OBS Unit that does not have any children OBS units yet. Once at least one unit is added to that level, we cannot add more units
This is working as expected. When the Associated Objects have 'Lowest Level' selected for the Object Association Mode, this indicates that the movement of existing OBS Units is restricted to the 'Lowest Level'. The 'Lowest Level' is any defined as any existing OBS Unit that does not have any children units.
To have the ability to move and create OBS Units at any level, the Object Association Mode must be set to 'Any Unit'.
Changing the Association Mode to 'Lowest Level' may generate a warning message :
OBS-0233: Changing the association mode to a restrictive setting may set the default and override default values to blank. Do you want to continue?
The use of this association mode is restrictive to only allow users to select the lowest unit for associating instance data records. Therefore if you want to associate to all levels within the structure it is recommended to keep the default setting to 'Any Unit'.