Hi all,
I am trying to delete a data element but receive the following error message: “Could not delete due to association with another object: TracledEntityDataValue.” What does this mean? And how do I go about deleting the data element given this message?
Also, I’m trying to delete a program and receive the following error message: Object not deleted because it is associated by objects of type. Could not delete due to association with another object: ProgramStageInstance.” I’m not sure how to go about handling this one, either.
Any help would be greatly appreciated!
Best,
Kelly
Hi Kelly,
You cannot delete the data element because you already have data entered for it (specifically Tracker data).
Regards,
Knut
···
On Mon, May 8, 2017 at 4:07 PM, Davis, Kelly kdavis@path.org wrote:
Hi all,
I am trying to delete a data element but receive the following error message: “Could not delete due to association with another object: TracledEntityDataValue.” What does this mean? And how do I go about deleting the data element given this message?
Also, I’m trying to delete a program and receive the following error message: Object not deleted because it is associated by objects of type. Could not delete due to association with another object: ProgramStageInstance.” I’m not sure how to go about handling this one, either.
Any help would be greatly appreciated!
Best,
Kelly
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
–
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Hi Davis,
In order to delete program (with registration) and dataElements, first you need to delete all events and tracked entity instance belongs to that program. In addition, you also need to remove the program out of the userRole, then go to Data Administration module do maintenance task (Permanently remove soft deleted data values, Permanently remove soft deleted events). After that, you need to delete program stages first, and finally delete program (dataElements).
Hope this work for you.
Sincerely,
···
On Mon, May 8, 2017 at 9:14 PM, Knut Staring knutst@gmail.com wrote:
Hi Kelly,
You cannot delete the data element because you already have data entered for it (specifically Tracker data).
Regards,
Knut
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
–
On Mon, May 8, 2017 at 4:07 PM, Davis, Kelly kdavis@path.org wrote:
Hi all,
I am trying to delete a data element but receive the following error message: “Could not delete due to association with another object: TracledEntityDataValue.” What does this mean? And how do I go about deleting the data element given this message?
Also, I’m trying to delete a program and receive the following error message: Object not deleted because it is associated by objects of type. Could not delete due to association with another object: ProgramStageInstance.” I’m not sure how to go about handling this one, either.
Any help would be greatly appreciated!
Best,
Kelly
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
–
Em Le Hong
DHIS2 Implementation| **HISP Vietnam **
em.hispvietnam@gmail.com | Skype: em.hispvietnam@gmail.com