Class WCreateFromShipmentUI

    • Field Detail

      • bPartnerLabel

        protected Label bPartnerLabel
      • bPartnerField

        protected WEditor bPartnerField
      • orderLabel

        protected Label orderLabel
      • orderField

        protected Listbox orderField
      • rmaLabel

        protected Label rmaLabel
        Label for the rma selection
      • rmaField

        protected Listbox rmaField
        Combo box for selecting RMA document
      • invoiceLabel

        protected Label invoiceLabel
      • invoiceField

        protected Listbox invoiceField
      • sameWarehouseCb

        protected Checkbox sameWarehouseCb
      • locatorLabel

        protected Label locatorLabel
      • upcLabel

        protected Label upcLabel
    • Constructor Detail

      • WCreateFromShipmentUI

        public WCreateFromShipmentUI​(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,
                                 int M_Locator_ID)
        Load Data - Order
        Parameters:
        C_Order_ID - Order
        forInvoice - true if for invoice vs. delivery qty
        M_Locator_ID -
      • loadRMA

        protected void loadRMA​(int M_RMA_ID,
                               int M_Locator_ID)
        Load Data - RMA
        Parameters:
        M_RMA_ID - RMA
        M_Locator_ID -
      • loadInvoice

        protected void loadInvoice​(int C_Invoice_ID,
                                   int M_Locator_ID)
        Load Data - Invoice
        Parameters:
        C_Invoice_ID - Invoice
        M_Locator_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()