{
    "header": {
        "version": 1,
        "type": "record"
    },
    "body": {
        "record1": {
            "<1>": "declare subroutine rlist, set_list_box_data, security_err_msg, Comm_RDS\r\ndeclare function send_event, set_property, end_window, security_check\r\ndeclare function center_window, fieldcount\r\n$insert security_rights_equ\r\n$insert rlist_equates\r\n$insert lsl_common\r\n\r\nVoid = set_property( @window, '@CurQuery', '' )\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 index( CreateParam, 'CALLVERIFICATION', 1 ) then\r\n   * USED AS A FLAG ON READ AS TO AUTOMATICALLY CALL THE WORK ORDER VERIFICATION NUMBER\r\n   Void = set_property( @window, '@CALLVERIFICATION', 1 )\r\nend else\r\n   Void = set_property( @window, '@CALLVERIFICATION', '' )\r\nend\r\n\r\nKeys = field( CreateParam, '*', 1 )\r\nif Keys then\r\n    if fieldcount( Keys, @vm ) > 1 then\r\n\t    * need to send to qbf\r\n\t\tconvert @vm to @fm in Keys\r\n\t\tVoid = set_property( @window, 'QBFLIST', Keys ) \r\n\t    Void = set_property( @window, '@NoRead', 1 )\r\n\t    .rds_no->text = Keys<1> \r\n\t    Void = send_event( @window, 'READ' )\r\n\t    Void = set_property( @window, '@NoRead', 0 )\r\n\tend else\r\n\t    .rds_no->text = Keys\r\n\t    Void = send_event( @window:'.RDS_NO', 'LOSTFOCUS', '' )\r\n\tend\r\nend \r\nif security_check( 'RDS', Read$ ) then\r\n   set_list_box_data( @window )\r\nend else\r\n   security_err_msg( 'RDS', Read$ )\r\n   Void = end_window( @window, '' )\r\n   return 0\r\nend\r\nif security_check( 'RDS', Edit$ ) else\r\n   security_err_msg( 'RDS', Edit$ )\r\nend\r\n\r\nVoid = set_property( @window, '@NoRead', 0 )\r\nEpiOvrControls = 'THICK_MIN/THICK_TARGET/THICK_MAX/THICK_UNITS/RES_MIN/'\r\nEpiOvrControls:= 'RES_TARGET/RES_MAX/RES_UNITS/CON_MIN/CON_TARGET/CON_MAX/'\r\nEpiOvrControls:= 'CON_UNITS/STATUS'\r\nswap '/' with @rm:@window:'.' in EpiOvrControls\r\nEpiOvrControls = @window:'.':EpiOvrControls\r\nVoid = set_property( @window, '@EpiOvrControls', EpiOvrControls )\r\n\r\nComm_RDS('FirstRefresh')\t\t;* Added 12/1/2004 JCH\r\n\r\nRETURN 1"
        }
    }
}