gx.evt.autoSkip=false;function timt075(){this.ServerClass="TImt075";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A1074UsnValRecu=gx.fn.getControlValue("USNVALRECU");this.A963UsnDesAnot=gx.fn.getControlValue("USNDESANOT");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Usbcod=function(){try{var a=gx.util.balloon.getNew("USBCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.Valid_Usnnroseq=function(){gx.ajax.validSrvEvt("dyncall","Valid_Usnnroseq",["gx.O.A787UsbCod","gx.O.A964UsnNroSeq","gx.O.A1074UsnValRecu","gx.O.A963UsnDesAnot"],["A1074UsnValRecu","A963UsnDesAnot","A786UsbNom","Gx_mode","Z787UsbCod","Z964UsnNroSeq","Z1074UsnValRecu","Z963UsnDesAnot","Z786UsbNom",["BTN_ENTER1","Enabled"]]);return true};this.e144856_client=function(){this.clearMessages();this.refreshOutputs([])};this.e12482_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e13482_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e154856_client=function(){this.executeServerEvent("ENTER",true)};this.e164856_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,25,28,30,33];this.GXLastCtrlId=33;this.CTRLUSNDESANOTACOESContainer=gx.uc.getNew(this,39,23,"CKEditorControl","CTRLUSNDESANOTACOESContainer","Ctrlusndesanotacoes");this.CTRLUSNDESANOTACOESContainer.setProperty("Width","Width","800","str");this.CTRLUSNDESANOTACOESContainer.setProperty("Height","Height","350","str");
this.CTRLUSNDESANOTACOESContainer.addV2CFunction(function(a){a.ParentObject.A963UsnDesAnot=gx.fn.getControlValue("USNDESANOT");a.SetAttribute(a.ParentObject.A963UsnDesAnot)});this.CTRLUSNDESANOTACOESContainer.addC2VFunction(function(a){a.ParentObject.A963UsnDesAnot=a.GetAttribute();gx.fn.setControlValue("USNDESANOT",a.ParentObject.A963UsnDesAnot)});this.CTRLUSNDESANOTACOESContainer.setProperty("Skin","Skin","office2003","str");this.CTRLUSNDESANOTACOESContainer.setProperty("Toolbar","Toolbar","Custom","str");
this.CTRLUSNDESANOTACOESContainer.setProperty("CustomToolbar","Customtoolbar","Custom","str");this.CTRLUSNDESANOTACOESContainer.setProperty("CustomConfiguration","Customconfiguration","","str");this.CTRLUSNDESANOTACOESContainer.setProperty("ToolbarCanCollapse","Toolbarcancollapse",true,"bool");this.CTRLUSNDESANOTACOESContainer.setProperty("ToolbarExpanded","Toolbarexpanded",true,"bool");this.CTRLUSNDESANOTACOESContainer.setProperty("Color","Color",gx.color.fromRGB(211,211,211),"color");this.CTRLUSNDESANOTACOESContainer.setProperty("ButtonPressedId","Buttonpressedid","","char");
this.CTRLUSNDESANOTACOESContainer.setProperty("InternalTitle","Coltitle","","char");this.CTRLUSNDESANOTACOESContainer.setProperty("TitleFont","Coltitlefont","","char");this.CTRLUSNDESANOTACOESContainer.setProperty("TitleForeColor","Coltitlecolor","","int");this.CTRLUSNDESANOTACOESContainer.setProperty("UserControlIsColumn","Usercontroliscolumn",false,"boolean");this.CTRLUSNDESANOTACOESContainer.setProperty("Visible","Visible",true,"bool");this.CTRLUSNDESANOTACOESContainer.setC2ShowFunction(function(a){a.show()
});this.setUserControl(this.CTRLUSNDESANOTACOESContainer);this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE1",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={fld:"TABLE2",grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Usbcod,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setControlValue("USBCOD",gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getControlValue("USBCOD")},nac:function(){return false}};this.GXValidFnc[25]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"USBNOM",gxz:"Z786UsbNom",gxold:"O786UsbNom",gxvar:"A786UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A786UsbNom=a},v2z:function(a){gx.O.Z786UsbNom=a
},v2c:function(){gx.fn.setControlValue("USBNOM",gx.O.A786UsbNom,0)},c2v:function(){gx.O.A786UsbNom=this.val()},val:function(){return gx.fn.getControlValue("USBNOM")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[30]={fld:"TABLE4",grid:0};this.GXValidFnc[33]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Usnnroseq,isvalid:null,rgrid:[],fld:"USNNROSEQ",gxz:"Z964UsnNroSeq",gxold:"O964UsnNroSeq",gxvar:"A964UsnNroSeq",ucs:[39],op:[],ip:[33,23],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A964UsnNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z964UsnNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("USNNROSEQ",gx.O.A964UsnNroSeq)},c2v:function(){gx.O.A964UsnNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("USNNROSEQ",".")},nac:function(){return false}};this.A787UsbCod="";this.Z787UsbCod="";this.O787UsbCod="";this.A786UsbNom="";this.Z786UsbNom="";this.O786UsbNom="";this.A964UsnNroSeq=0;this.Z964UsnNroSeq=0;this.O964UsnNroSeq=0;this.AV14UsuCodCorr="";this.A1074UsnValRecu="";this.A963UsnDesAnot="";
this.ServerEvents=["e12482_client","e13482_client","e154856_client","e164856_client"];this.EnterCtrl=["BTN_ENTER1"];this.VarControlMap.A1074UsnValRecu={id:"USNVALRECU",grid:0,type:"char"};this.VarControlMap.A963UsnDesAnot={id:"USNDESANOT",grid:0,type:"vchar"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt075.prototype=new gx.GxObject;gx.setParentObj(new timt075());