psdi.app.workorder

Class FldWMWonum

    • Constructor Detail

      • FldWMWonum

        public FldWMWonum(MboValue mbv)
                   throws MXException
        Construct and attach to the MboValue.
        Parameters:
        mbv - the MboValue WOGroup field in the WMAssignment object.
        Throws:
        MXException
    • Method Detail

      • smartFind

        public MboSetRemote smartFind(java.lang.String sourceObj,
                                      java.lang.String value,
                                      boolean exact)
                               throws MXException,
                                      java.rmi.RemoteException
        Overridden to allow the GoTo AppLink to find the right Work Order for either a WO row or a Task row. WOGroup means different things in the two different cases and the MaxLookupMap table can't handle situations like this (because work orders and tasks are identical internally -- both are WO objects).
        Specified by:
        smartFind in interface MboValueListener
        Overrides:
        smartFind in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        In the query case, filter out tasks, leaving a list of WOGroups, that is, WOs whose WONums equal their WOGroups. In the non-query case, default to WOGroups of WOs that are also of the default insert site and are open.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException