Inhaltsverzeichnis

GetSystemPartnerLocationVariable

The function GetSystemPartnerLocationVariable allows global variables to be queried in JobStep 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.

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 IsTrue() or IsFalse().

Sample:

IsTrue(GetSystemPartnerLocationVariable('TestMode'))