Re: [Dhis2-devs] Getting the OU for items recorded in datavalues table

2018-06-24 Thread Calle Hedberg
Hi, Incorrect - the term "sourceid" has never been used in DHIS v1. DHIS1 introduced and maintained the principle that the id reference field for any table would be called id. I'm not sure WHY it was decided at the time to change this principle for some of the organisationunitid foreign key field

Re: [Dhis2-devs] Getting the OU for items recorded in datavalues table

2018-06-24 Thread Knut Staring
This is an unfortunate relic in a few key tables. Dates back to 2005... On Tue, Jun 19, 2018, 2:35 PM Edward Robinson wrote: > Oh wow, that simple? Sourceid = organisationunitid? > > Thanks for the quick response David. For some reason I was expecting > organisationunitid to be present in the

Re: [Dhis2-devs] Getting the OU for items recorded in datavalues table

2018-06-24 Thread Brajesh Murari
Welcome Robin On Wed 20 Jun, 2018, 1:08 PM Edward Robinson, wrote: > Thank you Brajesh, > > Ed > > > > *From:* Brajesh Murari > *Sent:* Tuesday, 19 June 2018 4:47 PM > *To:* Edward Robinson > *Cc:* David Huser ; DHIS 2 developers < > dhis2-devs@lists.launchpad.net> > *Subject:* Re: [Dhis2-devs