psdi.app.financial

Class Tax

  • All Implemented Interfaces:
    java.rmi.Remote, TaxRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class Tax
    extends Mbo
    implements TaxRemote
    Mbo object to represent Tax. Tax object defines tax codes for use in calculating the amount of tax that is due on a PO, PR, RFQ, or invoice. You can define up to five different tax types, each of which can have any number of tax codes.

    See Financial Package description.

    The key attributes for this object are TypeCode, TaxCode and Effective.

    The attributes in this object are as follows:

    Attribute NameAttribute Description
    ChangeByThe name or user ID of the person who last modified the record.
    ChangeDateThe date/time when tax information was last modified.
    EffectiveThe date from which this tax applies.
    ExclusiveGLGeneral ledger account used for Tax exclusive invoices.
    InclusiveGLGeneral ledger account used for Tax inclusive invoices.
    OrgIDOrganization Identifier.
    TaxCodeThe taxcode designates a tax rate such as MA for Massachusetts sales tax of 5%. Unique identifier.
    TaxRateThe rate for this taxcode.
    TypeCodeIdentifies the taxcode. Unique identifier. There are five different tax typecodes 1-5.
    • Constructor Detail

      • Tax

        public Tax(MboSet ms)
            throws java.rmi.RemoteException
        Construct the Tax object.
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a tax record and set defaults and editibility flags. The table below shows the default values for each of the attributes listed.
        Attribute NameAttribute Value
        changebyCurrent username
        changedateCurrent date
        effectiveCurrent date
        taxrate0(Zero)
        typecodeTypeCode value of owner, if owner is a TaxType MBO
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setEditibilityFlags

        protected void setEditibilityFlags()
        Set the read-only flags for fields where it changes.