psdi.app.contract

Class ContCommodity

  • java.lang.Object
    • Constructor Detail

      • ContCommodity

        public ContCommodity(MboSet ms)
                      throws MXException,
                             java.rmi.RemoteException
        Construct the Contract object.
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete()
                    throws MXException,
                           java.rmi.RemoteException
        If a company commodity group is deleted then make sure all attached commodity codes are deleted
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Set value for CONTRACTNUM.
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Parameters:
        keyName - Should equal "CONTRACTNUM" or else nothing will be propagated.
        keyValue - The new value of CONTRACTNUM.
        Throws:
        MXException
        java.rmi.RemoteException