AR_CONS_INV_ALL
The AR_CONS_INV_ALL table stores information about balance forward billing, including invoice numbers, customer balances, and due dates. A balance forward bill is sent to a customer containing all invoices created during a period such as one month. When you run the Generate Balance Forward Billing process the information about the bill is stored in this table.
Details
-
Schema: FUSION
-
Object owner: AR
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
AR_CONS_INV_PK |
CONS_INV_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
CONS_INV_ID | NUMBER | 18 | Yes | Identifies the balance forward bill determined by AR_CONS_INV_ALL sequence. | |
CONS_BILLING_NUMBER | VARCHAR2 | 30 | Yes | Consolidated billing invoice number | |
CUSTOMER_ID | NUMBER | 18 | Yes | Customer identifier | |
SITE_USE_ID | NUMBER | 18 | Yes | Customer bill-to site identifier | |
CONCURRENT_REQUEST_ID | NUMBER | 18 | Identifies concurrent request that generated consolidated billing invoice | ||
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CONS_INV_TYPE | VARCHAR2 | 30 | Yes | Lookup code for balance forward bill type in AR_LOOKUPS. Values are Summary or Detail. | |
STATUS | VARCHAR2 | 30 | Yes | Lookup code for balance forward bill status in AR_LOOKUPS. Values are Draft, Accepted, or Rejected. | |
PRINT_STATUS | VARCHAR2 | 30 | Yes | Lookup code for document print status in the AR_LOOKUPS table, Pending or Printed | |
TERM_ID | NUMBER | 18 | Payment terms code identifier | ||
ISSUE_DATE | DATE | Yes | Date that consolidated billing invoice was generated | ||
CUT_OFF_DATE | DATE | Consolidated billing invoice cut-off date | |||
DUE_DATE | DATE | Consolidated billing invoice due date | |||
CURRENCY_CODE | VARCHAR2 | 15 | Currency code | ||
BEGINNING_BALANCE | NUMBER | Customer balance due at beginning of period, or ending balance of prior consolidated billing invoice | |||
ENDING_BALANCE | NUMBER | Customer balance at end of period | |||
ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
START_DATE | DATE | Billing period start date for the consolidated billing invoice | |||
BILLING_DATE | DATE | Billing date for balance forward transactions | |||
BILL_LEVEL_FLAG | VARCHAR2 | 1 | Indicates billing level: A for account, S for site | ||
TOTAL_RECEIPTS_AMT | NUMBER | Sum of all receipts | |||
TOTAL_ADJUSTMENTS_AMT | NUMBER | Sum of all adjustments | |||
TOTAL_CREDITS_AMT | NUMBER | Sum of all credits | |||
TOTAL_FINANCE_CHARGES_AMT | NUMBER | Sum of all late charges. | |||
TOTAL_TRX_AMT | NUMBER | Sum of all transactions | |||
TOTAL_TAX_AMT | NUMBER | Sum of all tax | |||
UNPAID_REASON | VARCHAR2 | 30 | Reason why bill is not paid | ||
AGING_BUCKET1_AMT | NUMBER | Unpaid amount in first aging bucket. | |||
AGING_BUCKET2_AMT | NUMBER | Unpaid amount in second aging bucket. | |||
AGING_BUCKET3_AMT | NUMBER | Unpaid amount in third aging bucket. | |||
AGING_BUCKET4_AMT | NUMBER | Unpaid amount in fourth aging bucket. | |||
AGING_BUCKET5_AMT | NUMBER | Unpaid amount in fifth aging bucket. | |||
AGING_BUCKET6_AMT | NUMBER | Unpaid amount in sixth aging bucket. | |||
AGING_BUCKET7_AMT | NUMBER | Unpaid amount in seventh aging bucket. | |||
LAST_BILLING_DATE | DATE | Previous billing date for balance forward | |||
BILLING_CYCLE_ID | NUMBER | 18 | Billing cycle identifier | ||
REMIT_TO_ADDRESS_ID | NUMBER | 18 | Remit-to address identifier | ||
LAST_CHARGE_DATE | DATE | Last Date on which late charge was computed on this bill | |||
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 | Remit-to address sequence identifier. | ||
BFB_TEMPLATE_NAME | VARCHAR2 | 240 | This column stores template used to deliver balance forward bills. This template is also used to preview the balance forward bill through the UI. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
AR_CONS_INV_ALL | hz_cust_site_uses_all | SITE_USE_ID |
AR_CONS_INV_ALL | hz_cust_accounts | CUSTOMER_ID |
AR_CONS_INV_ALL | ra_terms_b | TERM_ID |
AR_CONS_INV_ALL | ra_remit_tos_all | REMIT_TO_ADDRESS_SEQ_ID |
AR_CONS_INV_ALL | ar_cons_bill_cycles_b | BILLING_CYCLE_ID |
ar_cons_inv_trx_all | ar_cons_inv_all | CONS_INV_ID |
ar_adjustments_all | ar_cons_inv_all | CONS_INV_ID |
ar_cash_reco_lines_all | ar_cons_inv_all | CONS_INV_ID |
ar_automatch_trx_t | ar_cons_inv_all | CONS_INV_ID |
ar_payment_schedules_all | ar_cons_inv_all | CONS_INV_ID |
ar_payment_schedules_all | ar_cons_inv_all | CONS_INV_ID_REV |
ar_cons_inv_trx_lines_all | ar_cons_inv_all | CONS_INV_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
AR_CONS_INV_N1 | Non Unique | Default | CUSTOMER_ID, SITE_USE_ID, CUT_OFF_DATE |
AR_CONS_INV_N2 | Non Unique | Default | CONS_BILLING_NUMBER |
AR_CONS_INV_N3 | Non Unique | Default | SITE_USE_ID, CUT_OFF_DATE, CURRENCY_CODE |
AR_CONS_INV_U1 | Unique | Default | CONS_INV_ID |
AR_CONS_INV_N4 | Non Unique | Default | CONCURRENT_REQUEST_ID |