psdi.app.po

Class POEcomStatus

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


    public class POEcomStatus
    extends Mbo
    implements POEcomStatusRemote
    MBO to represent a Purchase Order E-commerce Status. A new POEcomStatus object is created every time a new communication status is received by MAXIMO. The object contains the PO number, the communication status of the PO, the date the status was changed, notes associated with the status change, the site identifier and the organization identifier. This object is used to keep a log of the e-commerce status changes.

    See PO Package description.

    This is an organization level object.

    The key attributes for this object are OrgId and PONum.

    The attributes in this object are as follows:

    Attribute NameAttribute Description
    ChangeDateDate the status was changed.
    MemoNotes associated with status change.
    OrgIdIdentifier of the organization for this object.
    PONumPurchase Order Number.
    SiteIdIdentifier of the site for this object. Carried over from the purchase order to identify the site.
    StatusCommunication status of the purchase order. Following is a list of valid communication statuses
    • ACKNOWLEDGED - Indicates that the vendor has acknowledged the purchase order.
    • ACK_ERROR - Indicates that the purchase order was acknowledged but with some errors.
    • CANCEL_ERROR - Indicates that there was an error when sending a purchase order cancellation.
    • CANCEL_SENT - Indicates that the purchase order cancellation has been sent successfully.
    • COMM_ERROR - Indicates that a communication has occurred.
    • CONFIRMED - Indicates that a purchase order confirmation has been received.
    • PCARD_ERROR - Indicates that an error was encountered when processing the pcard.
    • PO_ERROR - Indicates that an error occurred when sending a PO.
    • PO_NEW - Indicates that this purchase order is new.
    • PO_SENT - Indicates that the purchase order has been sent.
    See Also:
    StatefulMbo
    • Constructor Detail

      • POEcomStatus

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new POEcomStatus object This cannot be called except by the PO object. The following fields are initialised with their respective values


        Attribute Name Attribute Value
        ponum PO.ponum
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException