psdi.app.common.purchasing

Class FldPurStoreloc

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPurStoreloc
    extends FldCrossSiteLocation
    This is the field validation class for storeloc field of POLine/PRLine/RFQLine.
    Storeloc is the storeroom location of the item. It extends FldCommonLocation in COMMON package to get base validation for StoreLoc.
    • Constructor Detail

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        If Line type is SERVICE, STDSERVICE or MATERIAL, cannot set value on store room.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXApplicationException(po, - storeroomnotallowed) is thrown when Line type is SERVICE, STDSERVICE or MATERIAL.
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        .
        Conditions:
        1. if there is a storeLoc set issue to be false and read only.
        2. if there is an itemnum get crossover info from item and set the respective fields
          - gldebitacct,category,orderqty,orderunit, conversion, modelnum,manufacturer,tax1code,tax2code,tax3code,tax4code,tax5code.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException