gx.evt.autoSkip=false;function gx01t0(){this.ServerClass="Gx01T0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV12pMtdNroItem=gx.fn.getIntegerValue("vPMTDNROITEM",".");this.AV13pMtdNroArtigo=gx.fn.getIntegerValue("vPMTDNROARTIGO",".");this.AV14pPlrTip=gx.fn.getControlValue("vPPLRTIP");this.AV15pPlrNro=gx.fn.getIntegerValue("vPPLRNRO",".")};this.e13bh2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e14bh1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,50];this.GXLastCtrlId=50;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01t0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");
this.Grid1Container.addSingleLineEdit(258,43,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(551,44,"MTDNROITEM","Fascículo","","MtdNroItem","int",0,"px",6,6,"right",null,[],551,"MtdNroItem",true,0,false,false);this.Grid1Container.addSingleLineEdit(550,45,"MTDNROARTI","Artigo","","MtdNroArti","int",0,"px",4,4,"right",null,[],550,"MtdNroArti",true,0,false,false);this.Grid1Container.addComboBox(682,46,"PLRTIP","Tipo","PlrTip","char",null,0,true,false,0,"px");
this.Grid1Container.addSingleLineEdit(681,47,"PLRNRO","Número palavra roteadora","Selecionar","PlrNro","int",0,"px",7,7,"right",null,[],681,"PlrNro",true,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:"TEXTBLOCKDOCNRO",format:0,grid:0};this.GXValidFnc[14]={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:"vCDOCNRO",gxz:"ZV6cDocNro",gxold:"OV6cDocNro",gxvar:"AV6cDocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cDocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDOCNRO",gx.O.AV6cDocNro,0)},c2v:function(){gx.O.AV6cDocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKMTDNROITEM",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:"vCMTDNROITEM",gxz:"ZV7cMtdNroItem",gxold:"OV7cMtdNroItem",gxvar:"AV7cMtdNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cMtdNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cMtdNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMTDNROITEM",gx.O.AV7cMtdNroItem,0)},c2v:function(){gx.O.AV7cMtdNroItem=this.val()},val:function(){return gx.fn.getIntegerValue("vCMTDNROITEM",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKMTDNROARTIGO",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:"vCMTDNROARTIGO",gxz:"ZV8cMtdNroArtigo",gxold:"OV8cMtdNroArtigo",gxvar:"AV8cMtdNroArtigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cMtdNroArtigo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cMtdNroArtigo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCMTDNROARTIGO",gx.O.AV8cMtdNroArtigo,0)},c2v:function(){gx.O.AV8cMtdNroArtigo=this.val()},val:function(){return gx.fn.getIntegerValue("vCMTDNROARTIGO",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPLRTIP",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:"vCPLRTIP",gxz:"ZV9cPlrTip",gxold:"OV9cPlrTip",gxvar:"AV9cPlrTip",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV9cPlrTip=a
},v2z:function(a){gx.O.ZV9cPlrTip=a},v2c:function(){gx.fn.setComboBoxValue("vCPLRTIP",gx.O.AV9cPlrTip)},c2v:function(){gx.O.AV9cPlrTip=this.val()},val:function(){return gx.fn.getControlValue("vCPLRTIP")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKPLRNRO",format:0,grid:0};this.GXValidFnc[34]={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:"vCPLRNRO",gxz:"ZV10cPlrNro",gxold:"OV10cPlrNro",gxvar:"AV10cPlrNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cPlrNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10cPlrNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPLRNRO",gx.O.AV10cPlrNro,0)},c2v:function(){gx.O.AV10cPlrNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCPLRNRO",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,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(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:41,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(41),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MTDNROITEM",gxz:"Z551MtdNroItem",gxold:"O551MtdNroItem",gxvar:"A551MtdNroItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A551MtdNroItem=gx.num.intval(a)
},v2z:function(a){gx.O.Z551MtdNroItem=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MTDNROITEM",gx.fn.currentGridRowImpl(41),gx.O.A551MtdNroItem,0)},c2v:function(){gx.O.A551MtdNroItem=this.val()},val:function(){return gx.fn.getGridIntegerValue("MTDNROITEM",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"MTDNROARTI",gxz:"Z550MtdNroArti",gxold:"O550MtdNroArti",gxvar:"A550MtdNroArti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A550MtdNroArti=gx.num.intval(a)
},v2z:function(a){gx.O.Z550MtdNroArti=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("MTDNROARTI",gx.fn.currentGridRowImpl(41),gx.O.A550MtdNroArti,0)},c2v:function(){gx.O.A550MtdNroArti=this.val()},val:function(){return gx.fn.getGridIntegerValue("MTDNROARTI",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PLRTIP",gxz:"Z682PlrTip",gxold:"O682PlrTip",gxvar:"A682PlrTip",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A682PlrTip=a
},v2z:function(a){gx.O.Z682PlrTip=a},v2c:function(){gx.fn.setGridComboBoxValue("PLRTIP",gx.fn.currentGridRowImpl(41),gx.O.A682PlrTip)},c2v:function(){gx.O.A682PlrTip=this.val()},val:function(){return gx.fn.getGridControlValue("PLRTIP",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PLRNRO",gxz:"Z681PlrNro",gxold:"O681PlrNro",gxvar:"A681PlrNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A681PlrNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z681PlrNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PLRNRO",gx.fn.currentGridRowImpl(41),gx.O.A681PlrNro,0)},c2v:function(){gx.O.A681PlrNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PLRNRO",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TABLE4",grid:0};this.AV6cDocNro=0;this.ZV6cDocNro=0;this.OV6cDocNro=0;this.AV7cMtdNroItem=0;this.ZV7cMtdNroItem=0;this.OV7cMtdNroItem=0;this.AV8cMtdNroArtigo=0;
this.ZV8cMtdNroArtigo=0;this.OV8cMtdNroArtigo=0;this.AV9cPlrTip="";this.ZV9cPlrTip="";this.OV9cPlrTip="";this.AV10cPlrNro=0;this.ZV10cPlrNro=0;this.OV10cPlrNro=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z258DocNro=0;this.O258DocNro=0;this.Z551MtdNroItem=0;this.O551MtdNroItem=0;this.Z550MtdNroArti=0;this.O550MtdNroArti=0;this.Z682PlrTip="";this.O682PlrTip="";this.Z681PlrNro=0;this.O681PlrNro=0;this.AV11pDocNro=0;this.AV12pMtdNroItem=0;this.AV13pMtdNroArtigo=0;this.AV14pPlrTip="";this.AV15pPlrNro=0;
this.AV5LinkSelection="";this.A258DocNro=0;this.A551MtdNroItem=0;this.A550MtdNroArti=0;this.A682PlrTip="";this.A681PlrNro=0;this.ServerEvents=["e13bh2_client","e14bh1_client"];this.VarControlMap.AV11pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV12pMtdNroItem={id:"vPMTDNROITEM",grid:0,type:"int"};this.VarControlMap.AV13pMtdNroArtigo={id:"vPMTDNROARTIGO",grid:0,type:"int"};this.VarControlMap.AV14pPlrTip={id:"vPPLRTIP",grid:0,type:"char"};this.VarControlMap.AV15pPlrNro={id:"vPPLRNRO",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(this.GXValidFnc[34]);this.SetStandaloneVars()}gx01t0.prototype=new gx.GxObject;gx.setParentObj(new gx01t0());