Hi Lars,

Thanks for the quick reply. Does this mean if we soft delete all data
values associated with a data element we will then be able to hard delete
the data element?

Thanks,

Lorill

On Fri, Nov 18, 2016 at 8:54 AM, Lars Helge Øverland <[email protected]> wrote:

> Hi Lorill,
>
> in 2.25 we introduced "soft data value" delete, meaning that in the
> database we simply mark data values as deleted using the "deleted" property
> (this is transparent to the users). This means that foreign key constraints
> from data value audit values should not be a problem anymore. Let us know
> if that solves it.
>
> regards,
>
> Lars
>
>
>
> On Fri, Nov 18, 2016 at 5:48 PM, Lorill Crees <[email protected]> wrote:
>
>> Hi,
>>
>> We have a long standing request to allow users of our custom DHIS 2 app
>> to delete specific Data Sets and all corresponding data elements and
>> values. We need to do this via the API.
>>
>> It seems the only thing preventing us from doing this now is the deletion
>> of datavalueaudit records. Is there any plan to allow deletion of 
>> datavalueaudit
>> records via the API? Or to remove dependencies from the datavalueaudit
>> records so they can be standalone and not prevent the deletion of the
>> corresponding data elements?
>>
>> Thanks,
>>
>> Lorill
>>
>> On Thu, Nov 17, 2016 at 11:37 PM, channara rin <[email protected]>
>> wrote:
>>
>>> YES,
>>> thank you for reminding...
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : [email protected]
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lorill Crees
>> Project Leader / Senior Developer
>> 2Paths Solutions Ltd. <http://www.2paths.com>
>>
>> [email protected]
>> skype: lorill2paths
>> (604) 689-4123 x 15
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : [email protected]
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> [email protected]
> http://www.dhis2.org <https://www.dhis2.org/>
>
>


-- 
Lorill Crees
Project Leader / Senior Developer
2Paths Solutions Ltd. <http://www.2paths.com>

[email protected]
skype: lorill2paths
(604) 689-4123 x 15
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to