Examples of DettaglioFatturaId


Examples of it.pdor.contabilita.domain.hbm.DettaglioFatturaId

        aliquotaIva = 0;
      }
    }

    datiFattura.setProgressivoRiga(datiFattura.getProgressivoRiga() + 1);
    DettaglioFatturaId dettaglioFatturaId = new DettaglioFatturaId(null, datiFattura
        .getProgressivoRiga());
    DettaglioFattura dettaglioFattura = new DettaglioFattura();
    dettaglioFattura.setDettaglioFatturaId(dettaglioFatturaId);

    String sezioneDocumento = voceFattura.getSezioneDocumento();
View Full Code Here

Examples of it.pdor.contabilita.domain.hbm.DettaglioFatturaId

  public DettaglioFattura leggiDettaglioFattura(TestataFattura testataFattura, int progressivoRiga)
      throws ImpossibileLeggereDettaglioFatturaException {
    try {
      return (DettaglioFattura) getHibernateTemplate().get(DettaglioFattura.class,
          new DettaglioFatturaId(testataFattura, progressivoRiga));
    } catch (DataAccessException e) {
      log("Impossibile Leggere Dettaglio Fattura [NROFATTURA-PROGRESSIVO] " + testataFattura.getNumeroFattura()
          + "-" + progressivoRiga);
      log("Impossibile Leggere Dettaglio Fattura " + e);
      throw new ImpossibileLeggereDettaglioFatturaException();
View Full Code Here

Examples of it.pdor.contabilita.domain.hbm.DettaglioFatturaId

  }

  public DettaglioFattura scriviDettaglioFattura(DettaglioFattura dettaglioFattura)
      throws ImpossibileLeggereDettaglioFatturaException, ImpossibileScrivereDettaglioFatturaException {

    DettaglioFatturaId idDettaglioFatturaInserito;
    try {
      idDettaglioFatturaInserito = (DettaglioFatturaId) getHibernateTemplate().save(dettaglioFattura);
    } catch (DataAccessException e) {
      log("Impossibile Scrivere Dettaglio Fattura " + e);
      throw new ImpossibileScrivereDettaglioFatturaException();
    }
    return leggiDettaglioFattura(idDettaglioFatturaInserito.getTestataFattura(), idDettaglioFatturaInserito
        .getProgressivoRiga());

  }
View Full Code Here

Examples of it.pdor.contabilita.domain.hbm.DettaglioFatturaId

    long numeroIntestatarioExpected = 1;
    TestataFattura testataFatturaExpected = new TestataFattura(numeroFatturaExpected, tipoIntestatarioExpected,
        numeroIntestatarioExpected, "", "", numeroFatturaCustomExpected);

    int progressivoRigaExpected = 1;
    DettaglioFatturaId dettaglioFatturaIdExpected = new DettaglioFatturaId(testataFatturaExpected, progressivoRigaExpected);
    String sezioneDocumentoExpected = "0";
    Integer ordineSezioneExpected = 1;
    String codiceVoceFatturaExpected = "RATAX";
    DettaglioFattura dettaglioFatturaExpected = new DettaglioFattura(dettaglioFatturaIdExpected, sezioneDocumentoExpected,
        ordineSezioneExpected, codiceVoceFatturaExpected);
View Full Code Here

Examples of it.pdor.contabilita.domain.hbm.DettaglioFatturaId

 
  public void aggiungiRigaDettaglio(){
    getDettaglioFatturaSelezionata().setSelected(false);
    RowFattura fattura = (RowFattura)getDettaglio();
    DettaglioFattura df = new DettaglioFattura();
    DettaglioFatturaId dettaglioFatturaId = new DettaglioFatturaId(fattura.getTestataFattura(), getMaxProgressivoRiga(fattura) + 1);
    df.setDettaglioFatturaId(dettaglioFatturaId);
    df.setOrdineSezione(1);
    df.setNumeroPam(0l);
    df.setProgressivoRata(0);
    df.setProgressivoPartita(0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.