psdi.app.countbook

Class CountBookLine

  • java.lang.Object
    • Constructor Detail

      • CountBookLine

        public CountBookLine(MboSet ms)
                      throws java.rmi.RemoteException
        Constructor. Creates a new instance of CountBookLine
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException - RemoteException RMI Error
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        protected void save()
                     throws java.rmi.RemoteException,
                            MXException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • updateCountBookLatestDue

        protected void updateCountBookLatestDue(MboRemote parentCountBookMbo,
                                                java.util.Date nexPhycDateFromInvBalances,
                                                boolean needSave)
                                         throws java.rmi.RemoteException,
                                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • computePhysicalAdjustment

        public void computePhysicalAdjustment()
                                       throws java.rmi.RemoteException,
                                              MXException
        Description copied from interface: CountBookLineRemote
        This method computes the Physical Count Adjustment, similar to the INVENTORY Physical Count Adjustment. It computes for ron-rotating items.
        Specified by:
        computePhysicalAdjustment in interface CountBookLineRemote
        Throws:
        java.rmi.RemoteException - RemoteException RMI Error
        MXException - MAXIMO System Error
        See Also:
        CountBook#computePhysicalAdjustment()
      • computePhysicalAdjustmentForRotating

        public void computePhysicalAdjustmentForRotating()
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Description copied from interface: CountBookLineRemote
        This method computes the Physical Count Adjustment, similar to the INVENTORY Physical Count Adjustment. It computes for rotating items.
        Specified by:
        computePhysicalAdjustmentForRotating in interface CountBookLineRemote
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        CountBook#computePhysicalAdjustmentForRotating()
      • computeMatch

        public void computeMatch()
                          throws java.rmi.RemoteException,
                                 MXException
        Description copied from interface: CountBookLineRemote
        This method checks if the MATCH field should be Yes or No
        Specified by:
        computeMatch in interface CountBookLineRemote
        Throws:
        java.rmi.RemoteException - RemoteException RMI Error
        MXException - MAXIMO System Error
        See Also:
        CountBook#approveCountBook()