psdi.app.inventory

Class FldMatUseTransStoreloc

  • All Implemented Interfaces:
    MboConstants, MboValueListener
    Direct Known Subclasses:
    FldIssueItemToAssetStoreloc


    public class FldMatUseTransStoreloc
    extends FldLocation
    Matusetrans.Storeloc validation: 1) determines if storeloc exists in locations, 2) determines if storeloc/itemnum exists in inventory, 3) determines if storeloc/itemnum/binnum/lotnum (depending on what user has entered) exists in invbalances. Since full invbalance record must exist before Save, appValidate() plays catch to ensure user has entered all four values correctly. Storeloc validation only ensures that the values which have been entered SO FAR are correct.
    • Constructor Detail

      • FldMatUseTransStoreloc

        public FldMatUseTransStoreloc(MboValue mbv)
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException