====== GetSystemPartnerLocationVariable ======
The function //GetSystemPartnerLocationVariable// allows global variables to be queried in JobStep [[en:prozessdefinition:jobs:jobsteps:allgemein:entityifcase]] or in mappings. Return value is the value of the variable of a partner HeadQuarter location.
==== Syntax: ====
GetSystemPartnerLocationVariable(VariablenName, GLN) as string
==== Sample: ====
GetSystemPartnerLocationVariable('GLN_recoding','1234567890123') = 'True'
This expression returns a boolean **true** if the variable "GLN_recoding" is instantiated on the system partner location with GLN "1234567890123" and the variable "True" is used.
{{:images:sign_warning.png}}**Note:** If the variable is created as a flag and you want to query for the boolean value in the mapping or job, the function must be encapsulated again with [[en:transformation:mappings:funktionen:allgemein:istrue|IsTrue()]] or [[en:transformation:mappings:funktionen:allgemein:isfalse|IsFalse()]].
==== Sample: ====
IsTrue(GetSystemPartnerLocationVariable('TestMode'))