added remaining LSL2 entities
This commit is contained in:
11
LSL2/OIEVENT/CLICK/WO_LOG.CYCLE_TIME.json
Normal file
11
LSL2/OIEVENT/CLICK/WO_LOG.CYCLE_TIME.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "CurValue = @CtrlEntId->value\r\nReceivedDate = iconv( .received_date->text, 'D' )\r\nCommitDate = ''\r\n\r\nif ( ReceivedDate <> '' ) then\r\n\tbegin case\r\n\t case CurValue = 'P'\r\n\t * PRIORITY SO ADD TWO DAYS\r\n\t .commit_date->text = oconv( ReceivedDate+2, 'D2/' )\r\n\t case CurValue = 'E'\r\n\t * EXPRESS SO ADD SEVEN DAYS \r\n\t .commit_date->text = oconv( ReceivedDate+7, 'D2/' )\r\n\t case CurValue = 'F'\r\n\t * FIRST IN FIRST OUT SO ADD 14 DAYS\r\n\t .commit_date->text = oconv( ReceivedDate+14, 'D2/' )\r\n\tend case\r\nend\r\nRETURN 1"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user