Re: [Dhis2-users] Unable to delete data elements and programs

2017-05-08 Thread Em Le Hong
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  wrote:

> 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  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
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
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


Re: [Dhis2-users] Unable to delete data elements and programs

2017-05-08 Thread Knut Staring
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  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
___
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


[Dhis2-users] Unable to delete data elements and programs

2017-05-08 Thread Davis, Kelly
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