gx.evt.autoSkip=false;function himh090(){this.ServerClass="HImh090";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV38ParTipForm=gx.fn.getControlValue("vPARTIPFORM");this.AV40UndCod=gx.fn.getIntegerValue("vUNDCOD",".")};this.Validv_Slcnro=function(){try{var a=gx.util.balloon.getNew("vSLCNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Aconro=function(){try{var a=gx.util.balloon.getNew("vACONRO");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Sacnro=function(){try{var a=gx.util.balloon.getNew("vSACNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Tpacod=function(){try{var a=gx.util.balloon.getNew("vTPACOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Loccod=function(){try{var a=gx.util.balloon.getNew("vLOCCOD");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Caecod=function(){try{var a=gx.util.balloon.getNew("vCAECOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Curcod=function(){try{var a=gx.util.balloon.getNew("vCURCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Dcpnro=function(){try{var a=gx.util.balloon.getNew("vDCPNRO");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e115l2_client=function(){this.executeServerEvent("ENTER",true)};this.e135l2_client=function(){this.executeServerEvent("'HOME'",false)};this.e145l2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e165l2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,20,23,25,30,32,33,36,38,40,41,43,44,47,49,50,53,55,58,60,63,65,67,69,70,73,74,76,77,79,81,82,85,87,89,91,94,96,97,99,101,104,106,108,110,113,115,116,118,119,121,122,125,127,129,131,134,136,138,140,141,142,143,144,145,146,147];
this.GXLastCtrlId=147;this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"TABLE2",grid:0};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Slcnro,isvalid:null,rgrid:[],fld:"vSLCNRO",gxz:"ZV8SlcNro",gxold:"OV8SlcNro",gxvar:"AV8SlcNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8SlcNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8SlcNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLCNRO",gx.O.AV8SlcNro,0)},c2v:function(){gx.O.AV8SlcNro=this.val()},val:function(){return gx.fn.getIntegerValue("vSLCNRO",".")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[32]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIDCOD",gxz:"ZV9TidCod",gxold:"OV9TidCod",gxvar:"AV9TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9TidCod=a
},v2z:function(a){gx.O.ZV9TidCod=a},v2c:function(){gx.fn.setControlValue("vTIDCOD",gx.O.AV9TidCod,0)},c2v:function(){gx.O.AV9TidCod=this.val()},val:function(){return gx.fn.getControlValue("vTIDCOD")},nac:function(){return false}};this.GXValidFnc[33]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIDDES",gxz:"ZV10TidDes",gxold:"OV10TidDes",gxvar:"AV10TidDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10TidDes=a},v2z:function(a){gx.O.ZV10TidDes=a
},v2c:function(){gx.fn.setControlValue("vTIDDES",gx.O.AV10TidDes,0)},c2v:function(){gx.O.AV10TidDes=this.val()},val:function(){return gx.fn.getControlValue("vTIDDES")},nac:function(){return false}};this.GXValidFnc[36]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[38]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCODASSUNTO",gxz:"ZV11CodAssunto",gxold:"OV11CodAssunto",gxvar:"AV11CodAssunto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11CodAssunto=a
},v2z:function(a){gx.O.ZV11CodAssunto=a},v2c:function(){gx.fn.setControlValue("vCODASSUNTO",gx.O.AV11CodAssunto,0)},c2v:function(){gx.O.AV11CodAssunto=this.val()},val:function(){return gx.fn.getControlValue("vCODASSUNTO")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPCLASSIF",gxz:"ZV51TipClassif",gxold:"OV51TipClassif",gxvar:"AV51TipClassif",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV51TipClassif=gx.num.intval(a)
},v2z:function(a){gx.O.ZV51TipClassif=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("vTIPCLASSIF",gx.O.AV51TipClassif)},c2v:function(){gx.O.AV51TipClassif=this.val()},val:function(){return gx.fn.getIntegerValue("vTIPCLASSIF",".")},nac:function(){return false}};this.GXValidFnc[43]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCODAUTOR",gxz:"ZV12CodAutor",gxold:"OV12CodAutor",gxvar:"AV12CodAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12CodAutor=a
},v2z:function(a){gx.O.ZV12CodAutor=a},v2c:function(){gx.fn.setControlValue("vCODAUTOR",gx.O.AV12CodAutor,0)},c2v:function(){gx.O.AV12CodAutor=this.val()},val:function(){return gx.fn.getControlValue("vCODAUTOR")},nac:function(){return false}};this.GXValidFnc[47]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[49]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIDICOD",gxz:"ZV13IdiCod",gxold:"OV13IdiCod",gxvar:"AV13IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV13IdiCod=a
},v2z:function(a){gx.O.ZV13IdiCod=a},v2c:function(){gx.fn.setControlValue("vIDICOD",gx.O.AV13IdiCod,0)},c2v:function(){gx.O.AV13IdiCod=this.val()},val:function(){return gx.fn.getControlValue("vIDICOD")},nac:function(){return false}};this.GXValidFnc[50]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIDIDES",gxz:"ZV14IdiDes",gxold:"OV14IdiDes",gxvar:"AV14IdiDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14IdiDes=a},v2z:function(a){gx.O.ZV14IdiDes=a
},v2c:function(){gx.fn.setControlValue("vIDIDES",gx.O.AV14IdiDes,0)},c2v:function(){gx.O.AV14IdiDes=this.val()},val:function(){return gx.fn.getControlValue("vIDIDES")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[55]={lvl:0,type:"char",len:250,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vAUTORL1",gxz:"ZV15AutorL1",gxold:"OV15AutorL1",gxvar:"AV15AutorL1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15AutorL1=a
},v2z:function(a){gx.O.ZV15AutorL1=a},v2c:function(){gx.fn.setControlValue("vAUTORL1",gx.O.AV15AutorL1,0)},c2v:function(){gx.O.AV15AutorL1=this.val()},val:function(){return gx.fn.getControlValue("vAUTORL1")},nac:function(){return false}};this.GXValidFnc[58]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[60]={lvl:0,type:"char",len:250,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTITULOL1",gxz:"ZV16TituloL1",gxold:"OV16TituloL1",gxvar:"AV16TituloL1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16TituloL1=a
},v2z:function(a){gx.O.ZV16TituloL1=a},v2c:function(){gx.fn.setControlValue("vTITULOL1",gx.O.AV16TituloL1,0)},c2v:function(){gx.O.AV16TituloL1=this.val()},val:function(){return gx.fn.getControlValue("vTITULOL1")},nac:function(){return false}};this.GXValidFnc[63]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[65]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEDICAO",gxz:"ZV17Edicao",gxold:"OV17Edicao",gxvar:"AV17Edicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17Edicao=a
},v2z:function(a){gx.O.ZV17Edicao=a},v2c:function(){gx.fn.setControlValue("vEDICAO",gx.O.AV17Edicao,0)},c2v:function(){gx.O.AV17Edicao=this.val()},val:function(){return gx.fn.getControlValue("vEDICAO")},nac:function(){return false}};this.GXValidFnc[67]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[69]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vEDINRO",gxz:"ZV20EdiNro",gxold:"OV20EdiNro",gxvar:"AV20EdiNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20EdiNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV20EdiNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vEDINRO",gx.O.AV20EdiNro,0)},c2v:function(){gx.O.AV20EdiNro=this.val()},val:function(){return gx.fn.getIntegerValue("vEDINRO",".")},nac:function(){return false}};this.GXValidFnc[70]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vEDINOM25",gxz:"ZV50EdiNom25",gxold:"OV50EdiNom25",gxvar:"AV50EdiNom25",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV50EdiNom25=a
},v2z:function(a){gx.O.ZV50EdiNom25=a},v2c:function(){gx.fn.setControlValue("vEDINOM25",gx.O.AV50EdiNom25,0)},c2v:function(){gx.O.AV50EdiNom25=this.val()},val:function(){return gx.fn.getControlValue("vEDINOM25")},nac:function(){return false}};this.GXValidFnc[73]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[74]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[76]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vANOEDICAO",gxz:"ZV29AnoEdicao",gxold:"OV29AnoEdicao",gxvar:"AV29AnoEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29AnoEdicao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV29AnoEdicao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vANOEDICAO",gx.O.AV29AnoEdicao,0)},c2v:function(){gx.O.AV29AnoEdicao=this.val()},val:function(){return gx.fn.getIntegerValue("vANOEDICAO",".")},nac:function(){return false}};this.GXValidFnc[77]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vMESEDICAO",gxz:"ZV30MesEdicao",gxold:"OV30MesEdicao",gxvar:"AV30MesEdicao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30MesEdicao=a
},v2z:function(a){gx.O.ZV30MesEdicao=a},v2c:function(){gx.fn.setControlValue("vMESEDICAO",gx.O.AV30MesEdicao,0)},c2v:function(){gx.O.AV30MesEdicao=this.val()},val:function(){return gx.fn.getControlValue("vMESEDICAO")},nac:function(){return false}};this.GXValidFnc[79]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[81]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLPUCOD",gxz:"ZV36LpuCod",gxold:"OV36LpuCod",gxvar:"AV36LpuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36LpuCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV36LpuCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLPUCOD",gx.O.AV36LpuCod,0)},c2v:function(){gx.O.AV36LpuCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLPUCOD",".")},nac:function(){return false}};this.GXValidFnc[82]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLPUNOM",gxz:"ZV37LpuNom",gxold:"OV37LpuNom",gxvar:"AV37LpuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV37LpuNom=a
},v2z:function(a){gx.O.ZV37LpuNom=a},v2c:function(){gx.fn.setControlValue("vLPUNOM",gx.O.AV37LpuNom,0)},c2v:function(){gx.O.AV37LpuNom=this.val()},val:function(){return gx.fn.getControlValue("vLPUNOM")},nac:function(){return false}};this.GXValidFnc[85]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[87]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Aconro,isvalid:null,rgrid:[],fld:"vACONRO",gxz:"ZV41AcoNro",gxold:"OV41AcoNro",gxvar:"AV41AcoNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41AcoNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV41AcoNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vACONRO",gx.O.AV41AcoNro,0)},c2v:function(){gx.O.AV41AcoNro=this.val()},val:function(){return gx.fn.getIntegerValue("vACONRO",".")},nac:function(){return false}};this.GXValidFnc[89]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[91]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Sacnro,isvalid:null,rgrid:[],fld:"vSACNRO",gxz:"ZV44SacNro",gxold:"OV44SacNro",gxvar:"AV44SacNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV44SacNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV44SacNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSACNRO",gx.O.AV44SacNro,0)},c2v:function(){gx.O.AV44SacNro=this.val()},val:function(){return gx.fn.getIntegerValue("vSACNRO",".")},nac:function(){return false}};this.GXValidFnc[94]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[96]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Tpacod,isvalid:null,fld:"vTPACOD",gxz:"ZV22TpaCod",gxold:"OV22TpaCod",gxvar:"AV22TpaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22TpaCod=a
},v2z:function(a){gx.O.ZV22TpaCod=a},v2c:function(){gx.fn.setControlValue("vTPACOD",gx.O.AV22TpaCod,0)},c2v:function(){gx.O.AV22TpaCod=this.val()},val:function(){return gx.fn.getControlValue("vTPACOD")},nac:function(){return false}};this.GXValidFnc[97]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTPADES",gxz:"ZV23TpaDes",gxold:"OV23TpaDes",gxvar:"AV23TpaDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23TpaDes=a},v2z:function(a){gx.O.ZV23TpaDes=a
},v2c:function(){gx.fn.setControlValue("vTPADES",gx.O.AV23TpaDes,0)},c2v:function(){gx.O.AV23TpaDes=this.val()},val:function(){return gx.fn.getControlValue("vTPADES")},nac:function(){return false}};this.GXValidFnc[99]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[101]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Loccod,isvalid:null,rgrid:[],fld:"vLOCCOD",gxz:"ZV18LocCod",gxold:"OV18LocCod",gxvar:"AV18LocCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV18LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLOCCOD",gx.O.AV18LocCod,0)},c2v:function(){gx.O.AV18LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("vLOCCOD",".")},nac:function(){return false}};this.GXValidFnc[104]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[106]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDEXEMP",gxz:"ZV25QtdExemp",gxold:"OV25QtdExemp",gxvar:"AV25QtdExemp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25QtdExemp=gx.num.intval(a)
},v2z:function(a){gx.O.ZV25QtdExemp=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDEXEMP",gx.O.AV25QtdExemp,0)},c2v:function(){gx.O.AV25QtdExemp=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDEXEMP",".")},nac:function(){return false}};this.GXValidFnc[108]={fld:"TEXTBLOCK20",format:0,grid:0};this.GXValidFnc[110]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDVOLUMES",gxz:"ZV32QtdVolumes",gxold:"OV32QtdVolumes",gxvar:"AV32QtdVolumes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV32QtdVolumes=gx.num.intval(a)
},v2z:function(a){gx.O.ZV32QtdVolumes=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vQTDVOLUMES",gx.O.AV32QtdVolumes,0)},c2v:function(){gx.O.AV32QtdVolumes=this.val()},val:function(){return gx.fn.getIntegerValue("vQTDVOLUMES",".")},nac:function(){return false}};this.GXValidFnc[113]={fld:"TEXTBLOCK21",format:0,grid:0};this.GXValidFnc[115]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vFORCOD",gxz:"ZV26ForCod",gxold:"OV26ForCod",gxvar:"AV26ForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV26ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vFORCOD",gx.O.AV26ForCod,0)},c2v:function(){gx.O.AV26ForCod=this.val()},val:function(){return gx.fn.getIntegerValue("vFORCOD",".")},nac:function(){return false}};this.GXValidFnc[116]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vFORNOM",gxz:"ZV27ForNom",gxold:"OV27ForNom",gxvar:"AV27ForNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27ForNom=a
},v2z:function(a){gx.O.ZV27ForNom=a},v2c:function(){gx.fn.setControlValue("vFORNOM",gx.O.AV27ForNom,0)},c2v:function(){gx.O.AV27ForNom=this.val()},val:function(){return gx.fn.getControlValue("vFORNOM")},nac:function(){return false}};this.GXValidFnc[118]={fld:"TEXTBLOCK22",format:0,grid:0};this.GXValidFnc[119]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Caecod,isvalid:null,rgrid:[],fld:"vCAECOD",gxz:"ZV33CaeCod",gxold:"OV33CaeCod",gxvar:"AV33CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV33CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAECOD",gx.O.AV33CaeCod,0)},c2v:function(){gx.O.AV33CaeCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCAECOD",".")},nac:function(){return false}};this.GXValidFnc[121]={fld:"TEXTBLOCK23",format:0,grid:0};this.GXValidFnc[122]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDOECODPROP",gxz:"ZV35DoeCodProp",gxold:"OV35DoeCodProp",gxvar:"AV35DoeCodProp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35DoeCodProp=a
},v2z:function(a){gx.O.ZV35DoeCodProp=a},v2c:function(){gx.fn.setControlValue("vDOECODPROP",gx.O.AV35DoeCodProp,0)},c2v:function(){gx.O.AV35DoeCodProp=this.val()},val:function(){return gx.fn.getControlValue("vDOECODPROP")},nac:function(){return false}};this.GXValidFnc[125]={fld:"TEXTBLOCK24",format:0,grid:0};this.GXValidFnc[127]={lvl:0,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vVALUNIT",gxz:"ZV24ValUnit",gxold:"OV24ValUnit",gxvar:"AV24ValUnit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24ValUnit=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV24ValUnit=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vVALUNIT",gx.O.AV24ValUnit,2,",")},c2v:function(){gx.O.AV24ValUnit=this.val()},val:function(){return gx.fn.getDecimalValue("vVALUNIT",".",",")},nac:function(){return false}};this.GXValidFnc[129]={fld:"TEXTBLOCK25",format:0,grid:0};this.GXValidFnc[131]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMMOEDA",gxz:"ZV34NomMoeda",gxold:"OV34NomMoeda",gxvar:"AV34NomMoeda",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV34NomMoeda=a
},v2z:function(a){gx.O.ZV34NomMoeda=a},v2c:function(){gx.fn.setControlValue("vNOMMOEDA",gx.O.AV34NomMoeda,0)},c2v:function(){gx.O.AV34NomMoeda=this.val()},val:function(){return gx.fn.getControlValue("vNOMMOEDA")},nac:function(){return false}};this.GXValidFnc[134]={fld:"TEXTBLOCK26",format:0,grid:0};this.GXValidFnc[136]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Curcod,isvalid:null,rgrid:[],fld:"vCURCOD",gxz:"ZV42CurCod",gxold:"OV42CurCod",gxvar:"AV42CurCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV42CurCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV42CurCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCURCOD",gx.O.AV42CurCod,0)},c2v:function(){gx.O.AV42CurCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCURCOD",".")},nac:function(){return false}};this.GXValidFnc[138]={fld:"TEXTBLOCK27",format:0,grid:0};this.GXValidFnc[140]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Dcpnro,isvalid:null,rgrid:[],fld:"vDCPNRO",gxz:"ZV43DcpNro",gxold:"OV43DcpNro",gxvar:"AV43DcpNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV43DcpNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV43DcpNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDCPNRO",gx.O.AV43DcpNro,0)},c2v:function(){gx.O.AV43DcpNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDCPNRO",".")},nac:function(){return false}};this.GXValidFnc[141]={fld:"PROMPT_TIDCOD",grid:0};this.GXValidFnc[142]={fld:"PROMPT_IDICOD",grid:0};this.GXValidFnc[143]={fld:"PROMPT_EDINRO",grid:0};this.GXValidFnc[144]={fld:"PROMPT_LPUCOD",grid:0};this.GXValidFnc[145]={fld:"PROMPT_TPACOD",grid:0};
this.GXValidFnc[146]={fld:"PROMPT_LOCCOD",grid:0};this.GXValidFnc[147]={fld:"PROMPT_FORCOD",grid:0};this.AV8SlcNro=0;this.ZV8SlcNro=0;this.OV8SlcNro=0;this.AV9TidCod="";this.ZV9TidCod="";this.OV9TidCod="";this.AV10TidDes="";this.ZV10TidDes="";this.OV10TidDes="";this.AV11CodAssunto="";this.ZV11CodAssunto="";this.OV11CodAssunto="";this.AV51TipClassif=0;this.ZV51TipClassif=0;this.OV51TipClassif=0;this.AV12CodAutor="";this.ZV12CodAutor="";this.OV12CodAutor="";this.AV13IdiCod="";this.ZV13IdiCod="";this.OV13IdiCod="";
this.AV14IdiDes="";this.ZV14IdiDes="";this.OV14IdiDes="";this.AV15AutorL1="";this.ZV15AutorL1="";this.OV15AutorL1="";this.AV16TituloL1="";this.ZV16TituloL1="";this.OV16TituloL1="";this.AV17Edicao="";this.ZV17Edicao="";this.OV17Edicao="";this.AV20EdiNro=0;this.ZV20EdiNro=0;this.OV20EdiNro=0;this.AV50EdiNom25="";this.ZV50EdiNom25="";this.OV50EdiNom25="";this.AV29AnoEdicao=0;this.ZV29AnoEdicao=0;this.OV29AnoEdicao=0;this.AV30MesEdicao="";this.ZV30MesEdicao="";this.OV30MesEdicao="";this.AV36LpuCod=0;
this.ZV36LpuCod=0;this.OV36LpuCod=0;this.AV37LpuNom="";this.ZV37LpuNom="";this.OV37LpuNom="";this.AV41AcoNro=0;this.ZV41AcoNro=0;this.OV41AcoNro=0;this.AV44SacNro=0;this.ZV44SacNro=0;this.OV44SacNro=0;this.AV22TpaCod="";this.ZV22TpaCod="";this.OV22TpaCod="";this.AV23TpaDes="";this.ZV23TpaDes="";this.OV23TpaDes="";this.AV18LocCod=0;this.ZV18LocCod=0;this.OV18LocCod=0;this.AV25QtdExemp=0;this.ZV25QtdExemp=0;this.OV25QtdExemp=0;this.AV32QtdVolumes=0;this.ZV32QtdVolumes=0;this.OV32QtdVolumes=0;this.AV26ForCod=0;
this.ZV26ForCod=0;this.OV26ForCod=0;this.AV27ForNom="";this.ZV27ForNom="";this.OV27ForNom="";this.AV33CaeCod=0;this.ZV33CaeCod=0;this.OV33CaeCod=0;this.AV35DoeCodProp="";this.ZV35DoeCodProp="";this.OV35DoeCodProp="";this.AV24ValUnit=0;this.ZV24ValUnit=0;this.OV24ValUnit=0;this.AV34NomMoeda="";this.ZV34NomMoeda="";this.OV34NomMoeda="";this.AV42CurCod=0;this.ZV42CurCod=0;this.OV42CurCod=0;this.AV43DcpNro=0;this.ZV43DcpNro=0;this.OV43DcpNro=0;this.AV38ParTipForm="";this.AV40UndCod=0;this.A819SlcNro=0;
this.A804SlcCodAuto="";this.A863TidCod="";this.A868TidDes="";this.A433ForCod=0;this.A444ForNomComp="";this.A803SlcCodAssu="";this.A480IdiCod="";this.A482IdiDes="";this.A817SlcNomL1Au="";this.A809SlcDesL1Ti="";this.A813SlcEdicao="";this.A801SlcAnoEdic=0;this.A816SlcMesEdic="";this.A821SlcQtdVolu=0;this.A334EdiNro=0;this.A329EdiNomAbre="";this.A516LpuCod=0;this.A518LpuNom="";this.A824SlcValUnit=0;this.A822SlcQuantid=0;this.A4AcoNro=0;this.A753SacNro=0;this.A169CurCod=0;this.A186DcpNro=0;this.A802SlcCampo1L="";
this.A185DcpNom="";this.A170CurNom="";this.A79CaeCod=0;this.A84CaeNom="";this.A899TpaCod="";this.A900TpaDes="";this.A509LocCod=0;this.A922UndCod=0;this.A512LocNom="";this.A752SacNom="";this.A3AcoDes="";this.ServerEvents=["e115l2_client","e135l2_client","e145l2_client","e165l2_client"];this.setPrompt("PROMPT_TIDCOD",[32]);this.setPrompt("PROMPT_IDICOD",[49]);this.setPrompt("PROMPT_EDINRO",[69]);this.setPrompt("PROMPT_LPUCOD",[81]);this.setPrompt("PROMPT_TPACOD",[96]);this.setPrompt("PROMPT_LOCCOD",[101]);
this.setPrompt("PROMPT_FORCOD",[115]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV38ParTipForm={id:"vPARTIPFORM",grid:0,type:"char"};this.VarControlMap.AV40UndCod={id:"vUNDCOD",grid:0,type:"int"};this.SetStandaloneVars()}himh090.prototype=new gx.GxObject;gx.setParentObj(new himh090());