dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #44423
Re: DELETING FACILITIES WITH DATA FROM THE DHIS
Mohamed,
I find that the far easiest way of doing this is to
1. Identify all the facilities you want to delete
2. Use a script (simple) to delete any datavalue records linked to those
facilities
3. Delete the facilities in the normal user interface, to ensure all
related meta-data is removed.
Regards
Calle
On 13 April 2016 at 13:24, Mohamed Bangura <mbangs87@xxxxxxxxx> wrote:
> Hi all,
>
> We are currently trying to delete old facilities from our main server
> but nothing seems to be happening since these facilities already have
> data.Is there a way one can do this or disable the facilities as this
> is currently affecting the completeness of our data.
>
> I need your help please.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
--
*******************************************
Calle Hedberg
46D Alma Road, 7700 Rosebank, SOUTH AFRICA
Tel/fax (home): +27-21-685-6472
Cell: +27-82-853-5352
Iridium SatPhone: +8816-315-19119
Email: calle.hedberg@xxxxxxxxx
Skype: calle_hedberg
*******************************************
References