psdi.app.financial

Class FldTaxTypeCode

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldTaxTypeCode
    extends MAXTableDomain
    Validates the entered tax type code against the TaxType table, i.e. it should be from 1-5. Also validates that the combination of TypeCode, TaxCode, and Effective (date) is unique. If InclusiveGL and ExclusiveGL are not null, they are copied over from the TaxType table.
    • Constructor Detail

      • FldTaxTypeCode

        public FldTaxTypeCode(MboValue mbv)
        Construct and attach to the specified mbovalue
        Parameters:
        mbv -
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Super() validates that the typecode entered is between 1-5. Also validates that the combination of typecode, taxcode and effective date is unique.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXApplicationException - (financial, invalidtaxtype) Invalid tax typecode.
        MXApplicationException - (financial, taxcodeeffectivedate) Taxcode, typecode, effectivedate combination is not unique.
        MXException
        java.rmi.RemoteException