gx.evt.autoSkip=false;function gx03f0(){this.ServerClass="Gx03F0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pUsbCod=gx.fn.getControlValue("vPUSBCOD");this.AV14pRllTip=gx.fn.getControlValue("vPRLLTIP");this.AV15pRllNroSequencia=gx.fn.getIntegerValue("vPRLLNROSEQUENCIA",".")};this.e13c22_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14c21_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,48,52,53,54,55,56,57,58,61];this.GXLastCtrlId=61;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03f0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(787,53,"USBCOD","Código do leitor","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",true,0,false,false);
this.Grid1Container.addComboBox(740,54,"RLLTIP","Tipo de relacionamento","RllTip","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(739,55,"RLLNROSEQU","Nr. sequência","","RllNroSequ","int",0,"px",3,3,"right",null,[],739,"RllNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(738,56,"RLLNOMITEM","Nome","Selecionar","RllNomItem","char",0,"px",50,50,"left",null,[],738,"RllNomItem",true,0,false,false);this.Grid1Container.addSingleLineEdit(736,57,"RLLIND1","Indicador 1","","RllInd1","char",0,"px",1,1,"left",null,[],736,"RllInd1",true,0,false,false);
this.Grid1Container.addSingleLineEdit(737,58,"RLLIND2","Indicador 2","","RllInd2","char",0,"px",1,1,"left",null,[],737,"RllInd2",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKUSBCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSBCOD",gxz:"ZV6cUsbCod",gxold:"OV6cUsbCod",gxvar:"AV6cUsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cUsbCod=a
},v2z:function(a){gx.O.ZV6cUsbCod=a},v2c:function(){gx.fn.setControlValue("vCUSBCOD",gx.O.AV6cUsbCod,0)},c2v:function(){gx.O.AV6cUsbCod=this.val()},val:function(){return gx.fn.getControlValue("vCUSBCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKRLLTIP",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRLLTIP",gxz:"ZV7cRllTip",gxold:"OV7cRllTip",gxvar:"AV7cRllTip",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV7cRllTip=a
},v2z:function(a){gx.O.ZV7cRllTip=a},v2c:function(){gx.fn.setComboBoxValue("vCRLLTIP",gx.O.AV7cRllTip)},c2v:function(){gx.O.AV7cRllTip=this.val()},val:function(){return gx.fn.getControlValue("vCRLLTIP")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKRLLNROSEQUENCIA",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCRLLNROSEQUENCIA",gxz:"ZV8cRllNroSequencia",gxold:"OV8cRllNroSequencia",gxvar:"AV8cRllNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cRllNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cRllNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCRLLNROSEQUENCIA",gx.O.AV8cRllNroSequencia,0)},c2v:function(){gx.O.AV8cRllNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCRLLNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKRLLNOMITEMRELACIONADO",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRLLNOMITEMRELACIONADO",gxz:"ZV9cRllNomItemRelacionado",gxold:"OV9cRllNomItemRelacionado",gxvar:"AV9cRllNomItemRelacionado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cRllNomItemRelacionado=a
},v2z:function(a){gx.O.ZV9cRllNomItemRelacionado=a},v2c:function(){gx.fn.setControlValue("vCRLLNOMITEMRELACIONADO",gx.O.AV9cRllNomItemRelacionado,0)},c2v:function(){gx.O.AV9cRllNomItemRelacionado=this.val()},val:function(){return gx.fn.getControlValue("vCRLLNOMITEMRELACIONADO")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKRLLTIPRELACAO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRLLTIPRELACAO",gxz:"ZV10cRllTipRelacao",gxold:"OV10cRllTipRelacao",gxvar:"AV10cRllTipRelacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cRllTipRelacao=a
},v2z:function(a){gx.O.ZV10cRllTipRelacao=a},v2c:function(){gx.fn.setControlValue("vCRLLTIPRELACAO",gx.O.AV10cRllTipRelacao,0)},c2v:function(){gx.O.AV10cRllTipRelacao=this.val()},val:function(){return gx.fn.getControlValue("vCRLLTIPRELACAO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKRLLIND1",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRLLIND1",gxz:"ZV11cRllInd1",gxold:"OV11cRllInd1",gxvar:"AV11cRllInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cRllInd1=a
},v2z:function(a){gx.O.ZV11cRllInd1=a},v2c:function(){gx.fn.setControlValue("vCRLLIND1",gx.O.AV11cRllInd1,0)},c2v:function(){gx.O.AV11cRllInd1=this.val()},val:function(){return gx.fn.getControlValue("vCRLLIND1")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKRLLIND2",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCRLLIND2",gxz:"ZV12cRllInd2",gxold:"OV12cRllInd2",gxvar:"AV12cRllInd2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cRllInd2=a
},v2z:function(a){gx.O.ZV12cRllInd2=a},v2c:function(){gx.fn.setControlValue("vCRLLIND2",gx.O.AV12cRllInd2,0)},c2v:function(){gx.O.AV12cRllInd2=this.val()},val:function(){return gx.fn.getControlValue("vCRLLIND2")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setGridControlValue("USBCOD",gx.fn.currentGridRowImpl(51),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RLLTIP",gxz:"Z740RllTip",gxold:"O740RllTip",gxvar:"A740RllTip",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A740RllTip=a
},v2z:function(a){gx.O.Z740RllTip=a},v2c:function(){gx.fn.setGridComboBoxValue("RLLTIP",gx.fn.currentGridRowImpl(51),gx.O.A740RllTip)},c2v:function(){gx.O.A740RllTip=this.val()},val:function(){return gx.fn.getGridControlValue("RLLTIP",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"RLLNROSEQU",gxz:"Z739RllNroSequ",gxold:"O739RllNroSequ",gxvar:"A739RllNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A739RllNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z739RllNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("RLLNROSEQU",gx.fn.currentGridRowImpl(51),gx.O.A739RllNroSequ,0)},c2v:function(){gx.O.A739RllNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("RLLNROSEQU",gx.fn.currentGridRowImpl(51),".")},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RLLNOMITEM",gxz:"Z738RllNomItem",gxold:"O738RllNomItem",gxvar:"A738RllNomItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A738RllNomItem=a
},v2z:function(a){gx.O.Z738RllNomItem=a},v2c:function(){gx.fn.setGridControlValue("RLLNOMITEM",gx.fn.currentGridRowImpl(51),gx.O.A738RllNomItem,0)},c2v:function(){gx.O.A738RllNomItem=this.val()},val:function(){return gx.fn.getGridControlValue("RLLNOMITEM",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RLLIND1",gxz:"Z736RllInd1",gxold:"O736RllInd1",gxvar:"A736RllInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A736RllInd1=a
},v2z:function(a){gx.O.Z736RllInd1=a},v2c:function(){gx.fn.setGridControlValue("RLLIND1",gx.fn.currentGridRowImpl(51),gx.O.A736RllInd1,0)},c2v:function(){gx.O.A736RllInd1=this.val()},val:function(){return gx.fn.getGridControlValue("RLLIND1",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"RLLIND2",gxz:"Z737RllInd2",gxold:"O737RllInd2",gxvar:"A737RllInd2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A737RllInd2=a
},v2z:function(a){gx.O.Z737RllInd2=a},v2c:function(){gx.fn.setGridControlValue("RLLIND2",gx.fn.currentGridRowImpl(51),gx.O.A737RllInd2,0)},c2v:function(){gx.O.A737RllInd2=this.val()},val:function(){return gx.fn.getGridControlValue("RLLIND2",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[61]={fld:"TABLE4",grid:0};this.AV6cUsbCod="";this.ZV6cUsbCod="";this.OV6cUsbCod="";this.AV7cRllTip="";this.ZV7cRllTip="";this.OV7cRllTip="";this.AV8cRllNroSequencia=0;this.ZV8cRllNroSequencia=0;
this.OV8cRllNroSequencia=0;this.AV9cRllNomItemRelacionado="";this.ZV9cRllNomItemRelacionado="";this.OV9cRllNomItemRelacionado="";this.AV10cRllTipRelacao="";this.ZV10cRllTipRelacao="";this.OV10cRllTipRelacao="";this.AV11cRllInd1="";this.ZV11cRllInd1="";this.OV11cRllInd1="";this.AV12cRllInd2="";this.ZV12cRllInd2="";this.OV12cRllInd2="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z787UsbCod="";this.O787UsbCod="";this.Z740RllTip="";this.O740RllTip="";this.Z739RllNroSequ=0;this.O739RllNroSequ=0;
this.Z738RllNomItem="";this.O738RllNomItem="";this.Z736RllInd1="";this.O736RllInd1="";this.Z737RllInd2="";this.O737RllInd2="";this.AV13pUsbCod="";this.AV14pRllTip="";this.AV15pRllNroSequencia=0;this.A741RllTipRela="";this.AV5LinkSelection="";this.A787UsbCod="";this.A740RllTip="";this.A739RllNroSequ=0;this.A738RllNomItem="";this.A736RllInd1="";this.A737RllInd2="";this.ServerEvents=["e13c22_client","e14c21_client"];this.VarControlMap.AV13pUsbCod={id:"vPUSBCOD",grid:0,type:"char"};this.VarControlMap.AV14pRllTip={id:"vPRLLTIP",grid:0,type:"char"};
this.VarControlMap.AV15pRllNroSequencia={id:"vPRLLNROSEQUENCIA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);this.SetStandaloneVars()
}gx03f0.prototype=new gx.GxObject;gx.setParentObj(new gx03f0());