gx.evt.autoSkip=false;function timt102(){this.ServerClass="TImt102";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A1125CpoInd1=gx.fn.getControlValue("CPOIND1");this.A1126CpoInd2=gx.fn.getControlValue("CPOIND2");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Usucod=function(){try{var a=gx.util.balloon.getNew("USUCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Cpotipcomp=function(){gx.ajax.validSrvEvt("dyncall","valid_Cpotipcomp",["gx.O.A968UsuCod","gx.O.A1124CpoTipComp","gx.O.A1125CpoInd1","gx.O.A1126CpoInd2","gx.O.A1127CpoValCont"],["A1125CpoInd1","A1126CpoInd2","A1127CpoValCont","Gx_mode","Z968UsuCod","Z1124CpoTipComp","Z1125CpoInd1","Z1126CpoInd2","Z1127CpoValCont",["BTN_ENTER2","Enabled"]]);
return true};this.e1260169_client=function(){this.executeServerEvent("ENTER",true)};this.e1360169_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,26,27,33,36,38,41,43,46,48];this.GXLastCtrlId=48;this.GXValidFnc[2]={fld:"TABLEMAIN",grid:0};this.GXValidFnc[5]={fld:"TABLETOOLBAR",grid:0};this.GXValidFnc[8]={fld:"BTN_FIRST",grid:0};this.GXValidFnc[9]={fld:"BTN_FIRST_SEPARATOR",grid:0};this.GXValidFnc[10]={fld:"BTN_PREVIOUS",grid:0};
this.GXValidFnc[11]={fld:"BTN_PREVIOUS_SEPARATOR",grid:0};this.GXValidFnc[12]={fld:"BTN_NEXT",grid:0};this.GXValidFnc[13]={fld:"BTN_NEXT_SEPARATOR",grid:0};this.GXValidFnc[14]={fld:"BTN_LAST",grid:0};this.GXValidFnc[15]={fld:"BTN_LAST_SEPARATOR",grid:0};this.GXValidFnc[16]={fld:"BTN_SELECT",grid:0};this.GXValidFnc[17]={fld:"BTN_SELECT_SEPARATOR",grid:0};this.GXValidFnc[18]={fld:"BTN_ENTER2",grid:0};this.GXValidFnc[19]={fld:"BTN_ENTER2_SEPARATOR",grid:0};this.GXValidFnc[20]={fld:"BTN_CANCEL2",grid:0};
this.GXValidFnc[21]={fld:"BTN_CANCEL2_SEPARATOR",grid:0};this.GXValidFnc[22]={fld:"BTN_DELETE2",grid:0};this.GXValidFnc[23]={fld:"BTN_DELETE2_SEPARATOR",grid:0};this.GXValidFnc[26]={fld:"GROUPDATA",grid:0};this.GXValidFnc[27]={fld:"TABLE1",grid:0};this.GXValidFnc[33]={fld:"TABLE2",grid:0};this.GXValidFnc[36]={fld:"TEXTBLOCKUSUCOD",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Usucod,isvalid:null,fld:"USUCOD",gxz:"Z968UsuCod",gxold:"O968UsuCod",gxvar:"A968UsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A968UsuCod=a
},v2z:function(a){gx.O.Z968UsuCod=a},v2c:function(){gx.fn.setControlValue("USUCOD",gx.O.A968UsuCod,0)},c2v:function(){gx.O.A968UsuCod=this.val()},val:function(){return gx.fn.getControlValue("USUCOD")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCKCPOTIPCOMPLEMENTO",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Cpotipcomp,isvalid:null,fld:"CPOTIPCOMP",gxz:"Z1124CpoTipComp",gxold:"O1124CpoTipComp",gxvar:"A1124CpoTipComp",ucs:[],op:[48],ip:[48,43,38],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1124CpoTipComp=a
},v2z:function(a){gx.O.Z1124CpoTipComp=a},v2c:function(){gx.fn.setComboBoxValue("CPOTIPCOMP",gx.O.A1124CpoTipComp)},c2v:function(){gx.O.A1124CpoTipComp=this.val()},val:function(){return gx.fn.getControlValue("CPOTIPCOMP")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCKCPOVALCONTEUDO",format:0,grid:0};this.GXValidFnc[48]={lvl:0,type:"vchar",len:30720,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"CPOVALCONT",gxz:"Z1127CpoValCont",gxold:"O1127CpoValCont",gxvar:"A1127CpoValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1127CpoValCont=a
},v2z:function(a){gx.O.Z1127CpoValCont=a},v2c:function(){gx.fn.setControlValue("CPOVALCONT",gx.O.A1127CpoValCont,0)},c2v:function(){gx.O.A1127CpoValCont=this.val()},val:function(){return gx.fn.getControlValue("CPOVALCONT")},nac:function(){return false}};this.A968UsuCod="";this.Z968UsuCod="";this.O968UsuCod="";this.A1124CpoTipComp="";this.Z1124CpoTipComp="";this.O1124CpoTipComp="";this.A1127CpoValCont="";this.Z1127CpoValCont="";this.O1127CpoValCont="";this.AV7UsuCod="";this.A1125CpoInd1="";this.A1126CpoInd2="";
this.ServerEvents=["e1260169_client","e1360169_client"];this.EnterCtrl=["BTN_ENTER"];this.VarControlMap.A1125CpoInd1={id:"CPOIND1",grid:0,type:"char"};this.VarControlMap.A1126CpoInd2={id:"CPOIND2",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt102.prototype=new gx.GxObject;gx.setParentObj(new timt102());