When the Department OBS is associated with the entity Clarity prohibits the use of the obs_write.xml template to write Department OBS units to the system. However, it is still possible to load departments using the department_write.xml template.
My question is about the logic of the department_write.xml template. In the user interface, each department has a parent code as follows:
But there is no parent code in the XML. The parent child relationship of the units is dependent on the order and spacing of the departments in the XML.
A few questions: Is my understanding of this correct? Does anyone have experience or an example of transforming Department source data to load this hierarchy with the correct parent/child relationships?