[Dhis2-devs] delete program manually cause error!

2018-09-13 Thread 林晓东
HI,all, I can't delete the program from maintains, so, do using sql: delete from programinstance where programid='103926124' delete from dashboard_items where dashboarditemid in (select dashboarditemid from dashboarditem where eventreport in (select eventreportid from eventreport where progra

Re: [Dhis2-devs] delete program manually cause error!

2018-09-13 Thread Markus Bekken
Hi Lin! When updating data in the database in a running server, there might be a mismatch between cached data and the actual content of the database. I suggest you restart the dhis instance, and expect that this will fix your problem. Markus > 13. sep. 2018 kl. 15:05 skrev 林晓东 : > > HI,all, >

[Dhis2-devs] API call to hard delete Enrollments

2018-09-13 Thread Chichaybelu, Hiwot
DHIS2 Devs, I’m working on a program that deals with tracked entity instances and I have a use case that requires me to hard delete Enrollments. Is there an api call that lets me do this (other than through the maintenance api)? If there isn’t one, is there a way to delete Notes from Enrollment