gx.evt.autoSkip=false;function gx0100(){this.ServerClass="Gx0100";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pDocNro=gx.fn.getIntegerValue("vPDOCNRO",".");this.AV9pCmdCodSistema=gx.fn.getControlValue("vPCMDCODSISTEMA")};this.e13b52_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14b51_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,32];
this.GXLastCtrlId=32;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0100",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(258,28,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(130,29,"CMDCODSIST","Sistema","","CmdCodSist","char",0,"px",6,6,"left",null,[],130,"CmdCodSist",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:"TEXTBLOCKCMDCODSISTEMA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCMDCODSISTEMA",gxz:"ZV7cCmdCodSistema",gxold:"OV7cCmdCodSistema",gxvar:"AV7cCmdCodSistema",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCmdCodSistema=a
},v2z:function(a){gx.O.ZV7cCmdCodSistema=a},v2c:function(){gx.fn.setControlValue("vCCMDCODSISTEMA",gx.O.AV7cCmdCodSistema,0)},c2v:function(){gx.O.AV7cCmdCodSistema=this.val()},val:function(){return gx.fn.getControlValue("vCCMDCODSISTEMA")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,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(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:26,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(26),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CMDCODSIST",gxz:"Z130CmdCodSist",gxold:"O130CmdCodSist",gxvar:"A130CmdCodSist",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A130CmdCodSist=a
},v2z:function(a){gx.O.Z130CmdCodSist=a},v2c:function(){gx.fn.setGridControlValue("CMDCODSIST",gx.fn.currentGridRowImpl(26),gx.O.A130CmdCodSist,0)},c2v:function(){gx.O.A130CmdCodSist=this.val()},val:function(){return gx.fn.getGridControlValue("CMDCODSIST",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cDocNro=0;this.ZV6cDocNro=0;this.OV6cDocNro=0;this.AV7cCmdCodSistema="";this.ZV7cCmdCodSistema="";this.OV7cCmdCodSistema="";this.ZV5LinkSelection="";
this.OV5LinkSelection="";this.Z258DocNro=0;this.O258DocNro=0;this.Z130CmdCodSist="";this.O130CmdCodSist="";this.AV8pDocNro=0;this.AV9pCmdCodSistema="";this.AV5LinkSelection="";this.A258DocNro=0;this.A130CmdCodSist="";this.ServerEvents=["e13b52_client","e14b51_client"];this.VarControlMap.AV8pDocNro={id:"vPDOCNRO",grid:0,type:"int"};this.VarControlMap.AV9pCmdCodSistema={id:"vPCMDCODSISTEMA",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);
this.SetStandaloneVars()}gx0100.prototype=new gx.GxObject;gx.setParentObj(new gx0100());