psdi.app.po

Class POStatus

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


    public class POStatus
    extends Mbo
    implements POStatusRemote
    MBO to represent a Purchase Order Status. A new POStatus object is created every time a new purchase order is created and also every time when an existing purchase order changes from one status to another permissible status. The object contains information like the PO number, its current status, the date it was changed to the current status and also the description (memo) that the user provided at the time of status change. This object is used to keep a log of the status changes.

    See Purchase Order Package description.

    This is an organization and site level object.

    The key attributes for this object are OrgID and purchase order number.

    The attributes in this object are as follows:

    Attribute Name Attribute Value
    ChangeBy, ChangeDate The username of the person who changed purchase order status; date and time the status last changed.
    MemoStatus change notes.
    OrgIdIdentifier of the organization for this purchase order status.
    PONumPurchase order number.
    SiteIdIdentifier of the site for this purchase order status.
    Status Purchase order status. The status can be one of waiting for approval, approved, in progress, closed or cancelled.
    See Also:
    StatefulMbo
    • Constructor Detail

      • POStatus

        public POStatus(MboSet ms)
                 throws MXException,
                        java.rmi.RemoteException
        Construct the POStatus
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new POStatus object This cannot be called except by the PR object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • getPOStatusRecord

        public java.util.Vector getPOStatusRecord()
                                           throws MXException,
                                                  java.rmi.RemoteException
        Gets historical data from POStatus.
        Returns:
        Vector Consists of POStatus.changedate, POStatus.description, POStatus.status, POStatus.changeby, PO reference, POStatus.ponum, "".
        Throws:
        MXException
        java.rmi.RemoteException