dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #06136
Re: Delete org unit
I just want to reiterate on his point.. there is a foreign key restraint on
orgunit from the datavalue table
This means you need to delete any datavalue that references that ou before
deleting it
On Jan 17, 2015 6:54 PM, "Pepe Ken Mvulu" <pepekento1@xxxxxxxxx> wrote:
> Hi all,
> Thank you very much my friends, I'll try and I'll let you know
>
> Regards
>
> Pepe Ken
>
> 2015-01-17 11:18 GMT+01:00 Joseph K. Osborn <osbornlegrand@xxxxxxxxxx>:
>
>> Hi Pepe,
>>
>> Let's me call you in your phone number or skype and try to help you.
>> But notice there is a table named " *Datavalue " *who is associated with
>> the organisation unit table.
>> Let's do it in french my dear.
>>
>> ------------------------------
>> Date: Sat, 17 Jan 2015 04:27:42 +0100
>> From: pepekento1@xxxxxxxxx
>> To: dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Subject: [Dhis2-users] Delete org unit
>>
>>
>> Hi all,
>>
>> I'm quite new to dhis2, and still learning it. I'm using dhis v2.17.
>>
>> I had created an organisation unit and have data entry.
>> How can I remove it directly in DHIS2 ?
>> I already delete all data in the dataset, but when I try to delete, I get
>> the following message "*Objet not deleted because it associated by
>> objects of type Datavalue"*
>> Is that possible ?
>>
>> Best regards,
>>
>> Pepe Ken
>>
>> _______________________________________________ Mailing list:
>> https://launchpad.net/~dhis2-users Post to :
>> dhis2-users@xxxxxxxxxxxxxxxxxxx Unsubscribe :
>> https://launchpad.net/~dhis2-users More help :
>> https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
References