Category: Anveo Mobile App

GLOBALLANGUAGECODE

string GLOBALLANGUAGECODE(); Returns the language code for example ENU for English (USA).

SETGLOBALLANGUAGE

void SETGLOBALLANGUAGE(string languageCode); Ustawia język za pomocą kodu języka, takiego jak ENU dla języka angielskiego (USA). void SETGLOBALLANGUAGE(int languageID); Ustawia język przy użyciu identyfikatora języka, np. 1033 dla języka angielskiego (USA).

GLOBALLANGUAGE

int GLOBALLANGUAGE(); Returns language ID for example 1033 for English (USA).

GETOSNAME

string GETOSNAME(); Returns operating system: ANDROID, IOS or WINDOWS.

PAGE('GETDEVICEINFO',...)

string PAGE(’GETDEVICEINFO’, string Type); Example: MESSAGE(’Model:’ .. PAGE(’GETDEVICEINFO’,’MODEL’)); Returns environment information. The following values are available:

GetAnveoUserCode

string GetAnveoUserCode(); Example: if (GetAnveoUserCode() == 'MILLER’) then … end; Returns current Anveo User Code.

GetAnveoUser

Record GetAnveoUser(); Zwraca rekord tabeli ACF Anveo User, który jest ustawiony na bieżącego użytkownika Anveo. Example: local AnveoUser = GetAnveoUser(); if (AnveoUser:GETVALUE(’Relation Type’) == 2) then MESSAGE(’My relation code is Customer No. ’ .....

DEVICEID

string DEVICEID(); Returns unique device ID. It is created by Anveo upon first installation. It remains the same until the app is uninstalled.