added remaining LSL2 entities
This commit is contained in:
11
LSL2/OIEVENT/CLICK/QUOTE_SRL.RET_QUOTE_BUTTON.json
Normal file
11
LSL2/OIEVENT/CLICK/QUOTE_SRL.RET_QUOTE_BUTTON.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function end_window, msg, send_event\r\ndeclare subroutine record_lock\r\n\r\nopen 'SYSLISTS' to SysListsTable else\r\n Void = msg( '', 'Unable to open SYSLISTS...' )\r\n return 0\r\nend\r\nPrevWindow = set_property( @window, '@PrevWindow' )\r\nRecordId = 'QUOTE_ID*':@station\r\nrecord_lock( SysListsTable, 'SysLists', RecordId )\r\nwritev .quote_no->text on SysListsTable, RecordId, 1 else\r\n Void = msg( '', 'Unable to write ':.quote_no->text:' on SYSLISTS ':RecordId )\r\n return 0\r\nend\r\nunlock SysListsTable, RecordId else\r\n Void = msg( '', 'Unable to unlock SYSLISTS ':RecordId )\r\n return 0\r\nend\r\nopen 'QUOTE_SRL' to QuoteTable else\r\n Void = msg( '', 'Unable to open QUOTE_SRL...' )\r\n return 0\r\nend\r\nQuoteNo = .quote_no->text\r\nunlock QuoteTable, QuoteNo else\r\n Void = msg( '', 'Unable to unlock QUOTE_SRL ':QuoteNo )\r\n return 0\r\nend\r\nVoid = send_event( @window, 'WRITE' )\r\nVoid = end_window( @window, '' )\r\nif PrevWindow = 'Order' then\r\n Void = send_event( 'ORDER_SRL.ORDER_DETAIL', 'OMNIEVENT' )\r\nend else\r\n Void = send_event( 'ANNUAL_CONTRACTS.QUOTE_NUM', 'OMNIEVENT' )\r\nend\r\nRETURN 0"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user