psdi.app.pr

Class PRStatus

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


    public class PRStatus
    extends Mbo
    implements PRStatusRemote
    MBO object to represent an PRStatus.

    See Purchase Requisition Package description.

    This is a site level object.

    The key attributes for this object are SiteID and PRNum.

    The attributes in this object are as follows:

    Attribute Name Attribute Value
    ChangeBy, ChangeDate The person who changed PR's status; date and time when status last changed.
    MemoStatus change notes.
    OrgIDIdentifier of the organization for this PR status.
    PRNumPurchase requisition number.
    SiteIDIdentifier of the site for this PR status.
    Status Purchase requisition status.
    • Constructor Detail

      • PRStatus

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds a new PRStatus object. This cannot be called except by the PR object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXApplicationException - (pr, addstatus) is thrown if the owner is not PR.
        MXException
        java.rmi.RemoteException
      • getPRStatusRecord

        public java.util.Vector getPRStatusRecord()
                                           throws MXException,
                                                  java.rmi.RemoteException
        Gets historical data from PRStatus.
        Returns:
        a vector consists of PRStatus.changedate, PRStatus.description, PRStatus.status, PRStatus.changeby, PR reference, PRStatus.ponum, and "".
        Throws:
        MXException
        java.rmi.RemoteException