# DW_NS_CUSTOMER_INVOICE_F

This fact table contains the header level information of transaction as a record of sale to a customer as Invoice transaction. Invoice transaction is for sales when payment for goods or services is not received at the time of delivery.

## Details

Module:

## Key Columns

id

## Columns

Columns
Name | Datatype | Length | Precision | Not Null | Comments | Referred Table | Referred Column
--- | --- | --- | --- | --- | --- | --- | ---
id | NUMBER | 38 | 0 | True | Transaction Identifier. |  |
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. |  |
totalcostestimate | NUMBER |  |  |  | Estimated cost of the specific number of items; estimated rate x quantity = estimated cost. |  |
estgrossprofit | NUMBER |  |  |  | Estimated gross profit of the transaction. |  |
posting | VARCHAR2 | 16 |  |  | Flag to indicate if this transaction is posting and therefore has General Ledger impact. |  |
foreignamountpaid | NUMBER |  |  |  | Amount paid in the foreign transaction currency. |  |
trandisplayname | VARCHAR2 | 999 |  |  | Name of transaction, which also contains the transaction type info. The name is a combination of transaction type and document number. |  |
estgrossprofitpercent | NUMBER |  |  |  | Estimated Gross Profit Percent which shows the percentage profit expected. |  |
lastmodifiedby | NUMBER | 38 | 0 |  | ID of the last entity who modified the transaction details. | DW_NS_entity_D | id
terms | NUMBER | 38 | 0 |  | Payment term identifier that apply to a transaction. E.g. Discount terms for this transaction. | DW_NS_term_D | id
billingstatus | VARCHAR2 | 16 |  |  | Billing Status shows where the billing document is in the payment workflow process. The workflow is designed to help you identify discrepancies between vendor bills you enter and their originating purchase order before payment is issued for the bill. |  |
shippingaddress | NUMBER | 38 | 0 |  | Address identifier to where the order will be sent to. | DW_NS_invoiceShippingAddress_D | nkey
status | VARCHAR2 | 16 |  |  | Read-only field that indicates the status identifier of the transaction. | DW_NS_STATUS_D | code
currency | NUMBER | 38 | 0 |  | Transaction currency identifier. | DW_NS_currency_D | id
duedate | TIMESTAMP |  |  |  | Date when the transaction (Purchase Order, Bill, Invoice) is due. |  |
employee | NUMBER | 38 | 0 |  | Employee identifier associated with the transaction. | DW_NS_employee_D | id
foreigntotal | NUMBER |  |  |  | Total amount for a transaction in the transaction's currency, for transactions which include a total amount. |  |
postingperiod | NUMBER | 38 | 0 |  | Period identifier to which this transaction is posted. | DW_NS_accountingPeriod_D | id
closedate | TIMESTAMP |  |  |  | Date on which the transaction is closed. |  |
billingaccount | NUMBER | 38 | 0 |  | Billing account identifier where the entity receives their bills. | DW_NS_billingAccount_D | id
type | VARCHAR2 | 16 |  |  | Transaction type. | DW_NS_STATUS_D | key
transactionnumber | VARCHAR2 | 128 |  |  | The internal transaction number for a transaction. This number is assigned to each transaction by NetSuite and is not editable. |  |
billingaddress | NUMBER | 38 | 0 |  | Billing address identifier where the entity receives their bills. | DW_NS_invoiceBillingAddress_D | nkey
otherrefnum | VARCHAR2 | 256 |  |  | Other reference number (manually entered). |  |
entity | NUMBER | 38 | 0 |  | Entity identifier, Types could be Customer, Partner, Vendor, Employee. | DW_NS_entity_D | id
createdby | NUMBER | 38 | 0 |  | Transaction creator identifier. | DW_NS_entity_D | id
lastmodifieddate | TIMESTAMP |  |  |  | Last Modification Date. |  |
shipdate | TIMESTAMP |  |  |  | Date you expect the items to be shipped. |  |
memo | VARCHAR2 | 999 |  |  | Textual description provided by transaction creators. |  |
typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the transaction, which also contains the transaction type info. (eg. SO25). |  |
trandate | TIMESTAMP |  |  |  | Posting or occurring date of this transaction. |  |
isbookspecific | VARCHAR2 | 16 |  |  | Flag to Indicate if the transaction is a book specific and not book generic. |  |
foreignamountunpaid | NUMBER |  |  |  | Amount which has not been paid in the foreign transaction currency. |  |
createddate | TIMESTAMP |  |  |  | Transaction creation date. |  |
asofdate | TIMESTAMP |  |  |  | As-of Date determines the list of charges added to the transaction, but it does not impact the general ledger or invoice due date. For example, there may be an as-of date that is after the invoice date when you want to capture charges that will post after the invoice date. |  |
approvalstatus | NUMBER | 38 | 0 |  | Transaction approval status identifier. | DW_NS_ApprovalStatus_D | id
tranid | VARCHAR2 | 128 |  |  | The document number for a transaction. Examples include invoice numbers on an invoice, entry numbers on a journal entry, or reference numbers on vendor bills. |  |
enddate | TIMESTAMP |  |  |  | Transaction end date: the date the project is finished. |  |
base_totalcostestimate | NUMBER |  |  |  | Recognized revenue of the transaction which is recorded in base or subsidiary currency. |  |
base_amountunpaid | NUMBER |  |  |  | Amount unpaid which is recorded in base or subsidiary currency. |  |
base_amountpaid | NUMBER |  |  |  | Amount paid which is recorded in base or subsidiary currency. |  |
base_total | NUMBER |  |  |  | Total transaction amount which is recorded in base or subsidiary currency. |  |
base_estgrossprofit | NUMBER |  |  |  | Estimated Gross Profit for the transaction which is recorded in base or subsidiary currency. |  |
isfinchrg | VARCHAR2 | 16 |  |  | Flag to identify financial charge. |  |
forinvoicegrouping | VARCHAR2 | 16 |  |  | Flag to identify if invoice is groupped. |  |
groupedto | NUMBER | 38 | 0 |  | The invoice group number. | DW_NS_InvoiceGroup_D | id
source | VARCHAR2 | 128 |  |  | Name of source which is used to enter the transaction i.e. CSV, Internet. |  |
entity_group | NUMBER | 38 | 0 |  | The entity group identifier whose time was being recorded in the time transaction. | DW_NS_entityGroup_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
location | NUMBER | 38 | 0 |  | Location Identifier. | DW_NS_location_D | id
department | NUMBER | 38 | 0 |  | Department identifier. Departments are categories that you can create to separate and track records such as financials, transactions, and employees. | DW_NS_department_D | id
shipmethod | NUMBER | 38 | 0 |  | Shipping Method. | DW_NS_ShipItem_D | id
subsidiary | NUMBER | 38 | 0 |  | Subsidiary identifier associated with this transaction. | DW_NS_subsidiary_D | id
base_currency | NUMBER | 38 | 0 |  | Subsidiary currency identifier. | DW_NS_currency_D | id
base_exchangerate | NUMBER |  |  |  | Currency conversion rate between transaction and base or subsidiary currency. |  |

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