Hi,

I related comment is that we need to have some kind of batch insert of new
orgunits available from the orgunit gui.
E.g import from an excel file on a pre-defined format could work, and has
been used successfully  in DHIS 1. This will save the admins huge amounts of
time when setting up new orgunit hierarchies.

The format could e.g be:

parentname name shortname code geocode

Then the java code will take care of the relationship to source and input
validation etc.

Ola
-----------


On Tue, Oct 28, 2008 at 6:21 PM, Lars Helge Øverland <[EMAIL PROTECTED]>wrote:

>
>
>
>>
>> Must I operate before on source table and insert sourceID ?
>>
>
> Sorry didn't catch that. Yes, in the java code Source is a superclass for
> OrganisationUnit. So each entry in the organisationunittable must have a
> corresponding entry (id) in the source table.
>
>
>
> _______________________________________________
> Dhis-users mailing list
> [email protected]
> http://www.hisp.info/mailman/listinfo/dhis-users
>
>


-- 
best regards,
Ola Hodne Titlestad
HISP
University of Oslo
_______________________________________________
Dhis-users mailing list
[email protected]
http://www.hisp.info/mailman/listinfo/dhis-users

Reply via email to