gx.evt.autoSkip=false;function timt095(){this.ServerClass="TImt095";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.Gx_date=gx.fn.getDateValue("vTODAY");this.A1042RdoCampo1L=gx.fn.getControlValue("RDOCAMPO1L");this.A1043RdoInd1=gx.fn.getControlValue("RDOIND1");this.AV12OrigemLeitor=gx.fn.getControlValue("vORIGEMLEITOR");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Rdonrosequ=function(){gx.ajax.validSrvEvt("dyncall","Valid_Rdonrosequ",["gx.O.AV12OrigemLeitor","gx.O.A1038RdoNroSequ","gx.O.A1039RdoTipMovi",'gx.date.urlDate(gx.O.A1040RdoDatMovi,"DMY")',"gx.O.A1041RdoDscDoac","gx.O.A1042RdoCampo1L","gx.O.A1043RdoInd1","gx.O.A787UsbCod"],["A1039RdoTipMovi","A787UsbCod","A1040RdoDatMovi","A1041RdoDscDoac","A1042RdoCampo1L","A1043RdoInd1","A786UsbNom","Gx_mode","Z1038RdoNroSequ","Z1039RdoTipMovi","Z787UsbCod","Z1040RdoDatMovi","Z1041RdoDscDoac","Z1042RdoCampo1L","Z1043RdoInd1","Z786UsbNom",["BTN_ENTER","Enabled"]]);
return true};this.Valid_Usbcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Usbcod",["gx.O.A787UsbCod","gx.O.A786UsbNom"],["A786UsbNom"]);return true};this.Valid_Rdodatmovi=function(){try{var a=gx.util.balloon.getNew("RDODATMOVI");this.AnyError=0;if((new gx.date.gxdate("").compare(this.A1040RdoDatMovi)==0)){try{a.setError("Informe a data da doação");this.AnyError=1}catch(b){}}}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e125r2_client=function(){this.executeServerEvent("'ITENS'",false)
};this.e135r2_client=function(){this.executeServerEvent("'IMPRIMIR'",false)};this.e145r2_client=function(){this.executeServerEvent("'GET-PENSA-B'",false)};this.e155r2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e165r159_client=function(){this.executeServerEvent("ENTER",true)};this.e175r159_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,5,18,21,24,26,29,34,36,39,41,44,46,49,51,54,56,59];this.GXLastCtrlId=59;this.GXValidFnc[2]={fld:"TABLE3",grid:0};
this.GXValidFnc[5]={fld:"TABLE5",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[21]={fld:"TABLE2",grid:0};this.GXValidFnc[24]={fld:"TEXTBLOCKRDONROSEQUENCIA",format:0,grid:0};this.GXValidFnc[26]={fld:"TABLE4",grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Rdonrosequ,isvalid:null,rgrid:[],fld:"RDONROSEQU",gxz:"Z1038RdoNroSequ",gxold:"O1038RdoNroSequ",gxvar:"A1038RdoNroSequ",ucs:[],op:[44,56,51,36],ip:[44,56,51,36,29],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1038RdoNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1038RdoNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("RDONROSEQU",gx.O.A1038RdoNroSequ,0)},c2v:function(){gx.O.A1038RdoNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("RDONROSEQU",".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCKRDOTIPMOVIMENTO",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"RDOTIPMOVI",gxz:"Z1039RdoTipMovi",gxold:"O1039RdoTipMovi",gxvar:"A1039RdoTipMovi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1039RdoTipMovi=a
},v2z:function(a){gx.O.Z1039RdoTipMovi=a},v2c:function(){gx.fn.setComboBoxValue("RDOTIPMOVI",gx.O.A1039RdoTipMovi)},c2v:function(){gx.O.A1039RdoTipMovi=this.val()},val:function(){return gx.fn.getControlValue("RDOTIPMOVI")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCKUSBCOD",format:0,grid:0};this.GXValidFnc[41]={fld:"TABLE1",grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Usbcod,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[46],ip:[46,44],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[46]={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[49]={fld:"TEXTBLOCKRDODATMOVIMENTO",format:0,grid:0};this.GXValidFnc[51]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Rdodatmovi,isvalid:null,fld:"RDODATMOVI",gxz:"Z1040RdoDatMovi",gxold:"O1040RdoDatMovi",gxvar:"A1040RdoDatMovi",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[51],ip:[51],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1040RdoDatMovi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1040RdoDatMovi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("RDODATMOVI",gx.O.A1040RdoDatMovi,0)},c2v:function(){gx.O.A1040RdoDatMovi=this.val()},val:function(){return gx.fn.getControlValue("RDODATMOVI")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCKRDODSCDOACAO",format:0,grid:0};this.GXValidFnc[56]={lvl:0,type:"svchar",len:4096,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"RDODSCDOAC",gxz:"Z1041RdoDscDoac",gxold:"O1041RdoDscDoac",gxvar:"A1041RdoDscDoac",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1041RdoDscDoac=a
},v2z:function(a){gx.O.Z1041RdoDscDoac=a},v2c:function(){gx.fn.setControlValue("RDODSCDOAC",gx.O.A1041RdoDscDoac,0)},c2v:function(){gx.O.A1041RdoDscDoac=this.val()},val:function(){return gx.fn.getControlValue("RDODSCDOAC")},nac:function(){return false}};this.GXValidFnc[59]={fld:"PROMPT_787",grid:159};this.A1038RdoNroSequ=0;this.Z1038RdoNroSequ=0;this.O1038RdoNroSequ=0;this.A1039RdoTipMovi="";this.Z1039RdoTipMovi="";this.O1039RdoTipMovi="";this.A787UsbCod="";this.Z787UsbCod="";this.O787UsbCod="";this.A786UsbNom="";
this.Z786UsbNom="";this.O786UsbNom="";this.A1040RdoDatMovi=gx.date.nullDate();this.Z1040RdoDatMovi=gx.date.nullDate();this.O1040RdoDatMovi=gx.date.nullDate();this.A1041RdoDscDoac="";this.Z1041RdoDscDoac="";this.O1041RdoDscDoac="";this.AV8UsuCodCorr="";this.AV9IndLiber="";this.Gx_msg="";this.AV12OrigemLeitor="";this.Gx_date=gx.date.nullDate();this.Gx_BScreen=0;this.A1042RdoCampo1L="";this.A1043RdoInd1="";this.ServerEvents=["e125r2_client","e135r2_client","e145r2_client","e155r2_client","e165r159_client","e175r159_client"];
this.setPrompt("PROMPT_787",[44]);this.EnterCtrl=["BTN_ENTER"];this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};this.VarControlMap.A1042RdoCampo1L={id:"RDOCAMPO1L",grid:0,type:"char"};this.VarControlMap.A1043RdoInd1={id:"RDOIND1",grid:0,type:"char"};this.VarControlMap.AV12OrigemLeitor={id:"vORIGEMLEITOR",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt095.prototype=new gx.GxObject;
gx.setParentObj(new timt095());