# DW_NS_CUSTOMER_INVOICE_LINES_EF

This extended fact stores line level links of customer invoices and it's associated sales order, Estimate and Opportunity transactions.

## Details

Module:

## Key Columns

custinvc_lineid, custinvc_id, accountingbook

## Columns

Columns
Name | Datatype | Length | Precision | Not Null | Comments | Referred Table | Referred Column
--- | --- | --- | --- | --- | --- | --- | ---
custinvc_id | NUMBER | 38 | 0 | True | Transaction identifier of Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | transaction
custinvc_id | NUMBER | 38 | 0 | True | Transaction identifier of associated Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | transaction
custinvc_lineid | NUMBER | 38 | 0 | True | Transaction Line identifier of Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | id
custinvc_lineid | NUMBER | 38 | 0 | True | Transaction Line identifier of associated Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | id
accountingbook | NUMBER | 38 | 0 | True | Accounting Book Identifier. | DW_NS_accountingBook_D | id
SOURCE_RECORD_ID | VARCHAR2 | 999 |  |  | This column is for Oracle Internal use only. Composite key that consists of all PK values of the transaction. This consists combination of columns that defines the granularity of the table and identifies a row uniquely. |  |
type | VARCHAR2 | 16 |  |  | Type of transaction. | DW_NS_STATUS_D | key
trandisplayname | VARCHAR2 | 999 |  |  | Name of transaction, which also contains the transaction type info. The name is a combination of transaction type and document number. |  |
typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the Invoice, which also contains the transaction type info. (eg. INV25). |  |
trandate | TIMESTAMP |  |  |  | Date when a transaction occurred or was posted. |  |
duedate | TIMESTAMP |  |  |  | Due date of the Invoice transaction. |  |
closedate | TIMESTAMP |  |  |  | Date on which the transaction is closed. |  |
customer | NUMBER | 38 | 0 |  | Customer identifier associated with the transaction. | DW_NS_customer_D | id
entity | NUMBER | 38 | 0 |  | Entity identifier. | DW_NS_entity_D | id
subsidiary | NUMBER | 38 | 0 |  | Subsidiary identifier associated with this transaction. | DW_NS_subsidiary_D | id
location | NUMBER | 38 | 0 |  | Location identifier associated with transaction. | DW_NS_location_D | id
class | NUMBER | 38 | 0 |  | Class identifier. Classes are categories that can be created to track records such as financials, transactions, and employees. For example, a company own a janitorial service and want to track income and expenses separately for household and commercial accounts. In this case class can be set up for each account type to track the financial performance of each class over any time period. | DW_NS_classification_D | id
department | NUMBER | 38 | 0 |  | Department identifier associated with transaction. | DW_NS_department_D | id
terms | NUMBER | 38 | 0 |  | Payment term identifier that apply to a transaction i.e. Discount terms for this transaction. | DW_NS_term_D | id
status | VARCHAR2 | 16 |  |  | Transaction status code, For example, Sales Order - Pending Approval, or Invoice - Paid In Full. | DW_NS_STATUS_D | code
iscogs | VARCHAR2 | 16 |  |  | Flag to indicate if the item cost posted to COGS (Cost of Goods Sold) account. |  |
isinventoryaffecting | VARCHAR2 | 16 |  |  | Flag to indicate if the transaction affects the inventory levels of an item. |  |
transactiondiscount | VARCHAR2 | 16 |  |  | Flag to indicates if the items are eligible for discounts, at the transaction line. |  |
mainline | VARCHAR2 | 16 |  |  | Flag to indicate if this line is the main line. |  |
taxline | VARCHAR2 | 16 |  |  | Flag to indicate if the line is a tax line. |  |
isfinchrg | VARCHAR2 | 16 |  |  | Flag to indicate if the Customer Invoice is a Finance Charge. |  |
item | NUMBER | 38 | 0 |  | Identifier of an item used in transaction line. | DW_NS_item_D | id
itemtype | VARCHAR2 | 32 |  |  | Item type identifier which defines the content of an item and the information that is stored about an item. | DW_NS_ITEMTYPE_D | id
quantity | NUMBER |  |  |  | Number of items created in the line. |  |
posting | VARCHAR2 | 16 |  |  | Flag to indicate if the transaction is posted in general ledger. |  |
postingperiod | NUMBER | 38 | 0 |  | Period to which this transaction is posted. | DW_NS_accountingPeriod_D | id
account | NUMBER | 38 | 0 |  | Account identifier associated with a transaction. | DW_NS_account_D | id
accountingbook_currency | NUMBER | 38 | 0 |  | Currency identifier of the accounting book. | DW_NS_currency_D | id
accountingbook_debit | NUMBER |  |  |  | Debit amount in accounting book currency. |  |
accountingbook_credit | NUMBER |  |  |  | Credit amount in accounting book currency. |  |
accountingbook_amount | NUMBER |  |  |  | Transaction line amount in accounting book currency. |  |
base_currency | NUMBER | 38 | 0 |  | Subsidiary currency identifier of transaction initiating subsidiary, It should be same for all lines for any transaction. | DW_NS_currency_D | id
base_debitamount | NUMBER |  |  |  | Debit amount in base or subsidiary currency. |  |
base_creditamount | NUMBER |  |  |  | Credit amount in base or subsidiary currency. |  |
base_amount | NUMBER |  |  |  | Transaction amount in base or subsidiary currency. |  |
currency | NUMBER | 38 | 0 |  | Transaction currency identifier. | DW_NS_currency_D | id
debitforeignamount | NUMBER |  |  |  | Debit foreign amount in transaction currency. |  |
creditforeignamount | NUMBER |  |  |  | Credit foreign amount in transaction currency. |  |
foreignamount | NUMBER |  |  |  | Amount associated with transaction line item in foreign transaction currency. |  |
salesord_id | NUMBER | 38 | 0 |  | Transaction identifier of associated Sales Order. | DW_NS_SALES_ORDER_LINES_F | transaction
salesord_lineid | NUMBER | 38 | 0 |  | Transaction Line identifier of associated Sales Order. | DW_NS_SALES_ORDER_LINES_F | id
salesord_trandate | TIMESTAMP |  |  |  | Posting or occurring date of the associated Sales Order. |  |
salesord_trandisplayname | VARCHAR2 | 999 |  |  | Display name of associated Sales Order. |  |
salesord_typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the associated Estimate, which also contains the transaction type info. (eg. SO25). |  |
salesord_type | VARCHAR2 | 16 |  |  | Transaction Type of associated Sales Order. | DW_NS_STATUS_D | key
salesord_status | VARCHAR2 | 16 |  |  | Status identifier of associated Sales Order. | DW_NS_STATUS_D | code
is_direct_estimate | VARCHAR2 | 16 |  |  | Flag which indicates if a transaction has any directly associated Estimate. |  |
estimate_id | NUMBER | 38 | 0 |  | Transaction identifier of associated Estimate. | DW_NS_ESTIMATE_F | id
estimate_trandate | TIMESTAMP |  |  |  | Posting or occurring date of the associated Estimate. |  |
estimate_trandisplayname | VARCHAR2 | 999 |  |  | Display name of associated Estimate. |  |
estimate_typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the associated Estimate, which also contains the transaction type info. (eg. EST25). |  |
estimate_type | VARCHAR2 | 16 |  |  | Transaction Type of associated Estimate. | DW_NS_STATUS_D | key
estimate_status | VARCHAR2 | 16 |  |  | Status identifier of associated Estimate. | DW_NS_STATUS_D | code
is_direct_opprtnty | VARCHAR2 | 16 |  |  | Flag which indicates if a transaction has any directly associated Opportunity. |  |
opprtnty_id | NUMBER | 38 | 0 |  | Transaction identifier of associated Opportunity. | DW_NS_OPPORTUNITY_F | id
opprtnty_trandate | TIMESTAMP |  |  |  | Posting or occurring date of the associated Opportunity. |  |
opprtnty_trandisplayname | VARCHAR2 | 999 |  |  | Display name of associated Opportunity. |  |
opprtnty_typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the associated Opportunity, which also contains the transaction type info. (eg. OP25). |  |
opprtnty_type | VARCHAR2 | 16 |  |  | Transaction Type of associated Opportunity. | DW_NS_STATUS_D | key
opprtnty_status | VARCHAR2 | 16 |  |  | Status identifier of associated Opportunity. | DW_NS_STATUS_D | code

Copyright © 2019, 2025, Oracle and/or its affiliates.