psdi.app.item

Class AltItem

  • All Implemented Interfaces:
    java.rmi.Remote, AltItemRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class AltItem
    extends Mbo
    implements AltItemRemote
    Mbo object to represent alternative to/interchangeable item. See Item Package description for details.

    This is a organization level object.

    The key attributes in this object are as follows: OrgId, ItemNum, AltItemNum.

    The attributes in this object are as follows:

    Attribute NameDescription
    AltItemNumItem number that identifies an item that is an alternative to/ interchangeable with the item identified by the itemnum attribute.
    ItemNumPrimary item number.
    OrgIdIdentifier of the organization for this alternative item.
    • Constructor Detail

      • AltItem

        public AltItem(MboSet ms)
                throws MXException,
                       java.rmi.RemoteException
        Constructs the Alternate Item object.
        Parameters:
        ms - the Alternate Item MboSet.
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds a new Alternate Item. An alternate item can be added only when there is an item that owns it.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Parameters:
        none -
        Throws:
        MXApplicationException - (item, addAltItem) The user cannot add an alternate item if there is not an owner.
        MXException
        java.rmi.RemoteException