← Back to team overview

dhis2-devs team mailing list archive

Getting the OU for items recorded in datavalues table


How can the OU be determined for the data in the datavalues table?
The fields are dataelementid, periodid, sourceid, categoryoptioncomboid, attributeoptioncomboid, value, storedby, created, lastupdated, comment, followup, deleted
I'm guessing it involves the sourceid field (and possibly others) but I'm having a hard time figuring it out at the moment.

Thanks in advance!

Follow ups