{ "header": { "version": 1, "type": "record" }, "body": { "record1": { "<1>": "declare function rowexists, msg, post_event\r\n$insert msg_equates\r\n\r\nif rowexists( 'REACT_SERVS', .serv_id->text ) else\r\n .entry_id->text = @user4\r\nend\r\nif ( .status->value = 'I' ) then\r\n if .inactive_date->text = '' then\r\n MsgInfo = ''\r\n MsgInfo = 'You must enter an inactive date if you are inactivating this reactor service...'\r\n MsgInfo = '!'\r\n Void = msg( '', MsgInfo )\r\n @@window->focus = @window:'.INACTIVE_DATE'\r\n Void = post_event( @window:'.INACTIVE_DATE', 'GOTFOCUS' )\r\n return 0\r\n end\r\nend\r\nreturn 1\r\n" } } }