psdi.app.jobplan

Class JobService

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


    public class JobService
    extends JobItem
    implements JobServiceRemote
    MBO object that represents a Job Services(LINETYPE = STDSTERVICE that inhertes from JobItem.
    See JobPlan Package description for details. The attributes in this object are as follows::

    Attribute NameDescription
    ConditionCodeThe condition of the item in a given job plan. Not Applicable to JobService
    DirectReqIndicates whether the item will be purchased with the intent of issuing the it directly upon receipt or not. It is always true for JobService.
    HoursNumber Of Hours For Which A Tool Is Used. Not Applicable to JobService.
    ItemnumIdentifier of the service item being used.
    ItemQtySpecifies the number of items needed for the task.
    JpnumIdentifier for the Job Plan. This will be copied from owner Job Plan to this Job Material.
    JpTaskIdentifier of the the Job Plan task for which this Item is used.
    LineCostA non-persistent attribute that indicates the estimated total cost of the Service Item.
    LineTypeThe line type(StdService) of job plan
    LocationIdentifier of the storeroom location of this item. Since it is a direct request, it will be always null
    OrgIdIdentifier of the organization for the Job Item.
    siteidIdentifier of the Site for the Job Tool.
    RateIdentifies the Cost for the Tool per hour.Not Applicable to JobService.
    ReserveReqIdentifies Whether Reservation Required for this tool. Not Applicable to JobService.
    StoreLocSite Storeroom's Site. Not Applicable to JobService.
    UnitCostA non-persistent attribute that indicates the unit cost of the Item. tr>VendorIdentifier of the Company for Contractor who supplies the service.
    JM1 through JM6Extra Fields.

    • Constructor Detail

      • JobService

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new Job Services.
        When a new job material is added, the following attributes are set to the default values. Also the jobplan number is copied from the jobplan which owns this object.
        linetype is set to STDSERVICE(External Default Value of Synonym domain table)
        directreq flag is set to 'true'
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class JobItem
        Throws:
        MXException
        java.rmi.RemoteException