Table a_tax_table
Description:
This is used by the invoicing
PRIMARY KEY
a_ledger_number_i
integer default: 0 NOT NULL
This is used as a key field in most of the accounting system files a_ledger
a_tax_type_code_c
varchar (16) NOT NULL
The tax type is always the same, e.g. VAT a_tax_type
a_tax_rate_code_c
varchar (16) NOT NULL
this describes whether it is e.g. the standard, reduced or zero rate of VAT
a_tax_valid_from_d
date NOT NULL
this describes when this particular percentage rate has become valid by law

a_tax_rate_description_c
varchar (64)
This is a short description which is 32 charcters long
a_tax_rate_n
numeric (24, 10) default: 0
Tax rate
a_active_l
boolean default: '1'
flag that prevents this rate from being used, e.g. if it has been replaced by another rate
s_date_created_d
date default: CURRENT_DATE
The date the record was created.
s_created_by_c
varchar (20)
User ID of who created this record. s_user
s_date_modified_d
date
The date the record was modified.
s_modified_by_c
varchar (20)
User ID of who last modified this record. s_user
s_modification_id_t
timestamp default: CURRENT_TIMESTAMP
This identifies the current version of the record.


FOREIGN KEY
a_tax_table_fk1: a_ledger_number_i => a_ledger
a_tax_table_fk2: a_tax_type_code_c => a_tax_type
a_tax_table_fkcr: s_created_by_c => s_user
a_tax_table_fkmd: s_modified_by_c => s_user


REFERENCED BY
a_ar_invoice, a_ar_invoice_detail