11 lines
710 B
JSON
11 lines
710 B
JSON
{
|
|
"header": {
|
|
"version": 1,
|
|
"type": "record"
|
|
},
|
|
"body": {
|
|
"record1": {
|
|
"<1>": "declare function security_check, center_window\r\ndeclare subroutine end_dialog, security_err_msg\r\n$insert security_rights_equ\r\n\r\n* THIS WINDOW WAS INITIALLY A REPORT FOR THE INVOICE TABLE,\r\n* BUT IT IS NOW A REPORT FOR THE COC TABLE\r\n\r\nif index( CreateParam, 'CENTER', 1 ) then\r\n void = center_window( @window )\r\nend else\r\n Void = set_property( @window, 'VISIBLE', 1 )\r\nend\r\n\r\nif security_check( 'Invoice', Print$ ) else\r\n security_err_msg( 'Invoice', Print$ )\r\n end_dialog( @window, 'CANCEL' )\r\nend\r\nRETURN 0"
|
|
}
|
|
}
|
|
} |