Thank you Sakibou! It worked.
All the best, Bernard Bernard Sadaka Information Management Advisor Première Urgence - Aide Médicale Internationale Nehmeh Building, Sanine Street, Chiyah, 3rd Floor Ain el Remmaneh, Beirut, Lebanon E-mail: <mailto:lib....@pu-ami.org> lib....@pu-ami.org Cell: +961 71 004 881 (208) Skype: imapuami Website: <https://www.pu-ami.org/> https://www.pu-ami.org From: Sakibou ALASSANI [mailto:sakibou.al...@yahoo.fr] Sent: Tuesday, April 10, 2018 2:27 PM To: Bernard Sadaka (IM Advisor) <lib....@pu-ami.org>; 'DHIS 2 Developers list' <dhis2-devs@lists.launchpad.net>; dhis2-us...@lists.launchpad.net Subject: Re: [Dhis2-users] org unit in program variable/rule Hi Sadaka >From my knowledge Only orgunit code is supported at now You can use V{orgunit_code} in the assignment expression ---- Sakibou Le mardi 10 avril 2018 à 10:59:39 UTC, Bernard Sadaka (IM Advisor) <lib....@pu-ami.org <mailto:lib....@pu-ami.org> > a écrit : Hello all, Is there a way to get the organization unit as a program variable and/or use it in the program rules? My usecase is that I want to use the program rule to create a unique value based on: * The PHCC (org unit) * The family number * The individual number Thanks in advance for the help. All the best, Bernard Bernard Sadaka Information Management Advisor Première Urgence - Aide Médicale Internationale Nehmeh Building, Sanine Street, Chiyah, 3rd Floor Ain el Remmaneh, Beirut, Lebanon E-mail: <mailto:lib....@pu-ami.org> lib....@pu-ami.org Cell: +961 71 004 881 (208) Skype: imapuami Website: <https://www.pu-ami.org/> https://www.pu-ami.org _______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-us...@lists.launchpad.net <mailto:dhis2-us...@lists.launchpad.net> Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp