| Table a_ap_anal_attrib | 
| 
Description: Analysis Attributes applied to an AP for posting to the GL.  | 
| PRIMARY KEY | ||
| 
a_ap_document_id_i
 
integer default: 0 NOT NULL  | Accounts Payable Sequence Number | a_ap_document_detail | 
| 
a_detail_number_i
 
integer default: 0 NOT NULL  | The detail number within the invoice/ accounts payable. | a_ap_document_detail | 
| 
a_analysis_type_code_c
 
varchar (16) NOT NULL  | a_analysis_attribute, a_freeform_analysis | |
| 
a_ledger_number_i
 
integer default: 0 NOT NULL  | The ledger that the attribute value is associated with. | a_analysis_attribute, a_account, a_freeform_analysis | 
| 
a_account_code_c
 
varchar (16) NOT NULL  | This identifies the account the financial transaction must be stored against | a_analysis_attribute, a_account | 
| 
a_analysis_attribute_value_c
 
varchar (80)  | a_freeform_analysis | |
| 
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_ap_anal_attrib_fk1: a_ap_document_id_i;a_detail_number_i => a_ap_document_detail a_ap_anal_attrib_fk2: a_ledger_number_i;a_analysis_type_code_c;a_account_code_c => a_analysis_attribute a_ap_anal_attrib_fk3: a_ledger_number_i;a_account_code_c => a_account a_ap_anal_attrib_fk4: a_ledger_number_i;a_analysis_type_code_c;a_analysis_attribute_value_c => a_freeform_analysis a_ap_anal_attrib_fkcr: s_created_by_c => s_user a_ap_anal_attrib_fkmd: s_modified_by_c => s_user  | ||