AR_STATEMENTS_HISTORY_ALL
The history of every customer statement that you generate
Details
-
Schema: FUSION
-
Object owner: AR
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
AR_STATEMENTS_HISTORY_ALL_PK |
LINE_CLUSTER_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
LINE_CLUSTER_ID | NUMBER | 18 | Yes | Identifier for the line cluster | |
SEND_TO_ADDRESS_ID | NUMBER | 18 | Yes | Identifier for the send-to address, foreign key reference to the RA_ADDRESSES_ALL table | |
CUSTOMER_ID | NUMBER | 18 | Yes | Identifier for the customer, foreign key reference to the RA_CUSTOMERS table | |
STATEMENT_DATE | DATE | Yes | Date when the statement was generated | ||
CURRENCY_CODE | VARCHAR2 | 15 | Lookup code for the currency of the transaction | ||
FINANCE_CHARGES | NUMBER | Yes | Amount of finance charges that the customer owes | ||
TOTAL_AMOUNT_DUE | NUMBER | Yes | Total amount due | ||
SITE_USE_ID | NUMBER | 18 | Yes | Identifier for the site use, foreign key reference to the RA_SITE_USES_ALL table | |
STATEMENT_TYPE | VARCHAR2 | 30 | Yes | Indicates if the statement that is generated is sent to a statement or a bill-to site | |
BILL_TO_LOCATION | VARCHAR2 | 150 | Location description of a bill-to site | ||
CREDIT_BALANCE_STATEMENTS | VARCHAR2 | 1 | Y if credit balance statements are sent to this site, otherwise N | ||
CUST_CUSTOMER_PROFILE_ID | NUMBER | 18 | Customer level profile identifier, foreign key reference to the AR_CUSTOMER_PROFILES table | ||
MIN_STATEMENT_AMOUNT | NUMBER | Minimum statement amount before statements are printed | |||
MONTHLY_INTEREST_RATE | NUMBER | Interest rate defined for the customer at the statement site. When there is no statement site, the rate comes from the bill to site. | |||
SITE_CUSTOMER_PROFILE_ID | NUMBER | 18 | Site level profile identifier, foreign key reference to the AR_CUSTOMER_PROFILES table | ||
IS_IT_A_REPRINT | VARCHAR2 | 1 | Y if the statement has been reprinted, otherwise N | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
STATEMENT_CYCLE_ID | NUMBER | 18 | Identifier of the Statement Cycle | ||
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
REMIT_TO_ADDRESS_SEQ_ID | NUMBER | 18 | Yes | Remit-to address sequence identifier. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
AR_STATEMENTS_HISTORY_ALL | hz_cust_accounts | CUSTOMER_ID |
AR_STATEMENTS_HISTORY_ALL | hz_cust_acct_sites_all | SEND_TO_ADDRESS_ID |
AR_STATEMENTS_HISTORY_ALL | hz_cust_site_uses_all | SITE_USE_ID |
AR_STATEMENTS_HISTORY_ALL | ar_remit_to_locs_all | REMIT_TO_ADDRESS_SEQ_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
AR_STATEMENTS_HISTORY_N1 | Non Unique | Default | CUSTOMER_ID |