{
    "header": {
        "version": 1,
        "type": "record"
    },
    "body": {
        "record1": {
            "<1>": "declare function dialog_box, set_property, msg, security_check\r\ndeclare subroutine security_err_msg\r\n$insert msg_equates\r\n$insert quote_spec_equ\r\n$insert security_rights_equ\r\n\r\nif security_check( 'Spec', Read$ ) then\r\n\tEpiInfo       = .spec_epi->text\r\n\tSubstrateInfo = .spec_substrate->text\r\n\tArray = .quote_detail->array\r\n\tQuantity = Array<4,1> ;* first line in quantity \r\n\tPrice    = Array<5,1> ;* first line in price\r\n\tRowInfo = .quote_detail->rowdata\r\n\tHoldVar = SubstrateInfo:char(244):EpiInfo \r\n\tReturnVal = dialog_box( 'QUOTE_SPEC_INFO', @window, RowInfo:char(244):SubstrateInfo:char(244):EpiInfo:char(244):'*CENTER' )\r\n\t\tif ( ReturnVal <> '' ) and ( ReturnVal <> 'CANCEL' ) and ( ReturnVal <> HoldVar ) then\r\n        \tif security_check( 'Spec', Write$ ) then\r\n\t\t\t\tconvert char(244) to @fm in ReturnVal\r\n\t\t\t\tSubstrateInfo = ReturnVal<1>\r\n\t\t\t\tEpiInfo       = ReturnVal<2>\r\n\t\t\t\t.spec_epi->text = EpiInfo\r\n\t\t\t\t.spec_substrate->text = SubstrateInfo\r\n\t\t        .wafer_desc->text = SubstrateInfo<1,QSSubWaferSize$>:' ':SubstrateInfo<1,QSSubOrientation$>\r\n\t\t        @@window->savewarn = 1\r\n\t\t    end else\r\n    \t\t    security_err_msg( 'Spec', Write$ )\r\n    \t\tend\r\n\t\tend\r\nend else\r\n   security_err_msg( 'Spec', Read$ )\r\nend\r\nRETURN 0"
        }
    }
}