Class WCreateFromInvoiceUI

    • Field Detail

      • bPartnerLabel

        protected Label bPartnerLabel
      • bPartnerField

        protected WEditor bPartnerField
      • orderLabel

        protected Label orderLabel
      • orderField

        protected Listbox orderField
      • shipmentLabel

        protected Label shipmentLabel
      • shipmentField

        protected Listbox shipmentField
      • rmaLabel

        protected Label rmaLabel
        Label for the rma selection
      • rmaField

        protected Listbox rmaField
        Combo box for selecting RMA document
    • Constructor Detail

      • WCreateFromInvoiceUI

        public WCreateFromInvoiceUI​(GridTab tab)
    • Method Detail

      • onEvent

        public void onEvent​(org.zkoss.zk.ui.event.Event e)
                     throws Exception
        Action Listener
        Specified by:
        onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
        Parameters:
        e - event
        Throws:
        Exception
      • initBPartner

        protected void initBPartner​(boolean forInvoice)
                             throws Exception
        Load BPartner Field
        Parameters:
        forInvoice - true if Invoices are to be created, false receipts
        Throws:
        Exception - if Lookups cannot be initialized
      • initBPOrderDetails

        protected void initBPOrderDetails​(int C_BPartner_ID,
                                          boolean forInvoice)
        Load PBartner dependent Order/Invoice/Shipment Field.
        Parameters:
        C_BPartner_ID - BPartner
        forInvoice - for invoice
      • initBPDetails

        public void initBPDetails​(int C_BPartner_ID)
      • loadOrder

        protected void loadOrder​(int C_Order_ID,
                                 boolean forInvoice)
        Load Data - Order
        Parameters:
        C_Order_ID - Order
        forInvoice - true if for invoice vs. delivery qty
      • loadRMA

        protected void loadRMA​(int M_RMA_ID)
      • loadShipment

        protected void loadShipment​(int M_InOut_ID)
      • loadTableOIS

        protected void loadTableOIS​(Vector<?> data)
        Load Order/Invoice/Shipment data into Table
        Parameters:
        data - data
      • setupColumns

        protected void setupColumns​(Grid parameterGrid)
      • onClientInfo

        protected void onClientInfo()