This fact table captures sales team contribution information across supported NetSuite sales transactions, including Sales Orders, Invoices, Cash Sales, Cash Refunds, Credit Memos, and Return Authorizations. It provides a unified view of sales team performance across the entire sales lifecycle, from sales bookings and revenue to returns, making it easy to measure contributions, evaluate performance, and build comprehensive sales reports and analytics.
Module:
transactionline, employee, transaction, accountingbook
| Name | Datatype | Length | Precision | Not Null | Comments | Referred Table | Referred Column |
|---|---|---|---|---|---|---|---|
| transaction | NUMBER | 38 | 0 | True | Transaction | ||
| transactionline | NUMBER | 38 | 0 | True | Transaction Line | ||
| accountingbook | NUMBER | 38 | 0 | True | Accounting Book | DW_NS_accountingBook_D | id |
| employee | NUMBER | 38 | 0 | True | Sales Rep Employee | DW_NS_employee_D | id |
| SOURCE_RECORD_ID | VARCHAR2 | 999 | This column is for Oracle Internal use only. This is source record id column | ||||
| salesrole | NUMBER | 38 | 0 | Sales Role | DW_NS_salesRole_D | id | |
| isprimary | VARCHAR2 | 16 | Is Primary Sales Rep | ||||
| transactiontype | VARCHAR2 | 16 | Transaction Type | DW_NS_STATUS_D | key | ||
| trandate | TIMESTAMP | Transaction Date | |||||
| trandisplayname | VARCHAR2 | 999 | Transaction Display Name | ||||
| typebaseddocumentnumber | VARCHAR2 | 512 | Type Based Document Number | ||||
| transactionstatus | VARCHAR2 | 16 | Transaction Status | DW_NS_STATUS_D | code | ||
| subsidiary | NUMBER | 38 | 0 | Subsidiary | DW_NS_subsidiary_D | id | |
| class | NUMBER | 38 | 0 | Class | DW_NS_classification_D | id | |
| department | NUMBER | 38 | 0 | Department | DW_NS_department_D | id | |
| location | NUMBER | 38 | 0 | Location | DW_NS_location_D | id | |
| customer | NUMBER | 38 | 0 | Customer | DW_NS_customer_D | id | |
| item | NUMBER | 38 | 0 | Item | DW_NS_item_D | id | |
| itemtype | VARCHAR2 | 32 | Item Type | DW_NS_ITEMTYPE_D | id | ||
| memo | VARCHAR2 | 999 | Memo | ||||
| posting | VARCHAR2 | 16 | Posting Flag | ||||
| postingperiod | NUMBER | 38 | 0 | Posting Period | DW_NS_accountingPeriod_D | id | |
| accountingbook_currency | NUMBER | 38 | 0 | Accountingbook Currency | DW_NS_currency_D | id | |
| accountingbook_amount | NUMBER | Accountingbook Amount | |||||
| accountingbook_netamount | NUMBER | Accountingbook Net Amount | |||||
| contribution_ratio | NUMBER | Sales Rep Contribution | |||||
| contribution_amount | NUMBER | Sales Rep Contribution Amount | |||||
| contribution_netamount | NUMBER | Sales Rep Contribution Net Amount |
Copyright © 2019, 2026, Oracle and/or its affiliates.