11 lines
1.6 KiB
JSON
11 lines
1.6 KiB
JSON
{
|
|
"header": {
|
|
"version": 1,
|
|
"type": "record"
|
|
},
|
|
"body": {
|
|
"record1": {
|
|
"<1>": "declare subroutine btree.extract, update_index, rlist, end_dialog\r\ndeclare function msg, key_sort, utility, fieldcount\r\n$insert lsl_users_equ\r\n$insert msg_equates\r\n\r\nEntryDateFrom = .entry_date_from->text\r\nEntryDateThru = .entry_date_thru->text\r\nScheduled = .scheduled->value\r\nPSNTypes = ''\r\nPreProd = .preprod->check\r\nif PreProd then\r\n PSNTypes<1,-1> = 'E'\r\nend\r\nResearch = .research->check\r\nif Research then\r\n PSNTypes<1,-1> = 'R'\r\nend\r\nProd = .prod->check\r\nif Prod then\r\n PSNTypes<1,-1> = 'P'\r\nend\r\nQual = .qual->check\r\nif Qual then\r\n PSNTypes<1,-1> = 'Q'\r\nend\r\nMatrix = .matrix->check\r\nif Matrix then\r\n PSNTypes<1,-1> = 'M'\r\nend\r\nif Scheduled then\r\n if PSNTypes = '' then\r\n MsgInfo = ''\r\n MsgInfo<mtext$> = 'You must select at least one spec type...Due to selecting Scheduled.'\r\n MsgInfo<micon$> = 'H'\r\n Void = msg( '', MsgInfo )\r\n return 0\r\n end\r\n if ( EntryDateFrom = '' ) and ( EntryDateThru = '' ) then\r\n MsgInfo = ''\r\n MsgInfo<mtext$> = 'You must enter an entry date from and/or entry date thru.'\r\n MsgInfo<micon$> = 'H'\r\n Void = msg( '', MsgInfo )\r\n return 0 \r\n end\r\nend\r\n* THE REPORT CODE WILL SWAP THE @VMS WITH QUOTES FOR THE REPORT\r\nRetVal = Scheduled:'*':PSNTypes:'*':EntryDateFrom:'*':EntryDateThru\r\nend_dialog( @window, RetVal )\r\nreturn 0"
|
|
}
|
|
}
|
|
} |