gx.evt.autoSkip=false;function himh105(){this.ServerClass="HImh105";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Grdnrosc=function(){try{var a=gx.util.balloon.getNew("vGRDNROSC");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e145s2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e125s2_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e135s2_client=function(){this.executeServerEvent("'CONFIRMAR'",false)};this.e175s2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,27,29,31,33,36,38,40,44,46,48,50,54,61,63,65,68,70,81,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97];this.GXLastCtrlId=97;this.Grid2Container=new gx.grid.grid(this,2,"WbpLvl2",80,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"himh105",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");
this.Grid2Container.addCheckBox("Grdindselecao",81,"vGRDINDSELECAO","Sel","","GrdIndSelecao","char","S","N",null,true,false,0,"px");this.Grid2Container.addSingleLineEdit("Grdnrosequencia",82,"vGRDNROSEQUENCIA","Seq","","GrdNroSequencia","int",0,"px",3,3,"right",null,[],"Grdnrosequencia","GrdNroSequencia",true,0,false,false);this.Grid2Container.addSingleLineEdit("Grdnomfornecedor",83,"vGRDNOMFORNECEDOR","Fornecedor","","GrdNomFornecedor","char",0,"px",15,15,"left",null,[],"Grdnomfornecedor","GrdNomFornecedor",true,0,false,false);
this.Grid2Container.addSingleLineEdit("Grddsccondicaopagamento",84,"vGRDDSCCONDICAOPAGAMENTO","C.Pagamento","","GrdDscCondicaoPagamento","char",0,"px",40,40,"left",null,[],"Grddsccondicaopagamento","GrdDscCondicaoPagamento",true,0,false,false);this.Grid2Container.addSingleLineEdit("Grdnrosc",85,"vGRDNROSC","SC","","GrdNroSC","int",0,"px",6,6,"right",null,[],"Grdnrosc","GrdNroSC",true,0,false,false);this.Grid2Container.addSingleLineEdit("Grdcodunidadedepositaria",86,"vGRDCODUNIDADEDEPOSITARIA","Un.","","GrdCodUnidadeDepositaria","int",0,"px",3,3,"right",null,[],"Grdcodunidadedepositaria","GrdCodUnidadeDepositaria",true,0,false,false);
this.Grid2Container.addSingleLineEdit("Grddsctitulo",87,"vGRDDSCTITULO","Título","","GrdDscTitulo","char",0,"px",50,50,"left",null,[],"Grddsctitulo","GrdDscTitulo",true,0,false,false);this.Grid2Container.addSingleLineEdit("Grdqtdexemplares",88,"vGRDQTDEXEMPLARES","Qtd","","GrdQtdExemplares","int",0,"px",6,6,"right",null,[],"Grdqtdexemplares","GrdQtdExemplares",true,0,false,false);this.Grid2Container.addSingleLineEdit("Grdprdunitario",89,"vGRDPRDUNITARIO","Pr.unit","","GrdPrdUnitario","decimal",0,"px",13,11,"right",null,[],"Grdprdunitario","GrdPrdUnitario",true,2,false,false);
this.Grid2Container.addSingleLineEdit("Grdpreitem",90,"vGRDPREITEM","Pr.item","","GrdPreItem","decimal",0,"px",10,10,"right",null,[],"Grdpreitem","GrdPreItem",true,2,false,false);this.Grid2Container.addSingleLineEdit("Grdvalacumulado",91,"vGRDVALACUMULADO","Vl.acum.","","GrdValAcumulado","decimal",0,"px",13,11,"right",null,[],"Grdvalacumulado","GrdValAcumulado",true,2,false,false);this.Grid2Container.addSingleLineEdit("Grdcodfornecedor",92,"vGRDCODFORNECEDOR","Cod","","GrdCodFornecedor","int",0,"px",6,6,"right",null,[],"Grdcodfornecedor","GrdCodFornecedor",true,0,false,false);
this.Grid2Container.addSingleLineEdit("Grdcodcondicaopagamento",93,"vGRDCODCONDICAOPAGAMENTO","Cod","","GrdCodCondicaoPagamento","int",0,"px",3,3,"right",null,[],"Grdcodcondicaopagamento","GrdCodCondicaoPagamento",true,0,false,false);this.setGrid(this.Grid2Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE3",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[27]={fld:"TEXTBLOCK8",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:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV15UndCod",gxold:"OV15UndCod",gxvar:"AV15UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15UndCod=gx.num.intval(a)},v2z:function(a){gx.O.ZV15UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV15UndCod,0)},c2v:function(){gx.O.AV15UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")
},nac:function(){return false}};this.GXValidFnc[31]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[33]={fld:"TABLE2",grid:0};this.GXValidFnc[36]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSLCDATSOLICITACAOINICIAL",gxz:"ZV16SlcDatSolicitacaoInicial",gxold:"OV16SlcDatSolicitacaoInicial",gxvar:"AV16SlcDatSolicitacaoInicial",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.AV16SlcDatSolicitacaoInicial=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV16SlcDatSolicitacaoInicial=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSLCDATSOLICITACAOINICIAL",gx.O.AV16SlcDatSolicitacaoInicial,0)},c2v:function(){gx.O.AV16SlcDatSolicitacaoInicial=this.val()},val:function(){return gx.fn.getControlValue("vSLCDATSOLICITACAOINICIAL")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSLCDATSOLICITACAOFINAL",gxz:"ZV17SlcDatSolicitacaoFinal",gxold:"OV17SlcDatSolicitacaoFinal",gxvar:"AV17SlcDatSolicitacaoFinal",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.AV17SlcDatSolicitacaoFinal=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV17SlcDatSolicitacaoFinal=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vSLCDATSOLICITACAOFINAL",gx.O.AV17SlcDatSolicitacaoFinal,0)},c2v:function(){gx.O.AV17SlcDatSolicitacaoFinal=this.val()},val:function(){return gx.fn.getControlValue("vSLCDATSOLICITACAOFINAL")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[46]={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:"ZV5ForCod",gxold:"OV5ForCod",gxvar:"AV5ForCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV5ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vFORCOD",gx.O.AV5ForCod,0)},c2v:function(){gx.O.AV5ForCod=this.val()},val:function(){return gx.fn.getIntegerValue("vFORCOD",".")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[50]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCDPCOD",gxz:"ZV10CdpCod",gxold:"OV10CdpCod",gxvar:"AV10CdpCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10CdpCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10CdpCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDPCOD",gx.O.AV10CdpCod,0)},c2v:function(){gx.O.AV10CdpCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCDPCOD",".")},nac:function(){return false}};this.GXValidFnc[54]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[61]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[63]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTRANSP",gxz:"ZV7transp",gxold:"OV7transp",gxvar:"AV7transp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7transp=a
},v2z:function(a){gx.O.ZV7transp=a},v2c:function(){gx.fn.setControlValue("vTRANSP",gx.O.AV7transp,0)},c2v:function(){gx.O.AV7transp=this.val()},val:function(){return gx.fn.getControlValue("vTRANSP")},nac:function(){return false}};this.GXValidFnc[65]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vINDCONFIRMAGERACAO",gxz:"ZV42IndConfirmaGeracao",gxold:"OV42IndConfirmaGeracao",gxvar:"AV42IndConfirmaGeracao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV42IndConfirmaGeracao=a
},v2z:function(a){gx.O.ZV42IndConfirmaGeracao=a},v2c:function(){gx.fn.setCheckBoxValue("vINDCONFIRMAGERACAO",gx.O.AV42IndConfirmaGeracao,"S")},c2v:function(){gx.O.AV42IndConfirmaGeracao=this.val()},val:function(){return gx.fn.getCheckBoxValue("vINDCONFIRMAGERACAO","S","N")},nac:function(){return false}};this.GXValidFnc[68]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[70]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDESOBSERVACOES",gxz:"ZV11DesObservacoes",gxold:"OV11DesObservacoes",gxvar:"AV11DesObservacoes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11DesObservacoes=a
},v2z:function(a){gx.O.ZV11DesObservacoes=a},v2c:function(){gx.fn.setControlValue("vDESOBSERVACOES",gx.O.AV11DesObservacoes,0)},c2v:function(){gx.O.AV11DesObservacoes=this.val()},val:function(){return gx.fn.getControlValue("vDESOBSERVACOES")},nac:function(){return false}};this.GXValidFnc[81]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"vGRDINDSELECAO",gxz:"ZV19GrdIndSelecao",gxold:"OV19GrdIndSelecao",gxvar:"AV19GrdIndSelecao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV19GrdIndSelecao=a
},v2z:function(a){gx.O.ZV19GrdIndSelecao=a},v2c:function(){gx.fn.setGridCheckBoxValue("vGRDINDSELECAO",gx.fn.currentGridRowImpl(80),gx.O.AV19GrdIndSelecao,"S")},c2v:function(){gx.O.AV19GrdIndSelecao=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vGRDINDSELECAO",gx.fn.currentGridRowImpl(80),"S","N")},nac:function(){return false}};this.GXValidFnc[82]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROSEQUENCIA",gxz:"ZV18GrdNroSequencia",gxold:"OV18GrdNroSequencia",gxvar:"AV18GrdNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18GrdNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV18GrdNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROSEQUENCIA",gx.fn.currentGridRowImpl(80),gx.O.AV18GrdNroSequencia,0)},c2v:function(){gx.O.AV18GrdNroSequencia=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROSEQUENCIA",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[83]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"vGRDNOMFORNECEDOR",gxz:"ZV20GrdNomFornecedor",gxold:"OV20GrdNomFornecedor",gxvar:"AV20GrdNomFornecedor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20GrdNomFornecedor=a
},v2z:function(a){gx.O.ZV20GrdNomFornecedor=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMFORNECEDOR",gx.fn.currentGridRowImpl(80),gx.O.AV20GrdNomFornecedor,0)},c2v:function(){gx.O.AV20GrdNomFornecedor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMFORNECEDOR",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[84]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"vGRDDSCCONDICAOPAGAMENTO",gxz:"ZV21GrdDscCondicaoPagamento",gxold:"OV21GrdDscCondicaoPagamento",gxvar:"AV21GrdDscCondicaoPagamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21GrdDscCondicaoPagamento=a
},v2z:function(a){gx.O.ZV21GrdDscCondicaoPagamento=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCCONDICAOPAGAMENTO",gx.fn.currentGridRowImpl(80),gx.O.AV21GrdDscCondicaoPagamento,0)},c2v:function(){gx.O.AV21GrdDscCondicaoPagamento=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCCONDICAOPAGAMENTO",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[85]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:this.Validv_Grdnrosc,isvalid:null,rgrid:[],fld:"vGRDNROSC",gxz:"ZV22GrdNroSC",gxold:"OV22GrdNroSC",gxvar:"AV22GrdNroSC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22GrdNroSC=gx.num.intval(a)
},v2z:function(a){gx.O.ZV22GrdNroSC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROSC",gx.fn.currentGridRowImpl(80),gx.O.AV22GrdNroSC,0)},c2v:function(){gx.O.AV22GrdNroSC=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROSC",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[86]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDCODUNIDADEDEPOSITARIA",gxz:"ZV41GrdCodUnidadeDepositaria",gxold:"OV41GrdCodUnidadeDepositaria",gxvar:"AV41GrdCodUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41GrdCodUnidadeDepositaria=gx.num.intval(a)
},v2z:function(a){gx.O.ZV41GrdCodUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDCODUNIDADEDEPOSITARIA",gx.fn.currentGridRowImpl(80),gx.O.AV41GrdCodUnidadeDepositaria,0)},c2v:function(){gx.O.AV41GrdCodUnidadeDepositaria=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDCODUNIDADEDEPOSITARIA",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[87]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"vGRDDSCTITULO",gxz:"ZV23GrdDscTitulo",gxold:"OV23GrdDscTitulo",gxvar:"AV23GrdDscTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23GrdDscTitulo=a
},v2z:function(a){gx.O.ZV23GrdDscTitulo=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(80),gx.O.AV23GrdDscTitulo,0)},c2v:function(){gx.O.AV23GrdDscTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCTITULO",gx.fn.currentGridRowImpl(80))},nac:function(){return false}};this.GXValidFnc[88]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDQTDEXEMPLARES",gxz:"ZV26GrdQtdExemplares",gxold:"OV26GrdQtdExemplares",gxvar:"AV26GrdQtdExemplares",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26GrdQtdExemplares=gx.num.intval(a)
},v2z:function(a){gx.O.ZV26GrdQtdExemplares=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDQTDEXEMPLARES",gx.fn.currentGridRowImpl(80),gx.O.AV26GrdQtdExemplares,0)},c2v:function(){gx.O.AV26GrdQtdExemplares=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDQTDEXEMPLARES",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[89]={lvl:2,type:"decimal",len:11,dec:2,sign:false,pic:"ZZ,ZZZ,ZZ9.99",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDPRDUNITARIO",gxz:"ZV27GrdPrdUnitario",gxold:"OV27GrdPrdUnitario",gxvar:"AV27GrdPrdUnitario",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27GrdPrdUnitario=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV27GrdPrdUnitario=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("vGRDPRDUNITARIO",gx.fn.currentGridRowImpl(80),gx.O.AV27GrdPrdUnitario,2,",")},c2v:function(){gx.O.AV27GrdPrdUnitario=this.val()},val:function(){return gx.fn.getGridDecimalValue("vGRDPRDUNITARIO",gx.fn.currentGridRowImpl(80),".",",")},nac:function(){return false}};this.GXValidFnc[90]={lvl:2,type:"decimal",len:10,dec:2,sign:false,pic:"ZZZ,ZZ9.99",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDPREITEM",gxz:"ZV28GrdPreItem",gxold:"OV28GrdPreItem",gxvar:"AV28GrdPreItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28GrdPreItem=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV28GrdPreItem=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("vGRDPREITEM",gx.fn.currentGridRowImpl(80),gx.O.AV28GrdPreItem,2,",")},c2v:function(){gx.O.AV28GrdPreItem=this.val()},val:function(){return gx.fn.getGridDecimalValue("vGRDPREITEM",gx.fn.currentGridRowImpl(80),".",",")},nac:function(){return false}};this.GXValidFnc[91]={lvl:2,type:"decimal",len:11,dec:2,sign:false,pic:"ZZ,ZZZ,ZZ9.99",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDVALACUMULADO",gxz:"ZV29GrdValAcumulado",gxold:"OV29GrdValAcumulado",gxvar:"AV29GrdValAcumulado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV29GrdValAcumulado=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV29GrdValAcumulado=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setGridDecimalValue("vGRDVALACUMULADO",gx.fn.currentGridRowImpl(80),gx.O.AV29GrdValAcumulado,2,",")},c2v:function(){gx.O.AV29GrdValAcumulado=this.val()},val:function(){return gx.fn.getGridDecimalValue("vGRDVALACUMULADO",gx.fn.currentGridRowImpl(80),".",",")},nac:function(){return false}};this.GXValidFnc[92]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDCODFORNECEDOR",gxz:"ZV24GrdCodFornecedor",gxold:"OV24GrdCodFornecedor",gxvar:"AV24GrdCodFornecedor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24GrdCodFornecedor=gx.num.intval(a)
},v2z:function(a){gx.O.ZV24GrdCodFornecedor=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDCODFORNECEDOR",gx.fn.currentGridRowImpl(80),gx.O.AV24GrdCodFornecedor,0)},c2v:function(){gx.O.AV24GrdCodFornecedor=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDCODFORNECEDOR",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[93]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:80,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDCODCONDICAOPAGAMENTO",gxz:"ZV25GrdCodCondicaoPagamento",gxold:"OV25GrdCodCondicaoPagamento",gxvar:"AV25GrdCodCondicaoPagamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25GrdCodCondicaoPagamento=gx.num.intval(a)
},v2z:function(a){gx.O.ZV25GrdCodCondicaoPagamento=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDCODCONDICAOPAGAMENTO",gx.fn.currentGridRowImpl(80),gx.O.AV25GrdCodCondicaoPagamento,0)},c2v:function(){gx.O.AV25GrdCodCondicaoPagamento=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDCODCONDICAOPAGAMENTO",gx.fn.currentGridRowImpl(80),".")},nac:function(){return false}};this.GXValidFnc[95]={fld:"PROMPT_UNDCOD",grid:0};this.GXValidFnc[96]={fld:"PROMPT_FORCOD",grid:0};
this.GXValidFnc[97]={fld:"PROMPT_CDPCOD",grid:0};this.AV15UndCod=0;this.ZV15UndCod=0;this.OV15UndCod=0;this.AV16SlcDatSolicitacaoInicial=gx.date.nullDate();this.ZV16SlcDatSolicitacaoInicial=gx.date.nullDate();this.OV16SlcDatSolicitacaoInicial=gx.date.nullDate();this.AV17SlcDatSolicitacaoFinal=gx.date.nullDate();this.ZV17SlcDatSolicitacaoFinal=gx.date.nullDate();this.OV17SlcDatSolicitacaoFinal=gx.date.nullDate();this.AV5ForCod=0;this.ZV5ForCod=0;this.OV5ForCod=0;this.AV10CdpCod=0;this.ZV10CdpCod=0;
this.OV10CdpCod=0;this.AV7transp="";this.ZV7transp="";this.OV7transp="";this.AV42IndConfirmaGeracao="";this.ZV42IndConfirmaGeracao="";this.OV42IndConfirmaGeracao="";this.AV11DesObservacoes="";this.ZV11DesObservacoes="";this.OV11DesObservacoes="";this.ZV19GrdIndSelecao="";this.OV19GrdIndSelecao="";this.ZV18GrdNroSequencia=0;this.OV18GrdNroSequencia=0;this.ZV20GrdNomFornecedor="";this.OV20GrdNomFornecedor="";this.ZV21GrdDscCondicaoPagamento="";this.OV21GrdDscCondicaoPagamento="";this.ZV22GrdNroSC=0;
this.OV22GrdNroSC=0;this.ZV41GrdCodUnidadeDepositaria=0;this.OV41GrdCodUnidadeDepositaria=0;this.ZV23GrdDscTitulo="";this.OV23GrdDscTitulo="";this.ZV26GrdQtdExemplares=0;this.OV26GrdQtdExemplares=0;this.ZV27GrdPrdUnitario=0;this.OV27GrdPrdUnitario=0;this.ZV28GrdPreItem=0;this.OV28GrdPreItem=0;this.ZV29GrdValAcumulado=0;this.OV29GrdValAcumulado=0;this.ZV24GrdCodFornecedor=0;this.OV24GrdCodFornecedor=0;this.ZV25GrdCodCondicaoPagamento=0;this.OV25GrdCodCondicaoPagamento=0;this.AV19GrdIndSelecao="";this.AV18GrdNroSequencia=0;
this.AV20GrdNomFornecedor="";this.AV21GrdDscCondicaoPagamento="";this.AV22GrdNroSC=0;this.AV41GrdCodUnidadeDepositaria=0;this.AV23GrdDscTitulo="";this.AV26GrdQtdExemplares=0;this.AV27GrdPrdUnitario=0;this.AV28GrdPreItem=0;this.AV29GrdValAcumulado=0;this.AV24GrdCodFornecedor=0;this.AV25GrdCodCondicaoPagamento=0;this.A819SlcNro=0;this.A822SlcQuantid=0;this.A814SlcIndSitu="";this.A805SlcCodUnid=0;this.A811SlcDscTitu="";this.A812SlcNroDocu=0;this.A772SctIndSele="";this.A100CdpCod=0;this.A770SctCodForn=0;
this.A771SctDatCota=gx.date.nullDate();this.A775SctPctDesc=0;this.A778SctValDesc=0;this.A776SctPreBrut=0;this.A777SctPreLiqu=0;this.ServerEvents=["e145s2_client","e125s2_client","e135s2_client","e175s2_client"];this.setPrompt("PROMPT_UNDCOD",[29]);this.setPrompt("PROMPT_FORCOD",[46]);this.setPrompt("PROMPT_CDPCOD",[50]);this.VarControlMap.A776SctPreBrut={id:"SCTPREBRUT",grid:0,type:"decimal"};this.VarControlMap.A778SctValDesc={id:"SCTVALDESC",grid:0,type:"decimal"};this.VarControlMap.A775SctPctDesc={id:"SCTPCTDESC",grid:0,type:"decimal"};
this.VarControlMap.A777SctPreLiqu={id:"SCTPRELIQU",grid:0,type:"decimal"};this.VarControlMap.A777SctPreLiqu={id:"SCTPRELIQU",grid:0,type:"decimal"};this.VarControlMap.A771SctDatCota={id:"SCTDATCOTA",grid:0,type:"date"};this.VarControlMap.A822SlcQuantid={id:"SLCQUANTID",grid:0,type:"int"};this.VarControlMap.A811SlcDscTitu={id:"SLCDSCTITU",grid:0,type:"char"};this.VarControlMap.A805SlcCodUnid={id:"SLCCODUNID",grid:0,type:"int"};this.VarControlMap.A814SlcIndSitu={id:"SLCINDSITU",grid:0,type:"char"};
this.VarControlMap.AV40ForRazSoci={id:"vFORRAZSOCI",grid:0,type:"char"};this.VarControlMap.AV37QtdRegistros={id:"vQTDREGISTROS",grid:0,type:"int"};this.Grid2Container.addRefreshingVar({rfrVar:"A777SctPreLiqu"});this.Grid2Container.addRefreshingVar({rfrVar:"A771SctDatCota"});this.Grid2Container.addRefreshingVar({rfrVar:"A822SlcQuantid"});this.Grid2Container.addRefreshingVar({rfrVar:"A811SlcDscTitu"});this.Grid2Container.addRefreshingVar({rfrVar:"A805SlcCodUnid"});this.Grid2Container.addRefreshingVar({rfrVar:"A814SlcIndSitu"});
this.Grid2Container.addRefreshingVar({rfrVar:"AV40ForRazSoci"});this.Grid2Container.addRefreshingVar({rfrVar:"AV37QtdRegistros"});this.SetStandaloneVars()}himh105.prototype=new gx.GxObject;gx.setParentObj(new himh105());