psdi.app.financial

Class FldTaxCode

    • Field Detail

      • NUMBEROFTAXCODES

        public int NUMBEROFTAXCODES
        constant to indicate number of taxcodes, currently, there are 5.
    • Constructor Detail

      • FldTaxCode

        public FldTaxCode(MboValue mbv)
                   throws MXException,
                          java.rmi.RemoteException
        Construct and attach to the mbovalue. Validate that taxcode has to be in the tax table. Tax1code implicitly suggests that it is a taxcode of typecode '1'. Tax2code implimitly suggests that it is a taxcode of typecode '2'. Tax3code implicitly suggests that it is a taxcode of typecode '3'. Tax4code implimitly suggests that it is a taxcode of typecode '4'. Tax5code implicitly suggests that it is a taxcode of typecode '5'.
        Parameters:
        mbv -
        Throws:
        MXApplicationException - (financial, invalidtaxcode_typecode) Invalid taxcode typecode combination.
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getTypeCode

        public int getTypeCode()
        Return the tax type code.
        Returns:
        int The type code.
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Return list of tax codes from the Tax table with the specified type code. This will be used by the UI lookup to get the proper tax codes.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Returns:
        list of tax codes.
        Throws:
        MXException
        java.rmi.RemoteException