Hi,
I have deployed 2.35 on my server, is there any new approach to removing Organizational Units with NO DATA and ALL CHILDREN removed? I see a query on github but it’s from 2018? Does this still apply? Is there another solution? Many thanks😊
Hi,
I have deployed 2.35 on my server, is there any new approach to removing Organizational Units with NO DATA and ALL CHILDREN removed? I see a query on github but it’s from 2018? Does this still apply? Is there another solution? Many thanks😊
Many Thanks Mamadou!
Hello,
If you have access to the logs it will help.
Sometimes, it’s because there is a dataVAlue attached to orgUnits.
Thanks,
Bonjour Diallo,
I resolved the problem, looked at the catalina logs and found a foreign key constraint which in this case a reference in category options… Remove them and was thus able to delete the organizational units.
Merci Beaucoup
Hello DHIS2 mates!
And it is possible to do this bulk deletion of org units with children and without data with an API call?
Thanks!