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

org.spin.process.GenerateInvoiceInOutBoundAbstract Maven / Gradle / Ivy

There is a newer version: 3.9.4.001
Show newest version
/******************************************************************************
 * Product: ADempiere ERP & CRM Smart Business Solution                       *
 * Copyright (C) 2006-2017 ADempiere Foundation, All Rights Reserved.         *
 * This program is free software, you can redistribute it and/or modify it    *
 * under the terms version 2 of the GNU General Public License as published   *
 * or (at your option) any later version.										*
 * by the Free Software Foundation. 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 General Public License for more details.                       *
 * You should have received a copy of the GNU General Public License along    *
 * with this program, if not, write to the Free Software Foundation, Inc.,    *
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                     *
 * For the text or an alternative of this public license, you may reach us    *
 * or via [email protected] or http://www.adempiere.net/license.html         *
 *****************************************************************************/

package org.spin.process;

import java.sql.Timestamp;
import org.compiere.process.SvrProcess;

/** Generated Process for (Generate Invoice From Outbound Order)
 *  @author ADempiere (generated) 
 *  @version Release 3.9.3
 */
public abstract class GenerateInvoiceInOutBoundAbstract extends SvrProcess {
	/** Process Value 	*/
	private static final String VALUE_FOR_PROCESS = "WM_Outbound Generate Invoice";
	/** Process Name 	*/
	private static final String NAME_FOR_PROCESS = "Generate Invoice From Outbound Order";
	/** Process Id 	*/
	private static final int ID_FOR_PROCESS = 54277;
	/**	Parameter Name for Document Action	*/
	public static final String DOCACTION = "DocAction";
	/**	Parameter Name for Target Document Type	*/
	public static final String C_DOCTYPETARGET_ID = "C_DocTypeTarget_ID";
	/**	Parameter Name for Date Invoiced	*/
	public static final String DATEINVOICED = "DateInvoiced";
	/**	Parameter Name for Consolidate to one Document	*/
	public static final String CONSOLIDATEDOCUMENT = "ConsolidateDocument";
	/**	Parameter Name for IsIncludeNotAvailable	*/
	public static final String ISINCLUDENOTAVAILABLE = "IsIncludeNotAvailable";
	/**	Parameter Value for Document Action	*/
	private String docAction;
	/**	Parameter Value for Target Document Type	*/
	private int docTypeTargetId;
	/**	Parameter Value for Date Invoiced	*/
	private Timestamp dateInvoiced;
	/**	Parameter Value for Consolidate to one Document	*/
	private boolean isConsolidateDocument;
	/**	Parameter Value for IsIncludeNotAvailable	*/
	private boolean isIncludeNotAvailable;

	@Override
	protected void prepare() {
		docAction = getParameterAsString(DOCACTION);
		docTypeTargetId = getParameterAsInt(C_DOCTYPETARGET_ID);
		dateInvoiced = getParameterAsTimestamp(DATEINVOICED);
		isConsolidateDocument = getParameterAsBoolean(CONSOLIDATEDOCUMENT);
		isIncludeNotAvailable = getParameterAsBoolean(ISINCLUDENOTAVAILABLE);
	}

	/**	 Getter Parameter Value for Document Action	*/
	protected String getDocAction() {
		return docAction;
	}

	/**	 Setter Parameter Value for Document Action	*/
	protected void setDocAction(String docAction) {
		this.docAction = docAction;
	}

	/**	 Getter Parameter Value for Target Document Type	*/
	protected int getDocTypeTargetId() {
		return docTypeTargetId;
	}

	/**	 Setter Parameter Value for Target Document Type	*/
	protected void setDocTypeTargetId(int docTypeTargetId) {
		this.docTypeTargetId = docTypeTargetId;
	}

	/**	 Getter Parameter Value for Date Invoiced	*/
	protected Timestamp getDateInvoiced() {
		return dateInvoiced;
	}

	/**	 Setter Parameter Value for Date Invoiced	*/
	protected void setDateInvoiced(Timestamp dateInvoiced) {
		this.dateInvoiced = dateInvoiced;
	}

	/**	 Getter Parameter Value for Consolidate to one Document	*/
	protected boolean isConsolidateDocument() {
		return isConsolidateDocument;
	}

	/**	 Setter Parameter Value for Consolidate to one Document	*/
	protected void setConsolidateDocument(boolean isConsolidateDocument) {
		this.isConsolidateDocument = isConsolidateDocument;
	}

	/**	 Getter Parameter Value for IsIncludeNotAvailable	*/
	protected boolean isIncludeNotAvailable() {
		return isIncludeNotAvailable;
	}

	/**	 Setter Parameter Value for IsIncludeNotAvailable	*/
	protected void setIsIncludeNotAvailable(boolean isIncludeNotAvailable) {
		this.isIncludeNotAvailable = isIncludeNotAvailable;
	}

	/**	 Getter Parameter Value for Process ID	*/
	public static final int getProcessId() {
		return ID_FOR_PROCESS;
	}

	/**	 Getter Parameter Value for Process Value	*/
	public static final String getProcessValue() {
		return VALUE_FOR_PROCESS;
	}

	/**	 Getter Parameter Value for Process Name	*/
	public static final String getProcessName() {
		return NAME_FOR_PROCESS;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy