gx.evt.autoSkip=false;function tnpt004(){this.ServerClass="TNpt004";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Docnro=function(){try{var a=gx.util.balloon.getNew("DOCNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvonrovolu=function(){try{var a=gx.util.balloon.getNew("DVONROVOLU");this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.Valid_Darnrosequ=function(){gx.ajax.validSrvEvt("dyncall","Valid_Darnrosequ",["gx.O.A258DocNro","gx.O.A317DvoNroVolu","gx.O.A173DarNroSequ"],[]);return true};this.Valid_Dentipenti=function(){try{var a=gx.util.balloon.getNew("DENTIPENTI");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dennroseqe=function(){gx.ajax.validSrvEvt("dyncall","Valid_Dennroseqe",["gx.O.A258DocNro","gx.O.A317DvoNroVolu","gx.O.A173DarNroSequ","gx.O.A191DenTipEnti","gx.O.A194DenNroSeqE","gx.O.A189DenCodEnti"],["A189DenCodEnti","A190DenNomEnti","Gx_mode","Z258DocNro","Z317DvoNroVolu","Z173DarNroSequ","Z191DenTipEnti","Z194DenNroSeqE","Z189DenCodEnti","Z190DenNomEnti",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Dencodenti=function(){gx.ajax.validSrvEvt("dyncall","Valid_Dencodenti",["gx.O.A258DocNro","gx.O.A317DvoNroVolu","gx.O.A173DarNroSequ","gx.O.A191DenTipEnti","gx.O.A194DenNroSeqE","gx.O.A189DenCodEnti","gx.O.A190DenNomEnti"],["A190DenNomEnti"]);return true};this.e1151142_client=function(){this.executeServerEvent("ENTER",true)};this.e1251142_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,23,25,28,30,33,35,38,40,44,46,49,51,59];
this.GXLastCtrlId=59;this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Docnro,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.setControlValue("DOCNRO",gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("DOCNRO",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dvonrovolu,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.setControlValue("DVONROVOLU",gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getIntegerValue("DVONROVOLU",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Darnrosequ,isvalid:null,rgrid:[],fld:"DARNROSEQU",gxz:"Z173DarNroSequ",gxold:"O173DarNroSequ",gxvar:"A173DarNroSequ",ucs:[],op:[],ip:[30,25,20],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.setControlValue("DARNROSEQU",gx.O.A173DarNroSequ,0)},c2v:function(){gx.O.A173DarNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("DARNROSEQU",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:2,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dentipenti,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.setComboBoxValue("DENTIPENTI",gx.O.A191DenTipEnti)},c2v:function(){gx.O.A191DenTipEnti=this.val()},val:function(){return gx.fn.getControlValue("DENTIPENTI")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dennroseqe,isvalid:null,rgrid:[],fld:"DENNROSEQE",gxz:"Z194DenNroSeqE",gxold:"O194DenNroSeqE",gxvar:"A194DenNroSeqE",ucs:[],op:[46],ip:[46,40,35,30,25,20],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.setControlValue("DENNROSEQE",gx.O.A194DenNroSeqE,0)},c2v:function(){gx.O.A194DenNroSeqE=this.val()},val:function(){return gx.fn.getIntegerValue("DENNROSEQE",".")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dencodenti,isvalid:null,rgrid:[],fld:"DENCODENTI",gxz:"Z189DenCodEnti",gxold:"O189DenCodEnti",gxvar:"A189DenCodEnti",ucs:[],op:[51],ip:[51,46,40,35,30,25,20],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.setControlValue("DENCODENTI",gx.O.A189DenCodEnti,0)},c2v:function(){gx.O.A189DenCodEnti=this.val()},val:function(){return gx.fn.getIntegerValue("DENCODENTI",".")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"char",len:250,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DENNOMENTI",gxz:"Z190DenNomEnti",gxold:"O190DenNomEnti",gxvar:"A190DenNomEnti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A190DenNomEnti=a
},v2z:function(a){gx.O.Z190DenNomEnti=a},v2c:function(){gx.fn.setControlValue("DENNOMENTI",gx.O.A190DenNomEnti,0)},c2v:function(){gx.O.A190DenNomEnti=this.val()},val:function(){return gx.fn.getControlValue("DENNOMENTI")},nac:function(){return false}};this.GXValidFnc[59]={fld:"PROMPT_258_317_173",grid:142};this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.A317DvoNroVolu=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.A173DarNroSequ=0;this.Z173DarNroSequ=0;this.O173DarNroSequ=0;this.A191DenTipEnti="";
this.Z191DenTipEnti="";this.O191DenTipEnti="";this.A194DenNroSeqE=0;this.Z194DenNroSeqE=0;this.O194DenNroSeqE=0;this.A189DenCodEnti=0;this.Z189DenCodEnti=0;this.O189DenCodEnti=0;this.A190DenNomEnti="";this.Z190DenNomEnti="";this.O190DenNomEnti="";this.ServerEvents=["e1151142_client","e1251142_client"];this.setPrompt("PROMPT_258_317_173",[20,25,30]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}tnpt004.prototype=new gx.GxObject;
gx.setParentObj(new tnpt004());