This fact table contains the line level information for sales based commission paid to sales representatives and partners.
Module:
transaction, id, accountingbook
| Name | Datatype | Length | Precision | Not Null | Comments | Referred Table | Referred Column |
|---|---|---|---|---|---|---|---|
| transaction | NUMBER | 38 | 0 | True | The transaction identifier to which a transaction line belongs to. | ||
| id | NUMBER | 38 | 0 | True | Transaction line identifier. | ||
| 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. | ||||
| subsidiary | NUMBER | 38 | 0 | Subsidiary identifier associated with this transaction. | DW_NS_subsidiary_D | id | |
| taxline | VARCHAR2 | 16 | Flag to indicate if the line is a tax line. | ||||
| creditforeignamount | NUMBER | Credit foreign amount in transaction currency. | |||||
| foreignamountpaid | NUMBER | Amount paid (at the transaction line) in the foreign transaction currency. | |||||
| foreignamountunpaid | NUMBER | Amount unpaid (at the transaction line) in the foreign transaction currency. | |||||
| netamount | NUMBER | Net amounts of the billable transaction lines. | |||||
| department | NUMBER | 38 | 0 | Department identifier associated with transaction. | DW_NS_department_D | id | |
| fxamountlinked | NUMBER | Amount of linked payments (with bills) in the foreign transaction currency. | |||||
| 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 associated with transaction. | DW_NS_location_D | id | |
| expenseaccount | NUMBER | 38 | 0 | Expense account identifier associated to transaction line. | DW_NS_account_D | id | |
| foreignamount | NUMBER | Amount associated with transaction line item in foreign transaction currency. | |||||
| debitforeignamount | NUMBER | Debit foreign amount in transaction currency. | |||||
| linesequencenumber | NUMBER | 38 | 0 | Line sequence number. | |||
| costestimatetype | VARCHAR2 | 64 | Cost estimate type identifier which determines what value NetSuite uses to calculate estimated Gross Profit. | ||||
| mainline | VARCHAR2 | 16 | Flag to indicate if this line is the main line. | ||||
| memo | VARCHAR2 | 999 | Textual description provided by transaction creators. | ||||
| linelastmodifieddate | TIMESTAMP | Date this transaction line was last modified. | |||||
| partner | NUMBER | 38 | 0 | A partner is a company you have a business agreement with who is not a customer or a vendor. | DW_NS_Partner_D | id | |
| trandate | TIMESTAMP | Date when a transaction occurred or was posted. Examples include when a sale or payment was made. | |||||
| posting | VARCHAR2 | 16 | Flag to indicate if the transaction is posted in general ledger. | ||||
| createdby | NUMBER | 38 | 0 | Transaction creator identifier. | DW_NS_entity_D | id | |
| trandisplayname | VARCHAR2 | 999 | Name of transaction, which also contains the transaction type info. The name is a combination of transaction type and document number. | ||||
| createddate | TIMESTAMP | Transaction creation date. | |||||
| postingperiod | NUMBER | 38 | 0 | Period to which this transaction is posted. | DW_NS_accountingPeriod_D | id | |
| closedate | TIMESTAMP | Date on which the transaction is closed. | |||||
| currency | NUMBER | 38 | 0 | Transaction currency identifier. | DW_NS_currency_D | id | |
| status | VARCHAR2 | 16 | Transaction status code, For example, Sales Order - Pending Approval, or Invoice - Paid In Full. | DW_NS_STATUS_D | code | ||
| duedate | TIMESTAMP | Due date the transaction, These transactions includes estimates, customer invoice, vendor bill, employee expense reports. | |||||
| lastmodifieddate | TIMESTAMP | Date when the transaction was last changed. | |||||
| lastmodifiedby | NUMBER | 38 | 0 | Entity identifier of the last person to edit a transaction. | DW_NS_entity_D | id | |
| type | VARCHAR2 | 16 | Type of transaction. | 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. | ||||
| typebaseddocumentnumber | VARCHAR2 | 512 | Document number for type based numbered transactions like sales orders, invoices, journals, or purchase orders. | ||||
| account | NUMBER | 38 | 0 | Account identifier associated with a transaction. | DW_NS_account_D | id | |
| employee | NUMBER | 38 | 0 | Employee identifier associated with transaction. | DW_NS_employee_D | id | |
| is_employee_commissn | VARCHAR2 | 16 | Flag to identify employee commission. | ||||
| is_partner_commissn | VARCHAR2 | 16 | Flag to identify partner commission. | ||||
| accountingbook_credit | NUMBER | Credit amount in accounting book currency. | |||||
| accountingbook_debit | NUMBER | Debit 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_exchangerate | NUMBER | Exchange rate between subsidiary currency and transaction currency. | |||||
| base_creditamount | NUMBER | Credit amount in base or subsidiary currency. | |||||
| base_amountlinked | NUMBER | Amount of linked payments (with bills) in base or subsidiary currency for each line item. | |||||
| base_amount | NUMBER | Transaction amount in base or subsidiary currency. | |||||
| base_debitamount | NUMBER | Debit amount in base or subsidiary currency. | |||||
| base_amountunpaid | NUMBER | Amount unpaid which is recorded in base or subsidiary currency for each line item. | |||||
| base_netamount | NUMBER | Net amounts of the billable transaction lines in base or subsidiary currency. | |||||
| base_amountpaid | NUMBER | Amount paid which is recorded in base or subsidiary currency for each line item. | |||||
| accountingbook_currency | NUMBER | 38 | 0 | Currency identifier of the accounting book. | DW_NS_currency_D | id | |
| accountingbook_exchangerate | NUMBER | Exchange rate between accounting book currency and transaction currency. | |||||
| accountingbook_amount | NUMBER | Transaction line amount in accounting book currency. | |||||
| accountingbook_netamount | NUMBER | Net amounts of the billable transaction lines in accounting book currency. |
Copyright © 2019, 2025, Oracle and/or its affiliates.