psdi.app.inventory

Class LocLeadTime

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, LocLeadTimeRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class LocLeadTime
    extends Mbo
    implements LocLeadTimeRemote
    Mbo object to represent LocLeadTime. The LocLeadTime object maintains the weights, by storeroom location, given to the lead time value for the most recent receipt of an item versus the average of lead times for all previous receipts of the same item. These weights are used to calculate average lead times to perform vendor analyses and to determine the timing for reordering items. Lead time is the time between when an item is ordered and when it is received.

    See Inventory Package description.

    This is a site-level object.

    The key attributes for this object are as follows: SiteId, Location

    The persistent attributes for this object are as follows:

    Attribute NameDescription
    Location Storeroom location.
    NewPercentWeight given to the lead time for the most recent receipt of the item for vendor analyses and to determine the timing for reordering items. The weight given to the old lead time, that is, the average lead time for past orders, is 100 - Newpercent.
    OrgIdIdentifier of the organization for this LocLeadTime.
    SiteIdIdentifier of the site for this LocLeadTime.
    • Constructor Detail

      • LocLeadTime

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        set default values and field flags
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Parameters:
        none -
        Throws:
        none
        MXException
        java.rmi.RemoteException