Class 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
    • 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 AdempiereUserError ("@FillMandatory@ @C_BankAccount_ID@");