Hi SadakaFrom 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> a écrit : <!--#yiv3445349591 _filtered #yiv3445349591 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;} _filtered #yiv3445349591 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv3445349591 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv3445349591 #yiv3445349591 p.yiv3445349591MsoNormal, #yiv3445349591 li.yiv3445349591MsoNormal, #yiv3445349591 div.yiv3445349591MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv3445349591 a:link, #yiv3445349591 span.yiv3445349591MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv3445349591 a:visited, #yiv3445349591 span.yiv3445349591MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv3445349591 p.yiv3445349591MsoListParagraph, #yiv3445349591 li.yiv3445349591MsoListParagraph, #yiv3445349591 div.yiv3445349591MsoListParagraph {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv3445349591 span.yiv3445349591EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv3445349591 .yiv3445349591MsoChpDefault {font-family:"Calibri", sans-serif;} _filtered #yiv3445349591 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv3445349591 div.yiv3445349591WordSection1 {}#yiv3445349591 _filtered #yiv3445349591 {} _filtered #yiv3445349591 {font-family:Symbol;} _filtered #yiv3445349591 {font-family:"Courier New";} _filtered #yiv3445349591 {font-family:Wingdings;} _filtered #yiv3445349591 {font-family:Symbol;} _filtered #yiv3445349591 {font-family:"Courier New";} _filtered #yiv3445349591 {font-family:Wingdings;} _filtered #yiv3445349591 {font-family:Symbol;} _filtered #yiv3445349591 {font-family:"Courier New";} _filtered #yiv3445349591 {font-family:Wingdings;}#yiv3445349591 ol {margin-bottom:0in;}#yiv3445349591 ul {margin-bottom:0in;}--> 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: lib....@pu-ami.org Cell: +961 71 004 881 (208) Skype: imapuami Website: https://www.pu-ami.org | _______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : 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