Package org.compiere.process
Class RfQCreateSO
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.RfQCreateSO
- All Implemented Interfaces:
ProcessCall
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
-
Method Summary
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, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, postProcess, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
-
Constructor Details
-
RfQCreateSO
public RfQCreateSO()
-
-
Method Details
-
prepare
protected void prepare()Prepare- Specified by:
prepare
in classSvrProcess
- See Also:
-
doIt
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@");
-