gx.evt.autoSkip=false;function gx00y1(){this.ServerClass="Gx00Y1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV10pDntNroSequencia=gx.fn.getIntegerValue("vPDNTNROSEQUENCIA",".")};this.e13d52_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14d51_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,"gx00y1",[],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(231,33,"DNTNROSEQU","Sequência de notas","","DntNroSequ","int",0,"px",4,4,"right",null,[],231,"DntNroSequ",true,0,false,false);
this.Grid1Container.addSingleLineEdit(229,34,"DNTDESFISI","Descrição física","","DntDesFisi","char",0,"px",60,60,"left",null,[],229,"DntDesFisi",true,0,false,false);this.Grid1Container.addSingleLineEdit(228,35,"DNTCAMPO1L","Campo livre 1","","DntCampo1L","char",0,"px",20,20,"left",null,[],228,"DntCampo1L",true,0,false,false);this.Grid1Container.addSingleLineEdit(258,36,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",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:"TEXTBLOCKDNTNROSEQUENCIA",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:"vCDNTNROSEQUENCIA",gxz:"ZV6cDntNroSequencia",gxold:"OV6cDntNroSequencia",gxvar:"AV6cDntNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDntNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cDntNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDNTNROSEQUENCIA",gx.O.AV6cDntNroSequencia,0)},c2v:function(){gx.O.AV6cDntNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCDNTNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDNTDESFISICA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDNTDESFISICA",gxz:"ZV7cDntDesFisica",gxold:"OV7cDntDesFisica",gxvar:"AV7cDntDesFisica",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDntDesFisica=a
},v2z:function(a){gx.O.ZV7cDntDesFisica=a},v2c:function(){gx.fn.setControlValue("vCDNTDESFISICA",gx.O.AV7cDntDesFisica,0)},c2v:function(){gx.O.AV7cDntDesFisica=this.val()},val:function(){return gx.fn.getControlValue("vCDNTDESFISICA")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDNTCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDNTCAMPO1LIVRE",gxz:"ZV8cDntCampo1Livre",gxold:"OV8cDntCampo1Livre",gxvar:"AV8cDntCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cDntCampo1Livre=a
},v2z:function(a){gx.O.ZV8cDntCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCDNTCAMPO1LIVRE",gx.O.AV8cDntCampo1Livre,0)},c2v:function(){gx.O.AV8cDntCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCDNTCAMPO1LIVRE")},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:"DNTNROSEQU",gxz:"Z231DntNroSequ",gxold:"O231DntNroSequ",gxvar:"A231DntNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A231DntNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z231DntNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DNTNROSEQU",gx.fn.currentGridRowImpl(31),gx.O.A231DntNroSequ,0)},c2v:function(){gx.O.A231DntNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DNTNROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:60,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DNTDESFISI",gxz:"Z229DntDesFisi",gxold:"O229DntDesFisi",gxvar:"A229DntDesFisi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A229DntDesFisi=a
},v2z:function(a){gx.O.Z229DntDesFisi=a},v2c:function(){gx.fn.setGridControlValue("DNTDESFISI",gx.fn.currentGridRowImpl(31),gx.O.A229DntDesFisi,0)},c2v:function(){gx.O.A229DntDesFisi=this.val()},val:function(){return gx.fn.getGridControlValue("DNTDESFISI",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DNTCAMPO1L",gxz:"Z228DntCampo1L",gxold:"O228DntCampo1L",gxvar:"A228DntCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A228DntCampo1L=a
},v2z:function(a){gx.O.Z228DntCampo1L=a},v2c:function(){gx.fn.setGridControlValue("DNTCAMPO1L",gx.fn.currentGridRowImpl(31),gx.O.A228DntCampo1L,0)},c2v:function(){gx.O.A228DntCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("DNTCAMPO1L",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOCNRO",gx.fn.currentGridRowImpl(31),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TABLE4",grid:0};this.AV6cDntNroSequencia=0;this.ZV6cDntNroSequencia=0;this.OV6cDntNroSequencia=0;this.AV7cDntDesFisica="";this.ZV7cDntDesFisica="";this.OV7cDntDesFisica="";
this.AV8cDntCampo1Livre="";this.ZV8cDntCampo1Livre="";this.OV8cDntCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z231DntNroSequ=0;this.O231DntNroSequ=0;this.Z229DntDesFisi="";this.O229DntDesFisi="";this.Z228DntCampo1L="";this.O228DntCampo1L="";this.Z258DocNro=0;this.O258DocNro=0;this.AV9pDocNro=0;this.AV10pDntNroSequencia=0;this.AV5LinkSelection="";this.A231DntNroSequ=0;this.A229DntDesFisi="";this.A228DntCampo1L="";this.A258DocNro=0;this.ServerEvents=["e13d52_client","e14d51_client"];
this.VarControlMap.AV9pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV10pDntNroSequencia={id:"vPDNTNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV9pDocNro={id:"vPDOCNRO",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({rfrVar:"AV9pDocNro"});this.SetStandaloneVars()}gx00y1.prototype=new gx.GxObject;
gx.setParentObj(new gx00y1());