The AppInfo object is created from the _header function which is called in the app definition
In your app you can use this JavaScript object on every place
Example Reservation list

Example: Check User Id
if(appInfo.uid=="10") alert("current employee: 10");
Most of variables used from beas.js and ux.js for administrate standard functions and communication with the server
Properties
Property |
Type |
Description |
|---|---|---|
appId |
String |
Current App Id |
appName |
String |
Name of the current app in current language |
appSetup1 ...4 |
String |
Settings for current App |
appVersion |
String |
Version number of current app |
beasVersion |
Number |
Beas Version as Number |
commonServiceResultBehaviour |
Number |
Type of using Common Service |
gid |
String |
Program Group (terminal20) |
helpUrl |
String |
Help URL for current app |
language |
String |
Current Language in Beas Style |
lid |
String |
Location Id |
locationUDF1 ...4 |
String |
Location UDF1..4 |
ping |
Number |
seconds every Ping |
sendnop |
Number |
send NOP request every x seconds |
shift |
String |
shift defined in login mask |
stationId |
String |
name of Station defined in login mask |
uid |
String |
Current personnel Id (pers_id) |
useCommonService |
Boolean |
use Beas Common Service (true) |