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

org.adempiere.pos.process.CreateOrderBasedOnAnotherAbstract 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 (Create Order based on another)
 *  @author ADempiere (generated) 
 *  @version Release 3.8.0
 */
public abstract class CreateOrderBasedOnAnotherAbstract extends SvrProcess
{
	/** Process Value 	*/
	private static final String VALUE = "C_POS CreateOrderBasedOnAnother";
	/** Process Name 	*/
	private static final String NAME = "Create Order based on another";
	/** Process Id 	*/
	private static final int ID = 53822;
 
	/**	Parameter Name for C_OrderSource_ID	*/
	public static final String C_OrderSource_ID = "C_OrderSource_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 DocAction	*/
	public static final String DocAction = "DocAction";
	/**	Parameter Name for IsIncludePayments	*/
	public static final String IsIncludePayments = "IsIncludePayments";
	/**	Parameter Name for IsAllocated	*/
	public static final String IsAllocated = "IsAllocated";

	/**	Parameter Value for orderSourceId	*/
	private int orderSourceId;
	/**	Parameter Value for invoicePartnerId	*/
	private int invoicePartnerId;
	/**	Parameter Value for sOSubType	*/
	private String sOSubType;
	/**	Parameter Value for documentAction	*/
	private String documentAction;
	/**	Parameter Value for isIncludePayments	*/
	private boolean isIncludePayments;
	/**	Parameter Value for isAllocated	*/
	private boolean isAllocated;
 

	@Override
	protected void prepare()
	{
		orderSourceId = getParameterAsInt(C_OrderSource_ID);
		invoicePartnerId = getParameterAsInt(Bill_BPartner_ID);
		sOSubType = getParameterAsString(DocSubTypeSO);
		documentAction = getParameterAsString(DocAction);
		isIncludePayments = getParameterAsBoolean(IsIncludePayments);
		isAllocated = getParameterAsBoolean(IsAllocated);
	}

	/**	 Getter Parameter Value for orderSourceId	*/
	protected int getOrderSourceId() {
		return orderSourceId;
	}

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

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

	/**	 Getter Parameter Value for documentAction	*/
	protected String getDocumentAction() {
		return documentAction;
	}

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

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

	/**	 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