11 lines
1.0 KiB
JSON
11 lines
1.0 KiB
JSON
{
|
|
"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\nCustIds = .customer_info->array<1>\r\nswap @vm:@vm with '' in CustIds\r\nif CustIds[-1,1] = @vm then CustIds[-1,1] = ''\r\nDateInFrom = .date_in_from->text\r\nDateInThru = .date_in_thru->text\r\nDetSum = .det_sum->text\r\nReactors = .reactors->array\r\nswap @vm:@vm with '' in Reactors\r\nif Reactors[-1,1] = @vm then Reactors[-1,1] = ''\r\nif DateInFrom or DateInThru then\r\n\tDirToPrint = .send_to_printer->text\r\n\tLslCompany = .lsl_company->text\r\n\tRetVal = DateInFrom:'*':DateInThru:'*':DirToPrint:'*':CustIds:'*':DetSum:'*':Reactors\r\n\tend_dialog( @window, RetVal )\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"
|
|
}
|
|
}
|
|
} |