11 lines
865 B
JSON
11 lines
865 B
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$insert logical\r\n\r\nActive = .active_check->check\r\nInactive = .inactive_check->check\r\nCustIds = .customer_info->array<1>\r\nswap @vm:@vm with '' in CustIds\r\nif CustIds[-1,1] = @vm then CustIds[-1,1] = ''\r\nDirToPrint = .send_to_printer->text\r\n*if ( CustIds <> '' ) then\r\n\tRetVal = CustIds:'*':Active:'*':Inactive:'*':DirToPrint\r\n\tend_dialog( @window, RetVal )\r\n*end else\r\n* MsgInfo = ''\r\n* MsgInfo<mtext$> = 'You must enter data into every field for the report to work properly...'\r\n* MsgInfo<micon$> = '!'\r\n* Void = msg( '', MsgInfo )\r\n*end\r\nreturn 0\r\n"
|
|
}
|
|
}
|
|
} |