All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.cnr.contab.compensi00.docs.bulk.Vsx_liquidazione_rateBulk Maven / Gradle / Ivy

/*
 * Copyright (C) 2019  Consiglio Nazionale delle Ricerche
 *
 *     This program is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU Affero General Public License as
 *     published by the Free Software Foundation, either version 3 of the
 *     License, or (at your option) any later version.
 *
 *     This program is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU Affero General Public License for more details.
 *
 *     You should have received a copy of the GNU Affero General Public License
 *     along with this program.  If not, see .
 */

package it.cnr.contab.compensi00.docs.bulk;

import it.cnr.jada.bulk.*;
import it.cnr.jada.persistency.*;
import it.cnr.jada.persistency.beans.*;
import it.cnr.jada.persistency.sql.*;

public class Vsx_liquidazione_rateBulk extends Vsx_liquidazione_rateBase {

public Vsx_liquidazione_rateBulk() {
	super();
}
/**
  * Imposta le proprietà del Vsx_liquidazione_rate.
  *	E' stata generata la richiesta di effettuare una liquidazione: l'utente ha selezionato
  *	le rate da liquidare, le quali vengono utilizzati per popolare le tabelle dalle
  *	quali la procedura di liquidazione andrà a prelevare i dati.
  *	Il metodo setta le varie proprietà del Vsx_liquidazione_rate, sulla base della rata selezionata.
  * Il bulk così creato verrà poi inserito in tabella.
  *	
  * @param rata La Liquidazione_rate_minicarrieraBulk rata da liquidare.
**/  
public void completeFrom(Liquidazione_rate_minicarrieraBulk rata) {

	if (rata==null) return;

	setCd_cds(rata.getCd_cds());
	setCd_unita_organizzativa(rata.getCd_unita_organizzativa());
	setEsercizio(rata.getEsercizio());
	setPg_minicarriera(rata.getPg_minicarriera());
	setPg_rata(rata.getPg_rata());

	setTi_appartenenza(rata.getElementoVoce().getTi_appartenenza());
	setTi_gestione(rata.getElementoVoce().getTi_gestione());
	setCd_elemento_voce(rata.getElementoVoce().getCd_elemento_voce());
	
	setCd_voce(rata.getVoceF().getCd_voce());
	
	setCd_centro_responsabilita(rata.getLineaAttivita().getCd_centro_responsabilita());
	setCd_linea_attivita(rata.getLineaAttivita().getCd_linea_attivita());
	
	setProc_name("CNRCTB610.liquidazMassivaMinicarriere");
	setUser(rata.getUser());
}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy