private void setIntervalos() { txtIntervaloDiaIni.setVlrInteger(0); txtIntervaloDiaFim.setVlrInteger(99); txtIntervaloHoraIni.setVlrInteger(0); txtIntervaloHoraFim.setVlrInteger(1000); }
private void insertFaltaJustificada(String horaini, String horafin) { txtCodAtend.setVlrInteger(daoatend.getAtendente(txtMatempr.getVlrInteger())); try { if (daoatend.getPrefs()[PREFS.CODMODELFJ.ordinal()] != null) { daoatend.insertFaltaJustificada( Aplicativo.iCodEmp, ListaCampos.getMasterFilial("ATATENDIMENTO"), txtDtFalta.getVlrDate(), txtDtFalta.getVlrDate(), horaini, horafin, Aplicativo.iCodEmp, ListaCampos.getMasterFilial("ATATENDENTE"), txtCodAtend.getVlrInteger(), Aplicativo.iCodEmp, ListaCampos.getMasterFilial("SGUSUARIO"), Aplicativo.getUsuario().getIdusu()); } } catch (Exception e) { Funcoes.mensagemErro( this, "Erro inserindo lançamento automatizado de intervalo !\n" + e.getMessage()); e.printStackTrace(); } }
public void setConexao(DbConnection cn) { super.setConexao(cn); lcPais.setConexao(cn); lcMunic.setConexao(cn); lcUF.setConexao(cn); lcFor.setConexao(cn); txtCodEmp.setVlrInteger(Aplicativo.iCodEmp); lcCampos.carregaDados(); }