gx.evt.autoSkip=false;function gx03x2(){this.ServerClass="Gx03X2";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV7pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV8pDvoNroVolume=gx.fn.getIntegerValue("vPDVONROVOLUME",".");this.AV9pDarNroSequencia=gx.fn.getIntegerValue("vPDARNROSEQUENCIA",".")};this.e13912_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14911_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,18,22,23,24,25,28];this.GXLastCtrlId=28;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03x2",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",22,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(173,23,"DARNROSEQU","Artigo","Selecionar","DarNroSequ","int",0,"px",3,3,"right",null,[],173,"DarNroSequ",true,0,false,false);
this.Grid1Container.addSingleLineEdit(258,24,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",false,0,false,false);this.Grid1Container.addSingleLineEdit(317,25,"DVONROVOLU","Número do item","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",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:"TEXTBLOCKDARNROSEQUENCIA",format:0,grid:0};
this.GXValidFnc[14]={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:"vCDARNROSEQUENCIA",gxz:"ZV6cDarNroSequencia",gxold:"OV6cDarNroSequencia",gxvar:"AV6cDarNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDarNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cDarNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDARNROSEQUENCIA",gx.O.AV6cDarNroSequencia,0)},c2v:function(){gx.O.AV6cDarNroSequencia=this.val()
},val:function(){return gx.fn.getIntegerValue("vCDARNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"GROUP2",grid:0};this.GXValidFnc[18]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:21,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(21))},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DARNROSEQU",gxz:"Z173DarNroSequ",gxold:"O173DarNroSequ",gxvar:"A173DarNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A173DarNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z173DarNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DARNROSEQU",gx.fn.currentGridRowImpl(21),gx.O.A173DarNroSequ,0)},c2v:function(){gx.O.A173DarNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DARNROSEQU",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:21,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(21),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A317DvoNroVolu=gx.num.intval(a)
},v2z:function(a){gx.O.Z317DvoNroVolu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROVOLU",gx.fn.currentGridRowImpl(21),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(21),".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TABLE4",grid:0};this.AV6cDarNroSequencia=0;this.ZV6cDarNroSequencia=0;this.OV6cDarNroSequencia=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";
this.Z173DarNroSequ=0;this.O173DarNroSequ=0;this.Z258DocNro=0;this.O258DocNro=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.AV7pDocNro=0;this.AV8pDvoNroVolume=0;this.AV9pDarNroSequencia=0;this.AV5LinkSelection="";this.A173DarNroSequ=0;this.A258DocNro=0;this.A317DvoNroVolu=0;this.ServerEvents=["e13912_client","e14911_client"];this.VarControlMap.AV7pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV8pDvoNroVolume={id:"vPDVONROVOLUME",grid:0,type:"int"};this.VarControlMap.AV9pDarNroSequencia={id:"vPDARNROSEQUENCIA",grid:0,type:"int"};
this.VarControlMap.AV7pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV8pDvoNroVolume={id:"vPDVONROVOLUME",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar({rfrVar:"AV7pDocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV8pDvoNroVolume"});this.SetStandaloneVars()}gx03x2.prototype=new gx.GxObject;gx.setParentObj(new gx03x2());