/*
 * 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 <https://www.gnu.org/licenses/>.
 */

package it.cnr.contab.docamm00.views.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 V_stm_paramin_ft_attivaBulk extends V_stm_paramin_ft_attivaBase {

public V_stm_paramin_ft_attivaBulk() {
	super();
}
/**
 * Insert the method's description here.
 * Creation date: (5/16/2002 4:37:43 PM)
 * @param spesa it.cnr.contab.fondecon00.core.bulk.Fondo_spesaBulk
 */
public void completeFrom(it.cnr.contab.docamm00.docs.bulk.Fattura_attivaBulk docAmm) {

	if (docAmm == null) return;
	
	setCd_cds(docAmm.getCd_cds());
	setCd_uo(docAmm.getCd_unita_organizzativa());
	setEsercizio(new java.math.BigDecimal(docAmm.getEsercizio().doubleValue()));
	setPg_fattura_attiva(new java.math.BigDecimal(docAmm.getPg_fattura_attiva().doubleValue()));
}
}
