gx.evt.autoSkip=false;function gx0061(){this.ServerClass="Gx0061";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV11pDauNroSequencia=gx.fn.getIntegerValue("vPDAUNROSEQUENCIA",".")};this.e13d72_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14d71_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,33,37,38,39,40,41,42,45];this.GXLastCtrlId=45;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0061",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",37,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(176,38,"DAUNROSEQU","Seq. responsabilidade","","DauNroSequ","int",0,"px",3,3,"right",null,[],176,"DauNroSequ",true,0,false,false);
this.Grid1Container.addSingleLineEdit(74,39,"AUTNRO","Autor","","AutNro","int",0,"px",6,6,"right",null,[],74,"AutNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(450,40,"FUNCOD","Função","","FunCod","int",0,"px",4,4,"right",null,[],450,"FunCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(177,41,"DAUTIPRESP","Tipo de responsabilidade","Selecionar","DauTipResp","char",0,"px",2,1,"left",null,[],177,"DauTipResp",true,0,false,false);this.Grid1Container.addSingleLineEdit(258,42,"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:"TEXTBLOCKDAUNROSEQUENCIA",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:"vCDAUNROSEQUENCIA",gxz:"ZV6cDauNroSequencia",gxold:"OV6cDauNroSequencia",gxvar:"AV6cDauNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDauNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cDauNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDAUNROSEQUENCIA",gx.O.AV6cDauNroSequencia,0)},c2v:function(){gx.O.AV6cDauNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCDAUNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKAUTNRO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCAUTNRO",gxz:"ZV7cAutNro",gxold:"OV7cAutNro",gxvar:"AV7cAutNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cAutNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cAutNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAUTNRO",gx.O.AV7cAutNro,0)},c2v:function(){gx.O.AV7cAutNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCAUTNRO",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKFUNCOD",format:0,grid:0};this.GXValidFnc[24]={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:"vCFUNCOD",gxz:"ZV8cFunCod",gxold:"OV8cFunCod",gxvar:"AV8cFunCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cFunCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cFunCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCFUNCOD",gx.O.AV8cFunCod,0)},c2v:function(){gx.O.AV8cFunCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCFUNCOD",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKDAUTIPRESPONSABILIDADE",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDAUTIPRESPONSABILIDADE",gxz:"ZV9cDauTipResponsabilidade",gxold:"OV9cDauTipResponsabilidade",gxvar:"AV9cDauTipResponsabilidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cDauTipResponsabilidade=a
},v2z:function(a){gx.O.ZV9cDauTipResponsabilidade=a},v2c:function(){gx.fn.setControlValue("vCDAUTIPRESPONSABILIDADE",gx.O.AV9cDauTipResponsabilidade,0)},c2v:function(){gx.O.AV9cDauTipResponsabilidade=this.val()},val:function(){return gx.fn.getControlValue("vCDAUTIPRESPONSABILIDADE")},nac:function(){return false}};this.GXValidFnc[32]={fld:"GROUP2",grid:0};this.GXValidFnc[33]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:36,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(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DAUNROSEQU",gxz:"Z176DauNroSequ",gxold:"O176DauNroSequ",gxvar:"A176DauNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A176DauNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z176DauNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DAUNROSEQU",gx.fn.currentGridRowImpl(36),gx.O.A176DauNroSequ,0)},c2v:function(){gx.O.A176DauNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DAUNROSEQU",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"AUTNRO",gxz:"Z74AutNro",gxold:"O74AutNro",gxvar:"A74AutNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A74AutNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z74AutNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("AUTNRO",gx.fn.currentGridRowImpl(36),gx.O.A74AutNro,0)},c2v:function(){gx.O.A74AutNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("AUTNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"FUNCOD",gxz:"Z450FunCod",gxold:"O450FunCod",gxvar:"A450FunCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A450FunCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z450FunCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("FUNCOD",gx.fn.currentGridRowImpl(36),gx.O.A450FunCod,0)},c2v:function(){gx.O.A450FunCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("FUNCOD",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DAUTIPRESP",gxz:"Z177DauTipResp",gxold:"O177DauTipResp",gxvar:"A177DauTipResp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A177DauTipResp=a
},v2z:function(a){gx.O.Z177DauTipResp=a},v2c:function(){gx.fn.setGridControlValue("DAUTIPRESP",gx.fn.currentGridRowImpl(36),gx.O.A177DauTipResp,0)},c2v:function(){gx.O.A177DauTipResp=this.val()},val:function(){return gx.fn.getGridControlValue("DAUTIPRESP",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:36,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(36),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TABLE4",grid:0};this.AV6cDauNroSequencia=0;this.ZV6cDauNroSequencia=0;this.OV6cDauNroSequencia=0;this.AV7cAutNro=0;this.ZV7cAutNro=0;this.OV7cAutNro=0;this.AV8cFunCod=0;
this.ZV8cFunCod=0;this.OV8cFunCod=0;this.AV9cDauTipResponsabilidade="";this.ZV9cDauTipResponsabilidade="";this.OV9cDauTipResponsabilidade="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z176DauNroSequ=0;this.O176DauNroSequ=0;this.Z74AutNro=0;this.O74AutNro=0;this.Z450FunCod=0;this.O450FunCod=0;this.Z177DauTipResp="";this.O177DauTipResp="";this.Z258DocNro=0;this.O258DocNro=0;this.AV10pDocNro=0;this.AV11pDauNroSequencia=0;this.AV5LinkSelection="";this.A176DauNroSequ=0;this.A74AutNro=0;this.A450FunCod=0;
this.A177DauTipResp="";this.A258DocNro=0;this.ServerEvents=["e13d72_client","e14d71_client"];this.VarControlMap.AV10pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV11pDauNroSequencia={id:"vPDAUNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV10pDocNro={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(this.GXValidFnc[29]);
this.Grid1Container.addRefreshingVar({rfrVar:"AV10pDocNro"});this.SetStandaloneVars()}gx0061.prototype=new gx.GxObject;gx.setParentObj(new gx0061());