Package org.compiere.process
Class RfQCreateSO
- java.lang.Object
-
- org.compiere.process.SvrProcess
-
- org.compiere.process.RfQCreateSO
-
- All Implemented Interfaces:
ProcessCall
public class RfQCreateSO extends SvrProcess
Create SO for RfQ.- Version:
- $Id: RfQCreateSO.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
- Author:
- Jorg Janke
-
-
Field Summary
-
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
-
Constructor Summary
Constructors Constructor Description RfQCreateSO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doIt()
Process.protected void
prepare()
Prepare-
Methods inherited from class org.compiere.process.SvrProcess
addBufferLog, addLog, addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getRecord_IDs, getTable_ID, isLocked, lockObject, postProcess, rollback, setProcessUI, startProcess, statusUpdate, unlockObject
-
-
-
-
Method Detail
-
prepare
protected void prepare()
Prepare- Specified by:
prepare
in classSvrProcess
-
doIt
protected String doIt() throws Exception
Process. A Sales Order is created for the entered Business Partner. A sales order line is created for each RfQ line quantity, where "Offer Quantity" is selected. If on the RfQ Line Quantity, an offer amount is entered (not 0), that price is used. If a magin is entered on RfQ Line Quantity, it overwrites the general margin. The margin is the percentage added to the Best Response Amount.- Specified by:
doIt
in classSvrProcess
- Returns:
- message
- Throws:
Exception
- if not successful e.g. throw new AdempiereUserError ("@FillMandatory@ @C_BankAccount_ID@");
-
-