psdi.webclient.beans.workorder

Class PlanMaterialBean

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


    public class PlanMaterialBean
    extends DataBean
    Provides functionality for the work order planned materials table
    • Constructor Detail

      • PlanMaterialBean

        public PlanMaterialBean()
    • Method Detail

      • copySpareParts

        public int copySpareParts(MboSetRemote spareParts)
                           throws MXException,
                                  java.rmi.RemoteException
        Copy the selected spare parts to the planned material table
        Throws:
        MXException
        java.rmi.RemoteException
      • catalog

        public int catalog()
                    throws MXException,
                           java.rmi.RemoteException
        This either throws an exception saying you may not edit WPItem for this workorder in this status, or calls the data input dialog for Search Catalogs from the workorder | plans | materials tab Issue 72934
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • selasparts

        public int selasparts()
                       throws MXException,
                              java.rmi.RemoteException
        This either throws an exception saying you may not edit WPItem for this workorder in this status, or calls the data input dialog for Select Asset Spare Parts from the workorder | plans | materials tab Issue 72934
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • selectmaterialsonplans

        public int selectmaterialsonplans()
                                   throws MXException,
                                          java.rmi.RemoteException
        This either throws an exception saying you may not edit WPItem for this workorder in this status, or calls the data input dialog for Select Materials from the workorder | plans | materials tab Issue 72934
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • addListener

        public void addListener(DataBeanListener listener)
        IV82863: override to detect if there are child databean below the wpmaterial. ACM has a robbery child table window.
        Overrides:
        addListener in class DataBean