added remaining LSL2 entities
This commit is contained in:
11
LSL2/OIEVENT/CLICK/RDS_HOLD.HOLD_STATUS.json
Normal file
11
LSL2/OIEVENT/CLICK/RDS_HOLD.HOLD_STATUS.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "CurStatus = @CtrlEntId->value\r\nif CurStatus = 1 then\r\n * ON HOLD\r\n .unhold_operator->text = ''\r\n .unhold_operator_name->text = ''\r\n .unhold_date->text = ''\r\n .unhold_time->text = ''\r\nend else\r\n * OFF HOLD\r\n .unhold_operator->text = @user4\r\n .unhold_operator_name->text = oconv( @user4, '[XLATE_CONV,LSL_USERS*FIRST_LAST]' )\r\n .unhold_date->text = oconv( date(), 'D2/' )\r\n .unhold_time->text = oconv( time(), 'MTH' )\r\nend\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user