gx.evt.autoSkip=false;function hzassin(){this.ServerClass="HZAssin";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A258DocNro=gx.fn.getIntegerValue("DOCNRO",".");this.AV15DoeNroSeq=gx.fn.getIntegerValue("vDOENROSEQ",".")};this.Valid_Undcod=function(){try{if(gx.fn.currentGridRowImpl(24)===0){return true}var a=gx.util.balloon.getNew("UNDCOD",gx.fn.currentGridRowImpl(24));this.AnyError=0;this.StandaloneModal();this.StandaloneNotModal()
}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Doenrosequ=function(){try{if(gx.fn.currentGridRowImpl(24)===0){return true}var a=gx.util.balloon.getNew("DOENROSEQU",gx.fn.currentGridRowImpl(24));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e148q2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e118q2_client=function(){this.executeServerEvent("'LAST'",false)};this.e128q2_client=function(){this.executeServerEvent("'FIRST'",false)
};this.e138q2_client=function(){this.executeServerEvent("'NEXT'",false)};this.e178q2_client=function(){this.executeServerEvent("'PREVIOUS'",true,arguments[0])};this.e188q1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,25,26,27,28,29,30,31,32];this.GXLastCtrlId=32;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",24,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzassin",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit(922,25,"UNDCOD","Unidade","","UndCod","int",0,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(281,26,"DOENROSEQU","Nro","","DoeNroSequ","int",0,"px",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);this.Subfile1Container.addSingleLineEdit(271,27,"DOEDATAQUI","Início","","DoeDatAqui","date",0,"px",10,10,"right",null,[],271,"DoeDatAqui",true,0,false,false);this.Subfile1Container.addSingleLineEdit(899,28,"TPACOD","Tipo","","TpaCod","char",0,"px",3,3,"left",null,[],899,"TpaCod",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(442,29,"FORNOMABRE","Responsável","","ForNomAbre","char",0,"px",15,15,"left",null,[],442,"ForNomAbre",true,0,false,false);this.Subfile1Container.addSingleLineEdit(268,30,"DOECODASSI","Código assinante","","DoeCodAssi","char",0,"px",15,15,"left",null,[],268,"DoeCodAssi",true,0,false,false);this.Subfile1Container.addSingleLineEdit(280,31,"DOENROASSI","Nr.sequência","","DoeNroAssi","int",0,"px",5,5,"right",null,[],280,"DoeNroAssi",true,0,false,false);this.Subfile1Container.addSingleLineEdit(512,32,"LOCNOM","Localização","","LocNom","char",0,"px",45,45,"left",null,[],512,"LocNom",true,0,false,false);
this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[25]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:this.Valid_Undcod,isvalid:null,rgrid:[this.Subfile1Container],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[29,27,28,30,31,32],ip:[29,27,28,30,31,32,26,25],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A922UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z922UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("UNDCOD",gx.fn.currentGridRowImpl(24),gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(24),".")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:this.Valid_Doenrosequ,isvalid:null,rgrid:[],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A281DoeNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z281DoeNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROSEQU",gx.fn.currentGridRowImpl(24),gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(24),".")},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DOEDATAQUI",gxz:"Z271DoeDatAqui",gxold:"O271DoeDatAqui",gxvar:"A271DoeDatAqui",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A271DoeDatAqui=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z271DoeDatAqui=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("DOEDATAQUI",gx.fn.currentGridRowImpl(24),gx.O.A271DoeDatAqui,0)},c2v:function(){gx.O.A271DoeDatAqui=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATAQUI",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A899TpaCod=a
},v2z:function(a){gx.O.Z899TpaCod=a},v2c:function(){gx.fn.setGridControlValue("TPACOD",gx.fn.currentGridRowImpl(24),gx.O.A899TpaCod,0)},c2v:function(){gx.O.A899TpaCod=this.val()},val:function(){return gx.fn.getGridControlValue("TPACOD",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"FORNOMABRE",gxz:"Z442ForNomAbre",gxold:"O442ForNomAbre",gxvar:"A442ForNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A442ForNomAbre=a
},v2z:function(a){gx.O.Z442ForNomAbre=a},v2c:function(){gx.fn.setGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(24),gx.O.A442ForNomAbre,0)},c2v:function(){gx.O.A442ForNomAbre=this.val()},val:function(){return gx.fn.getGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"DOECODASSI",gxz:"Z268DoeCodAssi",gxold:"O268DoeCodAssi",gxvar:"A268DoeCodAssi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A268DoeCodAssi=a
},v2z:function(a){gx.O.Z268DoeCodAssi=a},v2c:function(){gx.fn.setGridControlValue("DOECODASSI",gx.fn.currentGridRowImpl(24),gx.O.A268DoeCodAssi,0)},c2v:function(){gx.O.A268DoeCodAssi=this.val()},val:function(){return gx.fn.getGridControlValue("DOECODASSI",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOENROASSI",gxz:"Z280DoeNroAssi",gxold:"O280DoeNroAssi",gxvar:"A280DoeNroAssi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A280DoeNroAssi=gx.num.intval(a)
},v2z:function(a){gx.O.Z280DoeNroAssi=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROASSI",gx.fn.currentGridRowImpl(24),gx.O.A280DoeNroAssi,0)},c2v:function(){gx.O.A280DoeNroAssi=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROASSI",gx.fn.currentGridRowImpl(24),".")},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:45,dec:0,sign:false,ro:1,grid:24,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"LOCNOM",gxz:"Z512LocNom",gxold:"O512LocNom",gxvar:"A512LocNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A512LocNom=a
},v2z:function(a){gx.O.Z512LocNom=a},v2c:function(){gx.fn.setGridControlValue("LOCNOM",gx.fn.currentGridRowImpl(24),gx.O.A512LocNom,0)},c2v:function(){gx.O.A512LocNom=this.val()},val:function(){return gx.fn.getGridControlValue("LOCNOM",gx.fn.currentGridRowImpl(24))},nac:function(){return false}};this.Z922UndCod=0;this.O922UndCod=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;this.Z271DoeDatAqui=gx.date.nullDate();this.O271DoeDatAqui=gx.date.nullDate();this.Z899TpaCod="";this.O899TpaCod="";this.Z442ForNomAbre="";
this.O442ForNomAbre="";this.Z268DoeCodAssi="";this.O268DoeCodAssi="";this.Z280DoeNroAssi=0;this.O280DoeNroAssi=0;this.Z512LocNom="";this.O512LocNom="";this.AV15DoeNroSeq=0;this.A258DocNro=0;this.A433ForCod=0;this.A509LocCod=0;this.A922UndCod=0;this.A281DoeNroSequ=0;this.A271DoeDatAqui=gx.date.nullDate();this.A899TpaCod="";this.A442ForNomAbre="";this.A268DoeCodAssi="";this.A280DoeNroAssi=0;this.A512LocNom="";this.ServerEvents=["e148q2_client","e118q2_client","e128q2_client","e138q2_client","e178q2_client","e188q1_client"];
this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.AV15DoeNroSeq={id:"vDOENROSEQ",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Subfile1Container.addRefreshingVar({rfrVar:"A922UndCod",rfrProp:"Value"});this.SetStandaloneVars()}hzassin.prototype=new gx.GxObject;gx.setParentObj(new hzassin());