gx.evt.autoSkip=false;function habw181(){this.ServerClass="HAbw181";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV7DocNro=gx.fn.getIntegerValue("vDOCNRO",".")};this.Validv_Dvonrovolume=function(){try{var a=gx.util.balloon.getNew("vDVONROVOLUME");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Undcoddestino=function(){try{var a=gx.util.balloon.getNew("vUNDCODDESTINO");this.AnyError=0
}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Scrnroassinaturapara=function(){try{var a=gx.util.balloon.getNew("vSCRNROASSINATURAPARA");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e11292_client=function(){this.executeServerEvent("ENTER",true)};this.e14291_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,22,24,27,29,32,34,37,39,42,44,47,51,53,56,58,61,63,66,68,71,73,76,78,81,83,87,90,92,94,95];
this.GXLastCtrlId=95;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE3",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[22]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV47undcod",gxold:"OV47undcod",gxvar:"AV47undcod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV47undcod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV47undcod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV47undcod,0)},c2v:function(){gx.O.AV47undcod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOENROSEQUENCIA",gxz:"ZV46doenrosequencia",gxold:"OV46doenrosequencia",gxvar:"AV46doenrosequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV46doenrosequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV46doenrosequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOENROSEQUENCIA",gx.O.AV46doenrosequencia,0)},c2v:function(){gx.O.AV46doenrosequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vDOENROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Dvonrovolume,isvalid:null,rgrid:[],fld:"vDVONROVOLUME",gxz:"ZV29DvoNroVolume",gxold:"OV29DvoNroVolume",gxvar:"AV29DvoNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29DvoNroVolume=gx.num.intval(a)
},v2z:function(a){gx.O.ZV29DvoNroVolume=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDVONROVOLUME",gx.O.AV29DvoNroVolume,0)},c2v:function(){gx.O.AV29DvoNroVolume=this.val()},val:function(){return gx.fn.getIntegerValue("vDVONROVOLUME",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDVONROTOMO",gxz:"ZV55DvoNroTomo",gxold:"OV55DvoNroTomo",gxvar:"AV55DvoNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV55DvoNroTomo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV55DvoNroTomo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDVONROTOMO",gx.O.AV55DvoNroTomo,0)},c2v:function(){gx.O.AV55DvoNroTomo=this.val()},val:function(){return gx.fn.getIntegerValue("vDVONROTOMO",".")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIDITEM",gxz:"ZV57IdItem",gxold:"OV57IdItem",gxvar:"AV57IdItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV57IdItem=a
},v2z:function(a){gx.O.ZV57IdItem=a},v2c:function(){gx.fn.setControlValue("vIDITEM",gx.O.AV57IdItem,0)},c2v:function(){gx.O.AV57IdItem=this.val()},val:function(){return gx.fn.getControlValue("vIDITEM")},nac:function(){return false}};this.GXValidFnc[47]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[51]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Undcoddestino,isvalid:null,rgrid:[],fld:"vUNDCODDESTINO",gxz:"ZV54UndCodDestino",gxold:"OV54UndCodDestino",gxvar:"AV54UndCodDestino",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV54UndCodDestino=gx.num.intval(a)
},v2z:function(a){gx.O.ZV54UndCodDestino=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCODDESTINO",gx.O.AV54UndCodDestino,0)},c2v:function(){gx.O.AV54UndCodDestino=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCODDESTINO",".")},nac:function(){return false}};this.GXValidFnc[56]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[58]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Scrnroassinaturapara,isvalid:null,rgrid:[],fld:"vSCRNROASSINATURAPARA",gxz:"ZV64ScrNroAssinaturaPara",gxold:"OV64ScrNroAssinaturaPara",gxvar:"AV64ScrNroAssinaturaPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV64ScrNroAssinaturaPara=gx.num.intval(a)
},v2z:function(a){gx.O.ZV64ScrNroAssinaturaPara=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROASSINATURAPARA",gx.O.AV64ScrNroAssinaturaPara,0)},c2v:function(){gx.O.AV64ScrNroAssinaturaPara=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROASSINATURAPARA",".")},nac:function(){return false}};this.GXValidFnc[61]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[63]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRCODLOCALIZACAOPARA",gxz:"ZV65ScrCodLocalizacaoPara",gxold:"OV65ScrCodLocalizacaoPara",gxvar:"AV65ScrCodLocalizacaoPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV65ScrCodLocalizacaoPara=gx.num.intval(a)
},v2z:function(a){gx.O.ZV65ScrCodLocalizacaoPara=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODLOCALIZACAOPARA",gx.O.AV65ScrCodLocalizacaoPara,0)},c2v:function(){gx.O.AV65ScrCodLocalizacaoPara=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODLOCALIZACAOPARA",".")},nac:function(){return false}};this.GXValidFnc[66]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[68]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDVODATRECEBIMENTO",gxz:"ZV61DvoDatRecebimento",gxold:"OV61DvoDatRecebimento",gxvar:"AV61DvoDatRecebimento",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.AV61DvoDatRecebimento=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV61DvoDatRecebimento=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDVODATRECEBIMENTO",gx.O.AV61DvoDatRecebimento,0)},c2v:function(){gx.O.AV61DvoDatRecebimento=this.val()},val:function(){return gx.fn.getControlValue("vDVODATRECEBIMENTO")},nac:function(){return false}};this.GXValidFnc[71]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[73]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDNUMTOMBO",gxz:"ZV58IndNumTombo",gxold:"OV58IndNumTombo",gxvar:"AV58IndNumTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV58IndNumTombo=a
},v2z:function(a){gx.O.ZV58IndNumTombo=a},v2c:function(){gx.fn.setRadioValue("vINDNUMTOMBO",gx.O.AV58IndNumTombo)},c2v:function(){gx.O.AV58IndNumTombo=this.val()},val:function(){return gx.fn.getControlValue("vINDNUMTOMBO")},nac:function(){return false}};this.GXValidFnc[76]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[78]={fld:"TABLE2",grid:0};this.GXValidFnc[81]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDESNROTOMB",gxz:"ZV13DesNroTomb",gxold:"OV13DesNroTomb",gxvar:"AV13DesNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13DesNroTomb=a
},v2z:function(a){gx.O.ZV13DesNroTomb=a},v2c:function(){gx.fn.setControlValue("vDESNROTOMB",gx.O.AV13DesNroTomb,0)},c2v:function(){gx.O.AV13DesNroTomb=this.val()},val:function(){return gx.fn.getControlValue("vDESNROTOMB")},nac:function(){return false}};this.GXValidFnc[83]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[87]={fld:"TABLE5",grid:0};this.GXValidFnc[90]={fld:"TXTMAIORTOMBO",format:0,grid:0};this.GXValidFnc[92]={fld:"TXTTOMBOSLIVRES",format:0,grid:0};this.GXValidFnc[94]={fld:"PROMPT_UNDCODDESTINO",grid:0};
this.GXValidFnc[95]={fld:"PROMPT_SCRCODLOCALIZACAOPARA",grid:0};this.AV47undcod=0;this.ZV47undcod=0;this.OV47undcod=0;this.AV46doenrosequencia=0;this.ZV46doenrosequencia=0;this.OV46doenrosequencia=0;this.AV29DvoNroVolume=0;this.ZV29DvoNroVolume=0;this.OV29DvoNroVolume=0;this.AV55DvoNroTomo=0;this.ZV55DvoNroTomo=0;this.OV55DvoNroTomo=0;this.AV57IdItem="";this.ZV57IdItem="";this.OV57IdItem="";this.AV54UndCodDestino=0;this.ZV54UndCodDestino=0;this.OV54UndCodDestino=0;this.AV64ScrNroAssinaturaPara=0;
this.ZV64ScrNroAssinaturaPara=0;this.OV64ScrNroAssinaturaPara=0;this.AV65ScrCodLocalizacaoPara=0;this.ZV65ScrCodLocalizacaoPara=0;this.OV65ScrCodLocalizacaoPara=0;this.AV61DvoDatRecebimento=gx.date.nullDate();this.ZV61DvoDatRecebimento=gx.date.nullDate();this.OV61DvoDatRecebimento=gx.date.nullDate();this.AV58IndNumTombo="";this.ZV58IndNumTombo="";this.OV58IndNumTombo="";this.AV13DesNroTomb="";this.ZV13DesNroTomb="";this.OV13DesNroTomb="";this.AV7DocNro=0;this.A317DvoNroVolu=0;this.A258DocNro=0;this.A223DitNroEdic="";
this.A871TidIndModo="";this.A220DitAnoEdic="";this.A227DitValExte="";this.A224DitNroTomo="";this.A225DitNroVolu="";this.A863TidCod="";this.A281DoeNroSequ=0;this.A922UndCod=0;this.A268DoeCodAssi="";this.ServerEvents=["e11292_client","e14291_client"];this.setPrompt("PROMPT_UNDCODDESTINO",[53]);this.setPrompt("PROMPT_SCRCODLOCALIZACAOPARA",[63]);this.EnterCtrl=["BUTTON5"];this.VarControlMap.AV7DocNro={id:"vDOCNRO",grid:0,type:"int"};this.SetStandaloneVars()}habw181.prototype=new gx.GxObject;gx.setParentObj(new habw181());