{
    "header": {
        "version": 1,
        "type": "record"
    },
    "body": {
        "record1": {
            "<1>": "declare function sched_rpt1, send_event, msg, ex_vm_rem\r\ndeclare subroutine end_dialog\r\n$insert msg_equates\r\n\r\nBillDateFrom = .bill_date_from->text\r\nBillDateThru = .bill_date_thru->text\r\nPlant        = .plant->text\r\nCusts        = .customer_info->array<1>\r\nCusts = ex_vm_rem(Custs)\r\nif BillDateFrom or BillDateThru then\r\n*DirToPrint = .send_to_printer->text\r\n   DirToPrint = ''\r\n   RetVal = BillDateFrom:'*':BillDateThru:'*':Custs:'*':Plant:'*':DirToPrint\r\n   end_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"
        }
    }
}