It is very difficult to delete organisation units, because they are linked to so many other things beyond just data.
Things to check include datasets, orgunit groups, datavalueaudits, programs, completedatasetregistrations On Mon, Mar 5, 2018 at 11:43 AM, Stanley Kalyati <skaly...@gmail.com> wrote: > I am failing to delete and an organisation unit. > > I am getting this error: ERROR: update or delete on table > "organisationunit" violates foreign key constraint > > I have tried to check if there is some data attached but i cant seem to > find any. > > Is there a web api command that i can use either at the server end of UI > within the system? > > Regards > > Stanley > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > -- Knut Staring Department of Information, Evidence and Research World Health Organization, Geneva, Switzerland Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522 Skype: knutstar
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp