added remaining LSL2 entities
This commit is contained in:
11
LSL2/OIEVENT/CLICK/INVOICE_RPT1.RUN_REPORT_BUTTON.json
Normal file
11
LSL2/OIEVENT/CLICK/INVOICE_RPT1.RUN_REPORT_BUTTON.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"header": {
|
||||
"version": 1,
|
||||
"type": "record"
|
||||
},
|
||||
"body": {
|
||||
"record1": {
|
||||
"<1>": "declare function sched_rpt1, send_event, msg\r\ndeclare subroutine end_dialog\r\n$insert msg_equates\r\n\r\nCusts = .customer_info->array<1>\r\nswap @vm:@vm with '' in custs\r\nif Custs[-1,1] = @vm then custs[-1,1] = ''\r\nDueDateFrom = .due_date_from->text\r\nDueDateThru = .due_date_thru->text\r\nOpen = .open_check->check \r\nClosed = .closed_check->check\r\nPlant = .plant->text\r\nif DueDateFrom or DueDateThru then\r\n if Open or Closed then\r\n\t\tDirToPrint = .send_to_printer->text\r\n\t\tRetVal = Custs:'*':DueDateFrom:'*':DueDateThru:'*':Open:'*':Closed:'*':DirToPrint:'*':Plant\r\n\t\tend_dialog( @window, RetVal )\r\n\tend else\r\n MsgInfo = ''\r\n MsgInfo<mtext$> = 'You must check an Open or Closed status.'\r\n MsgInfo<micon$> = '!'\r\n Void = msg( '', MsgInfo )\r\n end\r\nend else\r\n MsgInfo = ''\r\n MsgInfo<mtext$> = 'You must have a from date or a thru date.'\r\n MsgInfo<micon$> = '!'\r\n Void = msg( '', MsgInfo )\r\nend\r\nreturn 0\r\n"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user