psdi.app.item.virtual

Class FldInventoryFrequency

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInventoryFrequency
    extends MboValueAdapter
    Behaviour of the Frequency field in the Inventory object
    The 'Frequency' represents the number of time units to elapse between the invoice generated from Inventory transactions. The time units can be Days, Weeks, Months or Years.
    • Constructor Detail

      • FldInventoryFrequency

        public FldInventoryFrequency(MboValue mbv)
                              throws MXException
        Construct and attach to the mbo value
        Parameters:
        mbv -
        Throws:
        MXException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        When there is a change in frequency, setNextDueDate() is called to set the next invoice date of Inventory.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.Inventory#setNextDueDate