Compiere 3.1

org.compiere.process
Class RfQCreateSO

java.lang.Object
  extended by org.compiere.process.SvrProcess
      extended by 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
 
Constructor Summary
RfQCreateSO()
           
 
Method Summary
protected  String doIt()
          Process.
protected  void prepare()
          Prepare
 
Methods inherited from class org.compiere.process.SvrProcess
addLog, addLog, commit, doIt, get_Trx, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getTable_ID, isLocked, lockObject, rollback, startProcess, unlockObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RfQCreateSO

public RfQCreateSO()
Method Detail

prepare

protected void prepare()
Prepare

Specified by:
prepare in class SvrProcess

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 class SvrProcess
Returns:
message
Throws:
Exception - if not successful e.g. throw new CompiereUserError ("@FillMandatory@ @C_BankAccount_ID@");

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.