OrgUnitConstructor |
[This is preliminary documentation and is subject to change.]
Construct and return an OrgUnit object, read from database, Identified by key value(s).
OrgUnitConstructor(key)
Name | Type | Description |
---|---|---|
key | String | The full key identifying an OrgUnit object in the form <type>:<code>. |
OrgUnitConstructor(type, code)
Name | Type | Description |
---|---|---|
type | String | The Type-value (part 1 of the key) |
code | String | The Code-value (part 2 of the key) |
The OrgUnit object identified by the passed key value(s) - null if not found
Expression | Result |
---|---|
OrgUnitConstructor("reg:81") | The OrgUnit object having Type="reg" and Code="81" - null if it does not exist. |
OrgUnitConstructor("reg", "81") | The OrgUnit object having Type="reg" and Code="81" - null if it does not exist. |
OrgUnitConstructor("reg:81").Type | "reg" |
OrgUnitConstructor("reg:81").Code | "81" |