Package psdi.app.pr

The PR package includes MBOs related to Purchase Requisitions (PRs).

See: Description

  • Interface Summary 
    Interface Description
    PRCostRemote
    Remote interface for the PRCost object.
    PRCostSetRemote
    Remote Interface to the set of PRCost lines.
    PRLineRemote
    Remote Interface to the PRLine object.
    PRLineSetRemote
    Remote Interface to the set of PRLine's.
    PRRemote
    Remote Interface to the PR object.
    PRServiceRemote
    Remote Interface to the PRService object.
    PRSetRemote
    Remote Interface to the set of PR's Constants for relationships defined in the 'MAXRELATIONSHIP' table are declared here.
    PRStatusRemote
    Remote Interface to the PRStatus object.
    PRStatusSetRemote
    Remote Interface to the set of PRStatus's
    PRTermRemote
    Remote Interface to the PRTerm object.
    PRTermSetRemote
    Remote Interface to the set of PR Term.
  • Class Summary 
    Class Description
    FldPRCostLineCost
    This is the field validation class for linecost field of the PRCost object.
    FldPRCostPercentage
    This is the field validation class for percentage field of the PRCost object.
    FldPRCostQuantity
    Validation class for PR Cost Quantity.
    FldPRLineNum
    This common field validation class is used to check the validity of any prlinenum in any app .
    FldPRLinePONum
    This is the field validation class for PONum field of PRLine.
    FldPRLinePRLineNum
    Base field validation class for prlinenum.
    FldPRLinePRNum
    This is the field validation class for PRNum field of PRLine.
    FldPRNoVendor
    This is the field validation class for NoVendor of PR.
    FldPRNum
    This class evaluates a PRNUM.
    FldPRPayOnReceipt
    Field routines associated with the payonreceipt field in the PR object
    FldPRPONum
    This is a non-persistent field validation POnum on PR.
    FldPRShipTo
    This is a non-persistent field validation POnum on PR.
    PR
    MBO object to represent a Purchase Requisition.
    PRCost
    Mbo Object to represent a Purchase Requisition Cost object.
    PRCostSet
    Represents the Mbo set of PRCost.
    PRLine
    MBO to represent a PRLine in the Maximo System.
    PRLineSet
    Represents the set of PRLines.
    PRService
    A Service class that contains general purpose methods related to PR.
    PRSet
    Represents the set of PRs.
    PRStatus
    MBO object to represent an PRStatus.

    PRStatusHandler
    Handles all the status changes for a pr object
    PRStatusSet
    Represents the set of PRStatus's.
    PRTerm
    MBO to represent PR Terms and Conditions.
    PRTermSet
    Represents the set of PO Term

Package psdi.app.pr Description

The PR package includes MBOs related to Purchase Requisitions (PRs). A PR is a written request issued internally to a purchasing department to order items or services. The purchase requisition is verified by a superior authority who decides whether it can be approved or not. On approval of a purchase requisition the lines are usually copied to a purchase order which in turn is sent to a vendor to obtain the necessary services or materials requested on the lines. A purchase requisition is closed when all its line items are assigned to a purchase order. This package provides the methods to create and process purchase requisitions.

Package Specification

The MBOs included in the PR package are:
  • PR - MBO to represent a purchase requisition (PR) header. The purchase requisition header contains details like a description of the PR, requested date, required date, related cost information, vendor, ship to and bill to information, and other information related to this specific requisition. A PR can be created either manually or from an existing Material Requisition (MR). If the PR is created from an MR, information will be copied from the MR to the PR. The purchase requisition is verified by a superior authority who decides whether it can be approved or not. Approval of a purchase requisition creates a new purchase order.

  • PRLine - MBO to represent one line of information on purchase requisition. Items and services that need to be requisitioned from either a vendor or from the storeroom can be requested on a purchase requisition line. Each item or service is unique and is identified by its description. The number of lines per purchase requisition is determined by the number of items or the number of services or both. Each line has its own item number or description, quantity, unit cost, line cost, required date, tax codes and taxes. The sum of the line cost of the lines is reflected on a field called "pretax total" on the PR header.

  • PRStatus - MBO to represent the status of a purchase requisition. A new PRStatus object is created every time a new purchase requisition is created and every time an existing purchase requisition changes from one status to another permissible status. The object contains information like the purchase requisition number, its current status, the date when the status was changed to the current status and also the description (memo) that the user provided at the time of the status change. This object is used to keep a log of the status changes.

  • PRCost -- MBO to represent the cost of a line on a Purchase Requsition. The cost on a PRLine can be distributed across any number of general ledger accounts. Each PRCost MBO contains information about which GLAccount carries the cost and the percentage of the total cost it carries. Each PRLine will have at least one PRCost MBO. If there is only one PRCost MBO for a PRLine, then 100 percent of the cost will be assigned to one GLAccount.
Other classes included in the PR package are:
  • PRStatusHandler - This is a helper class for maintaining PRStatus. All status changes must be done through this object. It contains all the rules that should be followed while changing from one status to another. Using this class ensures that all business rules are followed when status changes are done.

  • PRService - This is also a helper class. It contains some utility methods that any object can access. These utility methods perform actions that are related to purchase requisitions. This class is useful because anybody who uses this class need have an instance of a PR or PRLine object ready at hand.

Related Documentation

Last updated: 03/08/2002

Updated By : Ganesh Murthy