Class OrderPOCreate

java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.OrderPOCreate
All Implemented Interfaces:
ProcessCall

public class OrderPOCreate extends SvrProcess
Generate PO from Sales Order
Version:
$Id: OrderPOCreate.java,v 1.2 2006/07/30 00:51:01 jjanke Exp $ Contributor: Carlos Ruiz - globalqss Fix [1709952] - Process: "Generate PO from Sales order" bug
Author:
Jorg Janke
  • Constructor Details

    • OrderPOCreate

      public OrderPOCreate()
  • Method Details

    • prepare

      protected void prepare()
      Prepare - e.g., get Parameters.
      Specified by:
      prepare in class SvrProcess
      See Also:
    • doIt

      protected String doIt() throws Exception
      Perform process.
      Specified by:
      doIt in class SvrProcess
      Returns:
      Message
      Throws:
      Exception - if not successful
    • createPOForVendor

      public MOrder createPOForVendor(int C_BPartner_ID, MOrder so)
      Create PO for Vendor
      Parameters:
      C_BPartner_ID - vendor
      so - sales order