gx.evt.autoSkip=false;function habw094(){this.ServerClass="Habw094";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV53UndCoddep=gx.fn.getIntegerValue("vUNDCODDEP",".");this.AV52DoeNroSequencia=gx.fn.getIntegerValue("vDOENROSEQUENCIA",".")};this.Validv_Docnro=function(){try{var a=gx.util.balloon.getNew("vDOCNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Undcod=function(){try{var a=gx.util.balloon.getNew("vUNDCOD");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e112b2_client=function(){this.executeServerEvent("ENTER",true)};this.e132b2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e152b2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,18,21,23,27,29,33,35,37,40,42,46,48,52,54,58,60,64,66,70,72,76,78,80,83,85,89,91,92,95,97,99,103,105,109,111,113,114,115,116,117];this.GXLastCtrlId=117;this.GXValidFnc[3]={fld:"TABLE1",grid:0};
this.GXValidFnc[12]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[18]={fld:"TABLE2",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Docnro,isvalid:null,rgrid:[],fld:"vDOCNRO",gxz:"ZV7DocNro",gxold:"OV7DocNro",gxvar:"AV7DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7DocNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV7DocNro=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vDOCNRO",gx.O.AV7DocNro,0)},c2v:function(){gx.O.AV7DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Undcod,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV25UndCod",gxold:"OV25UndCod",gxvar:"AV25UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV25UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV25UndCod,0)},c2v:function(){gx.O.AV25UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOENROINI",gxz:"ZV8DoeNroIni",gxold:"OV8DoeNroIni",gxvar:"AV8DoeNroIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8DoeNroIni=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8DoeNroIni=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOENROINI",gx.O.AV8DoeNroIni,0)},c2v:function(){gx.O.AV8DoeNroIni=this.val()},val:function(){return gx.fn.getIntegerValue("vDOENROINI",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TXTMAIORTOMBO",format:0,grid:0};this.GXValidFnc[40]={fld:"BT_DATA",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOEDATAQUI",gxz:"ZV9DoeDatAqui",gxold:"OV9DoeDatAqui",gxvar:"AV9DoeDatAqui",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9DoeDatAqui=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9DoeDatAqui=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDOEDATAQUI",gx.O.AV9DoeDatAqui,1)},c2v:function(){gx.O.AV9DoeDatAqui=this.val()},val:function(){return gx.fn.getControlValue("vDOEDATAQUI")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[48]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOECODPROPRIETARIO",gxz:"ZV64DoeCodProprietario",gxold:"OV64DoeCodProprietario",gxvar:"AV64DoeCodProprietario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV64DoeCodProprietario=a
},v2z:function(a){gx.O.ZV64DoeCodProprietario=a},v2c:function(){gx.fn.setControlValue("vDOECODPROPRIETARIO",gx.O.AV64DoeCodProprietario,0)},c2v:function(){gx.O.AV64DoeCodProprietario=this.val()},val:function(){return gx.fn.getControlValue("vDOECODPROPRIETARIO")},nac:function(){return false}};this.GXValidFnc[52]={fld:"BT_TIPO",format:0,grid:0};this.GXValidFnc[54]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTPACOD",gxz:"ZV10TpaCod",gxold:"OV10TpaCod",gxvar:"AV10TpaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10TpaCod=a
},v2z:function(a){gx.O.ZV10TpaCod=a},v2c:function(){gx.fn.setControlValue("vTPACOD",gx.O.AV10TpaCod,1)},c2v:function(){gx.O.AV10TpaCod=this.val()},val:function(){return gx.fn.getControlValue("vTPACOD")},nac:function(){return false}};this.GXValidFnc[58]={fld:"BT_LOCAL",format:0,grid:0};this.GXValidFnc[60]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLOCCOD",gxz:"ZV11LocCod",gxold:"OV11LocCod",gxvar:"AV11LocCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCOD",gx.O.AV11LocCod,1)},c2v:function(){gx.O.AV11LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCOD",".")},nac:function(){return false}};this.GXValidFnc[64]={fld:"BT_CATEGORIA",format:0,grid:0};this.GXValidFnc[66]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCAECOD",gxz:"ZV12CaeCod",gxold:"OV12CaeCod",gxvar:"AV12CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV12CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAECOD",gx.O.AV12CaeCod,1)},c2v:function(){gx.O.AV12CaeCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCAECOD",".")},nac:function(){return false}};this.GXValidFnc[70]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[72]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSTENROSEQUENCIA",gxz:"ZV68SteNroSequencia",gxold:"OV68SteNroSequencia",gxvar:"AV68SteNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV68SteNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV68SteNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSTENROSEQUENCIA",gx.O.AV68SteNroSequencia,0)},c2v:function(){gx.O.AV68SteNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vSTENROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[76]={fld:"BT_TOMBOS",format:0,grid:0};this.GXValidFnc[78]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDNUMMANUAL",gxz:"ZV30IndNumManual",gxold:"OV30IndNumManual",gxvar:"AV30IndNumManual",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV30IndNumManual=a
},v2z:function(a){gx.O.ZV30IndNumManual=a},v2c:function(){gx.fn.setCheckBoxValue("vINDNUMMANUAL",gx.O.AV30IndNumManual,"S")},c2v:function(){gx.O.AV30IndNumManual=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDNUMMANUAL","S","N")},nac:function(){return false}};this.GXValidFnc[80]={fld:"TABLE3",grid:0};this.GXValidFnc[83]={lvl:0,type:"char",len:120,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vROLTOMBOSCARACTER",gxz:"ZV13RolTombosCaracter",gxold:"OV13RolTombosCaracter",gxvar:"AV13RolTombosCaracter",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13RolTombosCaracter=a
},v2z:function(a){gx.O.ZV13RolTombosCaracter=a},v2c:function(){gx.fn.setControlValue("vROLTOMBOSCARACTER",gx.O.AV13RolTombosCaracter,0)},c2v:function(){gx.O.AV13RolTombosCaracter=this.val()},val:function(){return gx.fn.getControlValue("vROLTOMBOSCARACTER")},nac:function(){return false}};this.GXValidFnc[85]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[89]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDNUMAUTOMATICO",gxz:"ZV28IndNumAutomatico",gxold:"OV28IndNumAutomatico",gxvar:"AV28IndNumAutomatico",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV28IndNumAutomatico=a
},v2z:function(a){gx.O.ZV28IndNumAutomatico=a},v2c:function(){gx.fn.setCheckBoxValue("vINDNUMAUTOMATICO",gx.O.AV28IndNumAutomatico,"S")},c2v:function(){gx.O.AV28IndNumAutomatico=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDNUMAUTOMATICO","S","N")},nac:function(){return false}};this.GXValidFnc[91]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDTOMBOSAUTOMATICO",gxz:"ZV29QtdTombosAutomatico",gxold:"OV29QtdTombosAutomatico",gxvar:"AV29QtdTombosAutomatico",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29QtdTombosAutomatico=gx.num.intval(a)
},v2z:function(a){gx.O.ZV29QtdTombosAutomatico=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDTOMBOSAUTOMATICO",gx.O.AV29QtdTombosAutomatico,1)},c2v:function(){gx.O.AV29QtdTombosAutomatico=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDTOMBOSAUTOMATICO",".")},nac:function(){return false}};this.GXValidFnc[92]={fld:"BT_QUANTIDADE",format:0,grid:0};this.GXValidFnc[95]={fld:"BT_FORMACAO",format:0,grid:0};this.GXValidFnc[97]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCQTDITENS",gxz:"ZV40DocQtdItens",gxold:"OV40DocQtdItens",gxvar:"AV40DocQtdItens",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV40DocQtdItens=gx.num.intval(a)
},v2z:function(a){gx.O.ZV40DocQtdItens=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCQTDITENS",gx.O.AV40DocQtdItens,1)},c2v:function(){gx.O.AV40DocQtdItens=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCQTDITENS",".")},nac:function(){return false}};this.GXValidFnc[99]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[103]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCQTDVOLUMES",gxz:"ZV32DocQtdVolumes",gxold:"OV32DocQtdVolumes",gxvar:"AV32DocQtdVolumes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV32DocQtdVolumes=gx.num.intval(a)
},v2z:function(a){gx.O.ZV32DocQtdVolumes=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCQTDVOLUMES",gx.O.AV32DocQtdVolumes,1)},c2v:function(){gx.O.AV32DocQtdVolumes=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCQTDVOLUMES",".")},nac:function(){return false}};this.GXValidFnc[105]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[109]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCQTDTOMOS",gxz:"ZV41DocQtdTomos",gxold:"OV41DocQtdTomos",gxvar:"AV41DocQtdTomos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41DocQtdTomos=gx.num.intval(a)
},v2z:function(a){gx.O.ZV41DocQtdTomos=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCQTDTOMOS",gx.O.AV41DocQtdTomos,1)},c2v:function(){gx.O.AV41DocQtdTomos=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCQTDTOMOS",".")},nac:function(){return false}};this.GXValidFnc[111]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[113]={fld:"PROMPT_DOECODPROPRIETARIO",grid:0};this.GXValidFnc[114]={fld:"PROMPT_TPACOD",grid:0};this.GXValidFnc[115]={fld:"PROMPT_LOCCOD",grid:0};this.GXValidFnc[116]={fld:"PROMPT_CAECOD",grid:0};
this.GXValidFnc[117]={fld:"PROMPT_STENROSEQUENCIA",grid:0};this.AV7DocNro=0;this.ZV7DocNro=0;this.OV7DocNro=0;this.AV25UndCod=0;this.ZV25UndCod=0;this.OV25UndCod=0;this.AV8DoeNroIni=0;this.ZV8DoeNroIni=0;this.OV8DoeNroIni=0;this.AV9DoeDatAqui=gx.date.nullDate();this.ZV9DoeDatAqui=gx.date.nullDate();this.OV9DoeDatAqui=gx.date.nullDate();this.AV64DoeCodProprietario="";this.ZV64DoeCodProprietario="";this.OV64DoeCodProprietario="";this.AV10TpaCod="";this.ZV10TpaCod="";this.OV10TpaCod="";this.AV11LocCod=0;
this.ZV11LocCod=0;this.OV11LocCod=0;this.AV12CaeCod=0;this.ZV12CaeCod=0;this.OV12CaeCod=0;this.AV68SteNroSequencia=0;this.ZV68SteNroSequencia=0;this.OV68SteNroSequencia=0;this.AV30IndNumManual="";this.ZV30IndNumManual="";this.OV30IndNumManual="";this.AV13RolTombosCaracter="";this.ZV13RolTombosCaracter="";this.OV13RolTombosCaracter="";this.AV28IndNumAutomatico="";this.ZV28IndNumAutomatico="";this.OV28IndNumAutomatico="";this.AV29QtdTombosAutomatico=0;this.ZV29QtdTombosAutomatico=0;this.OV29QtdTombosAutomatico=0;
this.AV40DocQtdItens=0;this.ZV40DocQtdItens=0;this.OV40DocQtdItens=0;this.AV32DocQtdVolumes=0;this.ZV32DocQtdVolumes=0;this.OV32DocQtdVolumes=0;this.AV41DocQtdTomos=0;this.ZV41DocQtdTomos=0;this.OV41DocQtdTomos=0;this.AV53UndCoddep=0;this.AV52DoeNroSequencia=0;this.A922UndCod=0;this.A512LocNom="";this.A509LocCod=0;this.A1013TpaDsc="";this.A899TpaCod="";this.A281DoeNroSequ=0;this.A258DocNro=0;this.A278DoeDesObse="";this.A315DvoNroTomb=0;this.ServerEvents=["e112b2_client","e132b2_client","e152b2_client"];
this.setPrompt("PROMPT_DOECODPROPRIETARIO",[48]);this.setPrompt("PROMPT_TPACOD",[54]);this.setPrompt("PROMPT_LOCCOD",[60]);this.setPrompt("PROMPT_CAECOD",[66]);this.setPrompt("PROMPT_STENROSEQUENCIA",[72]);this.EnterCtrl=["CONFIRMAR"];this.VarControlMap.AV53UndCoddep={id:"vUNDCODDEP",grid:0,type:"int"};this.VarControlMap.AV52DoeNroSequencia={id:"vDOENROSEQUENCIA",grid:0,type:"int"};this.SetStandaloneVars()}habw094.prototype=new gx.GxObject;gx.setParentObj(new habw094());