gx.evt.autoSkip=false;function himh088(){this.ServerClass="HImh088";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.A809SlcDesL1Ti=gx.fn.getControlValue("SLCDESL1TI");this.A811SlcDscTitu=gx.fn.getControlValue("SLCDSCTITU")};this.Valid_Slcnrodocu=function(){try{if(gx.fn.currentGridRowImpl(80)===0){return true}var a=gx.util.balloon.getNew("SLCNRODOCU",gx.fn.currentGridRowImpl(80));this.AnyError=0}catch(b){}try{if(a==null){return true
}return a.show()}catch(b){}return true};this.e181p1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("hmih087",["O"]),[]);this.refreshOutputs([])};this.e191p1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh265",["O"]),[]);this.refreshOutputs([])};this.e111p2_client=function(){this.executeServerEvent("ENTER",true)};this.e121p2_client=function(){this.executeServerEvent("'INCLUIR'",false)};this.e131p2_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e141p2_client=function(){this.executeServerEvent("'IR PARA'",false)};this.e201p2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,16,20,23,26,28,31,34,36,39,41,43,45,47,49,51,54,56,58,61,63,65,67,69,71,74,76,78,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96];this.GXLastCtrlId=96;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",80,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh088",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");
this.Grid1Container.addCheckBox("Indselecao",81,"vINDSELECAO","","","IndSelecao","char","S","N",null,true,false,0,"px");this.Grid1Container.addBitmap("&Imgeditar","vIMGEDITAR",82,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(808,83,"SLCDATSOLI","Solicitação","","SlcDatSoli","date",0,"px",10,10,"right",null,[],808,"SlcDatSoli",true,0,false,false);this.Grid1Container.addSingleLineEdit(819,84,"SLCNRO","Nro.","","SlcNro","int",0,"px",6,6,"right",null,[],819,"SlcNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Dsctitulo",85,"vDSCTITULO","Título","","DscTitulo","char",0,"px",250,250,"left",null,[],"Dsctitulo","DscTitulo",true,0,false,false);this.Grid1Container.addSingleLineEdit(812,86,"SLCNRODOCU","Documento","","SlcNroDocu","int",0,"px",7,7,"right",null,[],812,"SlcNroDocu",true,0,false,false);this.Grid1Container.addSingleLineEdit(818,87,"SLCNOMSOLI","Solicitante","","SlcNomSoli","char",0,"px",35,35,"left",null,[],818,"SlcNomSoli",true,0,false,false);this.Grid1Container.addComboBox(815,88,"SLCINDTEMC","Sel.cotação","SlcIndTemC","char",null,0,true,false,0,"px");
this.Grid1Container.addComboBox(814,89,"SLCINDSITU","Situação","SlcIndSitu","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(805,90,"SLCCODUNID","Un.","","SlcCodUnid","int",0,"px",3,3,"right",null,[],805,"SlcCodUnid",true,0,false,false);this.Grid1Container.addSingleLineEdit(806,91,"SLCDATPRER","Previsão","","SlcDatPreR","date",0,"px",10,10,"right",null,[],806,"SlcDatPreR",true,0,false,false);this.Grid1Container.addSingleLineEdit(822,92,"SLCQUANTID","Exemplar","","SlcQuantid","int",0,"px",6,6,"right",null,[],822,"SlcQuantid",true,0,false,false);
this.Grid1Container.addSingleLineEdit(824,93,"SLCVALUNIT","Valor ","","SlcValUnit","decimal",0,"px",10,10,"right",null,[],824,"SlcValUnit",true,2,false,false);this.Grid1Container.addSingleLineEdit(820,94,"SLCNROPEDI","Pedido","","SlcNroPedi","int",0,"px",6,6,"right",null,[],820,"SlcNroPedi",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSLCNRONAVEGAR",gxz:"ZV15SlcNroNavegar",gxold:"OV15SlcNroNavegar",gxvar:"AV15SlcNroNavegar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15SlcNroNavegar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV15SlcNroNavegar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSLCNRONAVEGAR",gx.O.AV15SlcNroNavegar,0)},c2v:function(){gx.O.AV15SlcNroNavegar=this.val()},val:function(){return gx.fn.getIntegerValue("vSLCNRONAVEGAR",".")},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[23]={fld:"TABLE5",grid:0};this.GXValidFnc[26]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"char",len:13,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPACAO",gxz:"ZV26TipAcao",gxold:"OV26TipAcao",gxvar:"AV26TipAcao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV26TipAcao=a
},v2z:function(a){gx.O.ZV26TipAcao=a},v2c:function(){gx.fn.setRadioValue("vTIPACAO",gx.O.AV26TipAcao)},c2v:function(){gx.O.AV26TipAcao=this.val()},val:function(){return gx.fn.getControlValue("vTIPACAO")},nac:function(){return false}};this.GXValidFnc[31]={fld:"SUGESTAOLEITOR",format:0,grid:0};this.GXValidFnc[34]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[36]={fld:"TABLE6",grid:0};this.GXValidFnc[39]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATINI",gxz:"ZV6DatIni",gxold:"OV6DatIni",gxvar:"AV6DatIni",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.AV6DatIni=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV6DatIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATINI",gx.O.AV6DatIni,0)},c2v:function(){gx.O.AV6DatIni=this.val()},val:function(){return gx.fn.getControlValue("vDATINI")},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[43]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATFIM",gxz:"ZV36DatFim",gxold:"OV36DatFim",gxvar:"AV36DatFim",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.AV36DatFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV36DatFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATFIM",gx.O.AV36DatFim,0)},c2v:function(){gx.O.AV36DatFim=this.val()},val:function(){return gx.fn.getControlValue("vDATFIM")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDSITUACAO",gxz:"ZV11IndSituacao",gxold:"OV11IndSituacao",gxvar:"AV11IndSituacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV11IndSituacao=a
},v2z:function(a){gx.O.ZV11IndSituacao=a},v2c:function(){gx.fn.setComboBoxValue("vINDSITUACAO",gx.O.AV11IndSituacao)},c2v:function(){gx.O.AV11IndSituacao=this.val()},val:function(){return gx.fn.getControlValue("vINDSITUACAO")},nac:function(){return false}};this.GXValidFnc[49]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[51]={fld:"TABLE3",grid:0};this.GXValidFnc[54]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vUNDCOD",gxz:"ZV17UndCod",gxold:"OV17UndCod",gxvar:"AV17UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV17UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV17UndCod,0)},c2v:function(){gx.O.AV17UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[56]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[58]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODLEITOR",gxz:"ZV41ScrCodLeitor",gxold:"OV41ScrCodLeitor",gxvar:"AV41ScrCodLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41ScrCodLeitor=a
},v2z:function(a){gx.O.ZV41ScrCodLeitor=a},v2c:function(){gx.fn.setControlValue("vSCRCODLEITOR",gx.O.AV41ScrCodLeitor,0)},c2v:function(){gx.O.AV41ScrCodLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODLEITOR")},nac:function(){return false}};this.GXValidFnc[61]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[63]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTITULOSCR",gxz:"ZV7TituloScr",gxold:"OV7TituloScr",gxvar:"AV7TituloScr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7TituloScr=a
},v2z:function(a){gx.O.ZV7TituloScr=a},v2c:function(){gx.fn.setControlValue("vTITULOSCR",gx.O.AV7TituloScr,0)},c2v:function(){gx.O.AV7TituloScr=this.val()},val:function(){return gx.fn.getControlValue("vTITULOSCR")},nac:function(){return false}};this.GXValidFnc[65]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[67]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vPEDNRO",gxz:"ZV19PedNro",gxold:"OV19PedNro",gxvar:"AV19PedNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19PedNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV19PedNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vPEDNRO",gx.O.AV19PedNro,0)},c2v:function(){gx.O.AV19PedNro=this.val()},val:function(){return gx.fn.getIntegerValue("vPEDNRO",".")},nac:function(){return false}};this.GXValidFnc[69]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[71]={fld:"TABLE2",grid:0};this.GXValidFnc[74]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATRECEBIMENTOPREVISTOINICIAL",gxz:"ZV39DatRecebimentoPrevistoInicial",gxold:"OV39DatRecebimentoPrevistoInicial",gxvar:"AV39DatRecebimentoPrevistoInicial",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.AV39DatRecebimentoPrevistoInicial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV39DatRecebimentoPrevistoInicial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATRECEBIMENTOPREVISTOINICIAL",gx.O.AV39DatRecebimentoPrevistoInicial,0)},c2v:function(){gx.O.AV39DatRecebimentoPrevistoInicial=this.val()},val:function(){return gx.fn.getControlValue("vDATRECEBIMENTOPREVISTOINICIAL")},nac:function(){return false}};this.GXValidFnc[76]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[78]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATRECEBIMENTOPREVISTOFINAL",gxz:"ZV40DatRecebimentoPrevistoFinal",gxold:"OV40DatRecebimentoPrevistoFinal",gxvar:"AV40DatRecebimentoPrevistoFinal",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.AV40DatRecebimentoPrevistoFinal=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV40DatRecebimentoPrevistoFinal=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATRECEBIMENTOPREVISTOFINAL",gx.O.AV40DatRecebimentoPrevistoFinal,0)},c2v:function(){gx.O.AV40DatRecebimentoPrevistoFinal=this.val()},val:function(){return gx.fn.getControlValue("vDATRECEBIMENTOPREVISTOFINAL")},nac:function(){return false}};this.GXValidFnc[81]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vINDSELECAO",gxz:"ZV21IndSelecao",gxold:"OV21IndSelecao",gxvar:"AV21IndSelecao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV21IndSelecao=a
},v2z:function(a){gx.O.ZV21IndSelecao=a},v2c:function(){gx.fn.setGridCheckBoxValue("vINDSELECAO",gx.fn.currentGridRowImpl(80),gx.O.AV21IndSelecao,"S")},c2v:function(){gx.O.AV21IndSelecao=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vINDSELECAO",gx.fn.currentGridRowImpl(80),"S","N")},nac:function(){return false}};this.GXValidFnc[82]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV20ImgEditar",gxold:"OV20ImgEditar",gxvar:"AV20ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20ImgEditar=a
},v2z:function(a){gx.O.ZV20ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV20ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[83]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDATSOLI",gxz:"Z808SlcDatSoli",gxold:"O808SlcDatSoli",gxvar:"A808SlcDatSoli",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.A808SlcDatSoli=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z808SlcDatSoli=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SLCDATSOLI",gx.fn.currentGridRowImpl(80),gx.O.A808SlcDatSoli,0)},c2v:function(){gx.O.A808SlcDatSoli=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATSOLI",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[84]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLCNRO",gxz:"Z819SlcNro",gxold:"O819SlcNro",gxvar:"A819SlcNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A819SlcNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z819SlcNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCNRO",gx.fn.currentGridRowImpl(80),gx.O.A819SlcNro,0)},c2v:function(){gx.O.A819SlcNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNRO",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[85]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:0,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCTITULO",gxz:"ZV16DscTitulo",gxold:"OV16DscTitulo",gxvar:"AV16DscTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16DscTitulo=a
},v2z:function(a){gx.O.ZV16DscTitulo=a},v2c:function(){gx.fn.setGridControlValue("vDSCTITULO",gx.fn.currentGridRowImpl(80),gx.O.AV16DscTitulo,0)},c2v:function(){gx.O.AV16DscTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCTITULO",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[86]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:80,gxgrid:this.Grid1Container,fnc:this.Valid_Slcnrodocu,isvalid:null,rgrid:[],fld:"SLCNRODOCU",gxz:"Z812SlcNroDocu",gxold:"O812SlcNroDocu",gxvar:"A812SlcNroDocu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A812SlcNroDocu=gx.num.intval(a)
},v2z:function(a){gx.O.Z812SlcNroDocu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCNRODOCU",gx.fn.currentGridRowImpl(80),gx.O.A812SlcNroDocu,0)},c2v:function(){gx.O.A812SlcNroDocu=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNRODOCU",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[87]={lvl:2,type:"char",len:35,dec:0,sign:false,ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCNOMSOLI",gxz:"Z818SlcNomSoli",gxold:"O818SlcNomSoli",gxvar:"A818SlcNomSoli",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A818SlcNomSoli=a
},v2z:function(a){gx.O.Z818SlcNomSoli=a},v2c:function(){gx.fn.setGridControlValue("SLCNOMSOLI",gx.fn.currentGridRowImpl(80),gx.O.A818SlcNomSoli,0)},c2v:function(){gx.O.A818SlcNomSoli=this.val()},val:function(){return gx.fn.getGridControlValue("SLCNOMSOLI",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[88]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCINDTEMC",gxz:"Z815SlcIndTemC",gxold:"O815SlcIndTemC",gxvar:"A815SlcIndTemC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A815SlcIndTemC=a
},v2z:function(a){gx.O.Z815SlcIndTemC=a},v2c:function(){gx.fn.setGridComboBoxValue("SLCINDTEMC",gx.fn.currentGridRowImpl(80),gx.O.A815SlcIndTemC)},c2v:function(){gx.O.A815SlcIndTemC=this.val()},val:function(){return gx.fn.getGridControlValue("SLCINDTEMC",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[89]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCINDSITU",gxz:"Z814SlcIndSitu",gxold:"O814SlcIndSitu",gxvar:"A814SlcIndSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A814SlcIndSitu=a
},v2z:function(a){gx.O.Z814SlcIndSitu=a},v2c:function(){gx.fn.setGridComboBoxValue("SLCINDSITU",gx.fn.currentGridRowImpl(80),gx.O.A814SlcIndSitu)},c2v:function(){gx.O.A814SlcIndSitu=this.val()},val:function(){return gx.fn.getGridControlValue("SLCINDSITU",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[90]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLCCODUNID",gxz:"Z805SlcCodUnid",gxold:"O805SlcCodUnid",gxvar:"A805SlcCodUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A805SlcCodUnid=gx.num.intval(a)
},v2z:function(a){gx.O.Z805SlcCodUnid=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCCODUNID",gx.fn.currentGridRowImpl(80),gx.O.A805SlcCodUnid,0)},c2v:function(){gx.O.A805SlcCodUnid=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCCODUNID",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[91]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCDATPRER",gxz:"Z806SlcDatPreR",gxold:"O806SlcDatPreR",gxvar:"A806SlcDatPreR",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.A806SlcDatPreR=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z806SlcDatPreR=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("SLCDATPRER",gx.fn.currentGridRowImpl(80),gx.O.A806SlcDatPreR,0)},c2v:function(){gx.O.A806SlcDatPreR=this.val()},val:function(){return gx.fn.getGridControlValue("SLCDATPRER",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[92]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLCQUANTID",gxz:"Z822SlcQuantid",gxold:"O822SlcQuantid",gxvar:"A822SlcQuantid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A822SlcQuantid=gx.num.intval(a)
},v2z:function(a){gx.O.Z822SlcQuantid=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCQUANTID",gx.fn.currentGridRowImpl(80),gx.O.A822SlcQuantid,0)},c2v:function(){gx.O.A822SlcQuantid=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCQUANTID",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[93]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SLCVALUNIT",gxz:"Z824SlcValUnit",gxold:"O824SlcValUnit",gxvar:"A824SlcValUnit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A824SlcValUnit=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z824SlcValUnit=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("SLCVALUNIT",gx.fn.currentGridRowImpl(80),gx.O.A824SlcValUnit,2,",")},c2v:function(){gx.O.A824SlcValUnit=this.val()},val:function(){return gx.fn.getGridDecimalValue("SLCVALUNIT",gx.fn.currentGridRowImpl(80),".",",")},nac:function(){return false}};this.GXValidFnc[94]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:80,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SLCNROPEDI",gxz:"Z820SlcNroPedi",gxold:"O820SlcNroPedi",gxvar:"A820SlcNroPedi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A820SlcNroPedi=gx.num.intval(a)
},v2z:function(a){gx.O.Z820SlcNroPedi=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SLCNROPEDI",gx.fn.currentGridRowImpl(80),gx.O.A820SlcNroPedi,0)},c2v:function(){gx.O.A820SlcNroPedi=this.val()},val:function(){return gx.fn.getGridIntegerValue("SLCNROPEDI",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[95]={fld:"PROMPT_UNDCOD",grid:0};this.GXValidFnc[96]={fld:"PROMPT_SCRCODLEITOR",grid:0};this.AV15SlcNroNavegar=0;this.ZV15SlcNroNavegar=0;this.OV15SlcNroNavegar=0;
this.AV26TipAcao="";this.ZV26TipAcao="";this.OV26TipAcao="";this.AV6DatIni=gx.date.nullDate();this.ZV6DatIni=gx.date.nullDate();this.OV6DatIni=gx.date.nullDate();this.AV36DatFim=gx.date.nullDate();this.ZV36DatFim=gx.date.nullDate();this.OV36DatFim=gx.date.nullDate();this.AV11IndSituacao="";this.ZV11IndSituacao="";this.OV11IndSituacao="";this.AV17UndCod=0;this.ZV17UndCod=0;this.OV17UndCod=0;this.AV41ScrCodLeitor="";this.ZV41ScrCodLeitor="";this.OV41ScrCodLeitor="";this.AV7TituloScr="";this.ZV7TituloScr="";
this.OV7TituloScr="";this.AV19PedNro=0;this.ZV19PedNro=0;this.OV19PedNro=0;this.AV39DatRecebimentoPrevistoInicial=gx.date.nullDate();this.ZV39DatRecebimentoPrevistoInicial=gx.date.nullDate();this.OV39DatRecebimentoPrevistoInicial=gx.date.nullDate();this.AV40DatRecebimentoPrevistoFinal=gx.date.nullDate();this.ZV40DatRecebimentoPrevistoFinal=gx.date.nullDate();this.OV40DatRecebimentoPrevistoFinal=gx.date.nullDate();this.ZV21IndSelecao="";this.OV21IndSelecao="";this.ZV20ImgEditar="";this.OV20ImgEditar="";
this.Z808SlcDatSoli=gx.date.nullDate();this.O808SlcDatSoli=gx.date.nullDate();this.Z819SlcNro=0;this.O819SlcNro=0;this.ZV16DscTitulo="";this.OV16DscTitulo="";this.Z812SlcNroDocu=0;this.O812SlcNroDocu=0;this.Z818SlcNomSoli="";this.O818SlcNomSoli="";this.Z815SlcIndTemC="";this.O815SlcIndTemC="";this.Z814SlcIndSitu="";this.O814SlcIndSitu="";this.Z805SlcCodUnid=0;this.O805SlcCodUnid=0;this.Z806SlcDatPreR=gx.date.nullDate();this.O806SlcDatPreR=gx.date.nullDate();this.Z822SlcQuantid=0;this.O822SlcQuantid=0;
this.Z824SlcValUnit=0;this.O824SlcValUnit=0;this.Z820SlcNroPedi=0;this.O820SlcNroPedi=0;this.A992SlcCodLeit="";this.A809SlcDesL1Ti="";this.A993SlcNomLeit="";this.A811SlcDscTitu="";this.AV21IndSelecao="";this.AV20ImgEditar="";this.A808SlcDatSoli=gx.date.nullDate();this.A819SlcNro=0;this.AV16DscTitulo="";this.A812SlcNroDocu=0;this.A818SlcNomSoli="";this.A815SlcIndTemC="";this.A814SlcIndSitu="";this.A805SlcCodUnid=0;this.A806SlcDatPreR=gx.date.nullDate();this.A822SlcQuantid=0;this.A824SlcValUnit=0;this.A820SlcNroPedi=0;
this.ServerEvents=["e111p2_client","e121p2_client","e131p2_client","e141p2_client","e201p2_client"];this.setPrompt("PROMPT_UNDCOD",[54]);this.setPrompt("PROMPT_SCRCODLEITOR",[58]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.A809SlcDesL1Ti={id:"SLCDESL1TI",grid:0,type:"char"};this.VarControlMap.A811SlcDscTitu={id:"SLCDSCTITU",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[43]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[47]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[54]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[58]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[63]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[67]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[74]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[78]);this.Grid1Container.addRefreshingVar({rfrVar:"A811SlcDscTitu"});this.Grid1Container.addRefreshingVar({rfrVar:"A809SlcDesL1Ti"});this.SetStandaloneVars()}himh088.prototype=new gx.GxObject;
gx.setParentObj(new himh088());