gx.evt.autoSkip=false;function gx01g1(){this.ServerClass="Gx01G1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pUsbCod=gx.fn.getControlValue("vPUSBCOD");this.AV10pDseNroSequencia=gx.fn.getIntegerValue("vPDSENROSEQUENCIA",".")};this.e13bd2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bd1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,36,39];
this.GXLastCtrlId=39;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01g1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(291,33,"DSENROSEQU","Nro. sequência","","DseNroSequ","int",0,"px",4,4,"right",null,[],291,"DseNroSequ",true,0,false,false);
this.Grid1Container.addSingleLineEdit(290,34,"DSECODAUTO","Código da autoridade","Selecionar","DseCodAuto","int",0,"px",8,8,"right",null,[],290,"DseCodAuto",true,0,false,false);this.Grid1Container.addComboBox(292,35,"DSETIPAUTO","Tipo de autoridade","DseTipAuto","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(787,36,"USBCOD","Código do leitor","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",false,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:"TEXTBLOCKDSENROSEQUENCIA",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDSENROSEQUENCIA",gxz:"ZV6cDseNroSequencia",gxold:"OV6cDseNroSequencia",gxvar:"AV6cDseNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDseNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cDseNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDSENROSEQUENCIA",gx.O.AV6cDseNroSequencia,0)},c2v:function(){gx.O.AV6cDseNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCDSENROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDSECODAUTORIDADE",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDSECODAUTORIDADE",gxz:"ZV7cDseCodAutoridade",gxold:"OV7cDseCodAutoridade",gxvar:"AV7cDseCodAutoridade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDseCodAutoridade=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cDseCodAutoridade=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDSECODAUTORIDADE",gx.O.AV7cDseCodAutoridade,0)},c2v:function(){gx.O.AV7cDseCodAutoridade=this.val()},val:function(){return gx.fn.getIntegerValue("vCDSECODAUTORIDADE",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDSETIPAUTORIDADE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDSETIPAUTORIDADE",gxz:"ZV8cDseTipAutoridade",gxold:"OV8cDseTipAutoridade",gxvar:"AV8cDseTipAutoridade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8cDseTipAutoridade=a
},v2z:function(a){gx.O.ZV8cDseTipAutoridade=a},v2c:function(){gx.fn.setComboBoxValue("vCDSETIPAUTORIDADE",gx.O.AV8cDseTipAutoridade)},c2v:function(){gx.O.AV8cDseTipAutoridade=this.val()},val:function(){return gx.fn.getControlValue("vCDSETIPAUTORIDADE")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DSENROSEQU",gxz:"Z291DseNroSequ",gxold:"O291DseNroSequ",gxvar:"A291DseNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A291DseNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z291DseNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DSENROSEQU",gx.fn.currentGridRowImpl(31),gx.O.A291DseNroSequ,0)},c2v:function(){gx.O.A291DseNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DSENROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DSECODAUTO",gxz:"Z290DseCodAuto",gxold:"O290DseCodAuto",gxvar:"A290DseCodAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A290DseCodAuto=gx.num.intval(a)
},v2z:function(a){gx.O.Z290DseCodAuto=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DSECODAUTO",gx.fn.currentGridRowImpl(31),gx.O.A290DseCodAuto,0)},c2v:function(){gx.O.A290DseCodAuto=this.val()},val:function(){return gx.fn.getGridIntegerValue("DSECODAUTO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DSETIPAUTO",gxz:"Z292DseTipAuto",gxold:"O292DseTipAuto",gxvar:"A292DseTipAuto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A292DseTipAuto=a
},v2z:function(a){gx.O.Z292DseTipAuto=a},v2c:function(){gx.fn.setGridComboBoxValue("DSETIPAUTO",gx.fn.currentGridRowImpl(31),gx.O.A292DseTipAuto)},c2v:function(){gx.O.A292DseTipAuto=this.val()},val:function(){return gx.fn.getGridControlValue("DSETIPAUTO",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:31,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(31),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[39]={fld:"TABLE4",grid:0};this.AV6cDseNroSequencia=0;this.ZV6cDseNroSequencia=0;this.OV6cDseNroSequencia=0;this.AV7cDseCodAutoridade=0;this.ZV7cDseCodAutoridade=0;this.OV7cDseCodAutoridade=0;
this.AV8cDseTipAutoridade="";this.ZV8cDseTipAutoridade="";this.OV8cDseTipAutoridade="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z291DseNroSequ=0;this.O291DseNroSequ=0;this.Z290DseCodAuto=0;this.O290DseCodAuto=0;this.Z292DseTipAuto="";this.O292DseTipAuto="";this.Z787UsbCod="";this.O787UsbCod="";this.AV9pUsbCod="";this.AV10pDseNroSequencia=0;this.AV5LinkSelection="";this.A291DseNroSequ=0;this.A290DseCodAuto=0;this.A292DseTipAuto="";this.A787UsbCod="";this.ServerEvents=["e13bd2_client","e14bd1_client"];
this.VarControlMap.AV9pUsbCod={id:"vPUSBCOD",grid:0,type:"char"};this.VarControlMap.AV10pDseNroSequencia={id:"vPDSENROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV9pUsbCod={id:"vPUSBCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar({rfrVar:"AV9pUsbCod"});this.SetStandaloneVars()}gx01g1.prototype=new gx.GxObject;
gx.setParentObj(new gx01g1());