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

org.adempiere.pos.process.GenerateImmediateInvoiceAbstract Maven / Gradle / Ivy

/******************************************************************************
 * Product: ADempiere ERP & CRM Smart Business Solution                       *
 * Copyright (C) 2006-2016 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   *
 * 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.adempiere.pos.process;

import org.compiere.process.SvrProcess;
/** Generated Process for (Generate Immediate Invoice)
 *  @author ADempiere (generated) 
 *  @version Release 3.8.0
 */
public abstract class GenerateImmediateInvoiceAbstract extends SvrProcess
{
	/** Process Value 	*/
	private static final String VALUE = "C_POS Generate Immediate Invoice";
	/** Process Name 	*/
	private static final String NAME = "Generate Immediate Invoice";
	/** Process Id 	*/
	private static final int ID = 53823;
 
	/**	Parameter Name for C_Order_ID	*/
	public static final String C_Order_ID = "C_Order_ID";
	/**	Parameter Name for Bill_BPartner_ID	*/
	public static final String Bill_BPartner_ID = "Bill_BPartner_ID";
	/**	Parameter Name for DocSubTypeSO	*/
	public static final String DocSubTypeSO = "DocSubTypeSO";
	/**	Parameter Name for IsIncludePayments	*/
	public static final String IsIncludePayments = "IsIncludePayments";
	/**	Parameter Name for IsAllocated	*/
	public static final String IsAllocated = "IsAllocated";
	/**	Parameter Name for IsShipConfirm	*/
	public static final String IsShipConfirm = "IsShipConfirm";

	/**	Parameter Value for orderId	*/
	private int orderId;
	/**	Parameter Value for invoicePartnerId	*/
	private int invoicePartnerId;
	/**	Parameter Value for sOSubType	*/
	private String sOSubType;
	/**	Parameter Value for isIncludePayments	*/
	private boolean isIncludePayments;
	/**	Parameter Value for isAllocated	*/
	private boolean isAllocated;
	/**	Parameter Value for isipReceiptConfirmation	*/
	private boolean isipReceiptConfirmation;
 

	@Override
	protected void prepare()
	{
		orderId = getParameterAsInt(C_Order_ID);
		invoicePartnerId = getParameterAsInt(Bill_BPartner_ID);
		sOSubType = getParameterAsString(DocSubTypeSO);
		isIncludePayments = getParameterAsBoolean(IsIncludePayments);
		isAllocated = getParameterAsBoolean(IsAllocated);
		isipReceiptConfirmation = getParameterAsBoolean(IsShipConfirm);
	}

	/**	 Getter Parameter Value for orderId	*/
	protected int getOrderId() {
		return orderId;
	}

	/**	 Getter Parameter Value for invoicePartnerId	*/
	protected int getInvoicePartnerId() {
		return invoicePartnerId;
	}

	/**	 Getter Parameter Value for sOSubType	*/
	protected String getSOSubType() {
		return sOSubType;
	}

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy