psdi.app.route

Class FldRouteStopJPNum

    • Constructor Detail

      • FldRouteStopJPNum

        public FldRouteStopJPNum(MboValue mbv)
                          throws MXException,
                                 java.rmi.RemoteException
        Construct and attach to the specified MboValue
        Parameters:
        mbv -
        Throws:
        java.rmi.RemoteException
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • init

        public void init()
                  throws MXException,
                         java.rmi.RemoteException
        JPNum is read/only if the route is not for 'Child Work Orders'. Issue# 12-12229 : initValue() above was doing the job prior the fix for Issue# 11-10208 (code added in the Constructor) After that fix, initValue does not trigger. Same code as above, but in init() method
        Specified by:
        init in interface MboValueListener
        Overrides:
        init in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        when the jobplan is not null on a routestop, and if the routestop's description is null, copy the description of the jobplan to the description of the routestop
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • JpnumCfg

        public void JpnumCfg(MboValue thisMboValue,
                             java.lang.String status)
                      throws MXException,
                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException