Table a_analysis_attribute
Diagram AccountsPayable 
Description:
Indicates which accounts use analysis attributes and what attribute types may be used with the account. Analysis attributes are user-definable extra information to be stored against an account.
PRIMARY KEY
a_ledger_number_i
integer default: 0 NOT NULL
The number of the ledger in which the analysis attribute is used. a_account, a_analysis_type, a_cost_centre
a_analysis_type_code_c
varchar (16) NOT NULL
A code indicating the type of analysis. Valid analysis types are stored in the a_analysis_type table. a_analysis_type
a_account_code_c
varchar (16) NOT NULL
This identifies the account the financial transaction analysis information must be stored against. a_account

a_cost_centre_code_c
varchar (24)
Cost Centre to which the attribute relates a_cost_centre
a_active_l
boolean default: '1'
Analysis attributes cannot be deleted, because they are needed for existing transaction analysis attributes. But they can be deactivated.
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_analysis_attribute_fk1: a_ledger_number_i;a_account_code_c => a_account
a_analysis_attribute_fk2: a_ledger_number_i;a_analysis_type_code_c => a_analysis_type
a_analysis_attribute_fk3: a_ledger_number_i;a_cost_centre_code_c => a_cost_centre
a_analysis_attribute_fkcr: s_created_by_c => s_user
a_analysis_attribute_fkmd: s_modified_by_c => s_user


REFERENCED BY
a_recurring_trans_anal_attrib, a_trans_anal_attrib, a_ap_anal_attrib