MY(field_full_identifier)
|
|
The field_full_identifier value you specify must exist in the io_user or io_user_parameter object. If the full identifier exists in both objects, the io_user field value is used in queries.
|
|
Parameter Name
|
Description
|
Example
|
|---|---|---|
|
field_full_identifier
|
A field in the User or User Preference record for the currently logged-in user.
|
io_username, io_default_language, io_default_time_zone, io_first_name, io_last_name
|
import com.servicemax.core.Database;
def records = Database.query("select * from svmx_job where svmx_country = MY('core_user_country')");
def record = records.get(0);
record.svmx_country // this is in the example UK.