Class CreateFrom

    • Field Detail

      • log

        protected transient CLogger log
        Logger
      • p_order

        protected MOrder p_order
        Loaded Order
      • m_rma

        protected MRMA m_rma
        Loaded RMA
      • isSOTrx

        protected boolean isSOTrx
    • Constructor Detail

      • CreateFrom

        public CreateFrom​(GridTab gridTab)
    • Method Detail

      • save

        public abstract boolean save​(IMiniTable miniTable,
                                     String trxName)
      • isInitOK

        public boolean isInitOK()
        Init OK to be able to make changes?
        Specified by:
        isInitOK in interface ICreateFrom
        Returns:
        on if initialized
      • setInitOK

        public void setInitOK​(boolean initOK)
      • loadOrderData

        protected ArrayList<KeyNamePair> loadOrderData​(int C_BPartner_ID,
                                                       boolean forInvoice,
                                                       boolean sameWarehouseOnly)
        Load PBartner dependent Order/Invoice/Shipment Field.
        Parameters:
        C_BPartner_ID - BPartner
        forInvoice - for invoice
      • loadOrderData

        protected ArrayList<KeyNamePair> loadOrderData​(int C_BPartner_ID,
                                                       boolean forInvoice,
                                                       boolean sameWarehouseOnly,
                                                       boolean forCreditMemo)
      • getOrderData

        protected Vector<Vector<Object>> getOrderData​(int C_Order_ID,
                                                      boolean forInvoice)
        Load Data - Order
        Parameters:
        C_Order_ID - Order
        forInvoice - true if for invoice vs. delivery qty
      • getOrderData

        protected Vector<Vector<Object>> getOrderData​(int C_Order_ID,
                                                      boolean forInvoice,
                                                      boolean forCreditMemo)
      • getGridTab

        public GridTab getGridTab()
      • getM_Warehouse_ID

        public int getM_Warehouse_ID()
        Get Warehouse from window's context
        Returns:
        warehouse id
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)