psdi.webclient.beans.invusage

Class InvUseLineSplitBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class InvUseLineSplitBean
    extends DataBean
    This bean is for the Split Usage Quantity dialog. It is used to split (or autosplit) quantities across multiple bins.
    • Constructor Detail

      • InvUseLineSplitBean

        public InvUseLineSplitBean()
    • Method Detail

      • AUTOSPLITQTY

        public int AUTOSPLITQTY()
                         throws MXException,
                                java.rmi.RemoteException
        This method is called when auto-split is selected by the user to split the quantities across the multiple bins automatically.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • VALIDATEQTY

        public int VALIDATEQTY()
                        throws MXException,
                               java.rmi.RemoteException
        This method is called when user click OK Split Usage Quantity dialog. It validates the quantity and saves the record.
        Returns:
        EVENT_HANDLED
        Throws:
        MXException
        java.rmi.RemoteException
      • saveData

        public void saveData()
                      throws MXException,
                             java.rmi.RemoteException
        This method will the split data and the transactions will be created during save.
        Throws:
        MXException
        java.rmi.RemoteException
      • cancelDialog

        public int cancelDialog()
                         throws MXException,
                                java.rmi.RemoteException
        This method is called on dialog cancel. It resets the app bean mboset.
        Overrides:
        cancelDialog in class DataBean
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException