psdi.app.inventory

Class FldInventoryVendor

    • Constructor Detail

      • FldInventoryVendor

        public FldInventoryVendor(MboValue mbv)
                           throws MXException,
                                  java.rmi.RemoteException
        Construct and attach to the MboValue.
        Parameters:
        mbv - The MboValue field in the inventory object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Validate that if the value entered into the Vendor field is a storeroom, that the storeroom carries this item. If the value entered is not a storeroom the validation does not continue. If the value entered is a storeroom but does not carry the item (ie no record for that item/storeroom in the INVENTORY table) an error message is thrown.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Parameters:
        none -
        Throws:
        MXApplicationException -
        GROUPKEYREASON
        inventorynotAValidStoreroomItem not found in that storeroom.
        MXException
        java.rmi.RemoteException