gx.evt.autoSkip=false;function gx03y3(){this.ServerClass="Gx03Y3";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV10pDvoNroVolume=gx.fn.getIntegerValue("vPDVONROVOLUME",".");this.AV11pDarNroSequencia=gx.fn.getIntegerValue("vPDARNROSEQUENCIA",".");this.AV12pDenTipEntidade=gx.fn.getControlValue("vPDENTIPENTIDADE");this.AV13pDenNroSeqEntidade=gx.fn.getIntegerValue("vPDENNROSEQENTIDADE",".")
};this.e13922_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14921_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,37,38,41];this.GXLastCtrlId=41;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03y3",[],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.addComboBox(191,33,"DENTIPENTI","Tipo entidade","DenTipEnti","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(194,34,"DENNROSEQE","Nro sequência","","DenNroSeqE","int",0,"px",3,3,"right",null,[],194,"DenNroSeqE",true,0,false,false);this.Grid1Container.addSingleLineEdit(189,35,"DENCODENTI","Código entidade","Selecionar","DenCodEnti","int",0,"px",7,7,"right",null,[],189,"DenCodEnti",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.Grid1Container.addSingleLineEdit(317,37,"DVONROVOLU","Número do item","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",false,0,false,false);this.Grid1Container.addSingleLineEdit(173,38,"DARNROSEQU","Artigo","","DarNroSequ","int",0,"px",3,3,"right",null,[],173,"DarNroSequ",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:"TEXTBLOCKDENTIPENTIDADE",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDENTIPENTIDADE",gxz:"ZV6cDenTipEntidade",gxold:"OV6cDenTipEntidade",gxvar:"AV6cDenTipEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV6cDenTipEntidade=a},v2z:function(a){gx.O.ZV6cDenTipEntidade=a},v2c:function(){gx.fn.setComboBoxValue("vCDENTIPENTIDADE",gx.O.AV6cDenTipEntidade)
},c2v:function(){gx.O.AV6cDenTipEntidade=this.val()},val:function(){return gx.fn.getControlValue("vCDENTIPENTIDADE")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDENNROSEQENTIDADE",format:0,grid:0};this.GXValidFnc[19]={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:"vCDENNROSEQENTIDADE",gxz:"ZV7cDenNroSeqEntidade",gxold:"OV7cDenNroSeqEntidade",gxvar:"AV7cDenNroSeqEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDenNroSeqEntidade=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cDenNroSeqEntidade=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDENNROSEQENTIDADE",gx.O.AV7cDenNroSeqEntidade,0)},c2v:function(){gx.O.AV7cDenNroSeqEntidade=this.val()},val:function(){return gx.fn.getIntegerValue("vCDENNROSEQENTIDADE",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDENCODENTIDADE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDENCODENTIDADE",gxz:"ZV8cDenCodEntidade",gxold:"OV8cDenCodEntidade",gxvar:"AV8cDenCodEntidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cDenCodEntidade=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cDenCodEntidade=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDENCODENTIDADE",gx.O.AV8cDenCodEntidade,0)},c2v:function(){gx.O.AV8cDenCodEntidade=this.val()},val:function(){return gx.fn.getIntegerValue("vCDENCODENTIDADE",".")},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:"char",len:2,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DENTIPENTI",gxz:"Z191DenTipEnti",gxold:"O191DenTipEnti",gxvar:"A191DenTipEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A191DenTipEnti=a
},v2z:function(a){gx.O.Z191DenTipEnti=a},v2c:function(){gx.fn.setGridComboBoxValue("DENTIPENTI",gx.fn.currentGridRowImpl(31),gx.O.A191DenTipEnti)},c2v:function(){gx.O.A191DenTipEnti=this.val()},val:function(){return gx.fn.getGridControlValue("DENTIPENTI",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DENNROSEQE",gxz:"Z194DenNroSeqE",gxold:"O194DenNroSeqE",gxvar:"A194DenNroSeqE",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A194DenNroSeqE=gx.num.intval(a)
},v2z:function(a){gx.O.Z194DenNroSeqE=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DENNROSEQE",gx.fn.currentGridRowImpl(31),gx.O.A194DenNroSeqE,0)},c2v:function(){gx.O.A194DenNroSeqE=this.val()},val:function(){return gx.fn.getGridIntegerValue("DENNROSEQE",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DENCODENTI",gxz:"Z189DenCodEnti",gxold:"O189DenCodEnti",gxvar:"A189DenCodEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A189DenCodEnti=gx.num.intval(a)
},v2z:function(a){gx.O.Z189DenCodEnti=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DENCODENTI",gx.fn.currentGridRowImpl(31),gx.O.A189DenCodEnti,0)},c2v:function(){gx.O.A189DenCodEnti=this.val()},val:function(){return gx.fn.getGridIntegerValue("DENCODENTI",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[37]={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:"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(31),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,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(31),gx.O.A173DarNroSequ,0)},c2v:function(){gx.O.A173DarNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DARNROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TABLE4",grid:0};this.AV6cDenTipEntidade="";this.ZV6cDenTipEntidade="";this.OV6cDenTipEntidade="";this.AV7cDenNroSeqEntidade=0;this.ZV7cDenNroSeqEntidade=0;
this.OV7cDenNroSeqEntidade=0;this.AV8cDenCodEntidade=0;this.ZV8cDenCodEntidade=0;this.OV8cDenCodEntidade=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z191DenTipEnti="";this.O191DenTipEnti="";this.Z194DenNroSeqE=0;this.O194DenNroSeqE=0;this.Z189DenCodEnti=0;this.O189DenCodEnti=0;this.Z258DocNro=0;this.O258DocNro=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.Z173DarNroSequ=0;this.O173DarNroSequ=0;this.AV9pDocNro=0;this.AV10pDvoNroVolume=0;this.AV11pDarNroSequencia=0;this.AV12pDenTipEntidade="";
this.AV13pDenNroSeqEntidade=0;this.AV5LinkSelection="";this.A191DenTipEnti="";this.A194DenNroSeqE=0;this.A189DenCodEnti=0;this.A258DocNro=0;this.A317DvoNroVolu=0;this.A173DarNroSequ=0;this.ServerEvents=["e13922_client","e14921_client"];this.VarControlMap.AV9pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV10pDvoNroVolume={id:"vPDVONROVOLUME",grid:0,type:"int"};this.VarControlMap.AV11pDarNroSequencia={id:"vPDARNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV12pDenTipEntidade={id:"vPDENTIPENTIDADE",grid:0,type:"char"};
this.VarControlMap.AV13pDenNroSeqEntidade={id:"vPDENNROSEQENTIDADE",grid:0,type:"int"};this.VarControlMap.AV9pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV10pDvoNroVolume={id:"vPDVONROVOLUME",grid:0,type:"int"};this.VarControlMap.AV11pDarNroSequencia={id:"vPDARNROSEQUENCIA",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.Grid1Container.addRefreshingVar({rfrVar:"AV10pDvoNroVolume"});this.Grid1Container.addRefreshingVar({rfrVar:"AV11pDarNroSequencia"});this.SetStandaloneVars()}gx03y3.prototype=new gx.GxObject;gx.setParentObj(new gx03y3());