This fact table contains the line level information of sales order transactions to record items and services you promise to customers.
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. | ||||
| quantity | NUMBER | Number of items created in the line. | |||||
| subsidiary | NUMBER | 38 | 0 | Subsidiary identifier associated with this transaction. | DW_NS_subsidiary_D | id | |
| createdfrom | NUMBER | 38 | 0 | Transaction identifier of source transaction from which this transaction is created | DW_NS_SALES_ORDER_NEXT_LINK_F | previousdoc | |
| isfullyshipped | VARCHAR2 | 16 | Flag to indicate if the item in the transaction line is completely fulfilled. | ||||
| isclosed | VARCHAR2 | 16 | Flag to indicate if the record is closed. | ||||
| memo | VARCHAR2 | 999 | Textual description provided by transaction creators. | ||||
| department | NUMBER | 38 | 0 | Department identifier associated with transaction. | DW_NS_department_D | id | |
| estgrossprofitpercent | NUMBER | Percentage of expected profit for the item, at the transaction line. | |||||
| chargetype | NUMBER | 38 | 0 | Charge type identifier associated with items that are available to the primary subscription. | DW_NS_chargeType_D | id | |
| transactiondiscount | VARCHAR2 | 16 | Flag to indicates if the items are eligible for discounts, at the transaction line. | ||||
| entity | NUMBER | 38 | 0 | Entity identifier, Types could be Customer, Partner, Vendor, Employee. | DW_NS_entity_D | id | |
| 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 | ||
| itemfulfillmentchoice | NUMBER | 38 | 0 | Item fulfilment choice for an order i.e. Store Pickup/Ship. | DW_NS_fulfillmentChoice_D | key | |
| costestimaterate | NUMBER | Estimated Rate for the item, at the transaction line. | |||||
| quantitycommitted | NUMBER | Quantity agreed for the transaction line. In the Quantity Committed field, accept, increase, or reduce the number of items committed to each order. The total Quantity Committed of all orders cannot exceed the Quantity On Hand. | |||||
| units | NUMBER | 38 | 0 | Units used to measure the quantity. i.e Create a units type named Length, Then, create units for length (Inch/Foot/Yard). | DW_NS_unitsTypeUom_D | internalid | |
| mainline | VARCHAR2 | 16 | Flag to indicate if this line is the main line. | ||||
| dropship | VARCHAR2 | 16 | Flag to indicate transactionline for dropship items. | ||||
| 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 | |
| quantityallocated | NUMBER | Quantity allocated. | |||||
| billingschedule | NUMBER | 38 | 0 | Billing schedule identifier that defines how the bill for a transaction is relayed to the customer. | DW_NS_billingSchedule_D | id | |
| quantityshiprecv | NUMBER | Quantity Shipped/Received/Picked Up. | |||||
| inventorysubsidiary | NUMBER | 38 | 0 | Subsidiary identifier associated to inventory item. | DW_NS_subsidiary_D | id | |
| estgrossprofit | NUMBER | Estimated gross profit for the item, at the transaction line. | |||||
| quantitybackordered | NUMBER | Quantity of backorder. If an item there is still pending fulfillment but has no available quantity yet, it will add to its backorder quantity. | |||||
| netamount | NUMBER | Net amounts of the billable transaction lines. | |||||
| taxline | VARCHAR2 | 16 | Flag to indicate if the line is a tax line. | ||||
| quantityrequestedtofulfill | NUMBER | Quantity requested to fulfill. | |||||
| quantitypicked | NUMBER | Number of items that have been picked in sales orders/work orders and are waiting to be shipped. The number that you need to be fulfilling to complete sales/production. | |||||
| fulfillable | VARCHAR2 | 16 | Flag to indicate if the item is fulfillable. | ||||
| location | NUMBER | 38 | 0 | Location identifier associated with transaction. | DW_NS_location_D | id | |
| costestimatetype | VARCHAR2 | 64 | Cost estimate type identifier which determines what value NetSuite uses to calculate estimated Gross Profit. | ||||
| creditforeignamount | NUMBER | Credit foreign amount in transaction currency. | |||||
| debitforeignamount | NUMBER | Debit foreign amount in transaction currency. | |||||
| pricelevel | NUMBER | 38 | 0 | Price level identifier assigned to an item. | DW_NS_priceLevel_D | id | |
| inventoryreportinglocation | NUMBER | 38 | 0 | Location identifier of items included in the inventory report. | DW_NS_location_D | id | |
| quantitybilled | NUMBER | Number of billed transaction lines. | |||||
| costestimate | NUMBER | Total estimated cost of the transaction line. | |||||
| expenseaccount | NUMBER | 38 | 0 | Expense account identifier associated to transaction line. | DW_NS_account_D | id | |
| hasfulfillableitems | VARCHAR2 | 16 | Flag to indicate if transaction line item has fulfillable item. | ||||
| foreignamount | NUMBER | Amount associated with transaction line item in foreign transaction currency. | |||||
| inventorylocation | NUMBER | 38 | 0 | Customer location identifier that is allowed to fulfill orders from the customer subsidiary. | DW_NS_location_D | id | |
| linelastmodifieddate | TIMESTAMP | Date this transaction line was last modified. | |||||
| is_ratepercent | VARCHAR2 | 16 | Flag to identify if define rate is a percentage value or absolute value. | ||||
| shipmethod | NUMBER | 38 | 0 | Shipping methods which are being used for an order i.e. UPS, FedEx, Airborne. It can be defaulted at item level also. | DW_NS_ShipItem_D | id | |
| donotdisplayline | VARCHAR2 | 16 | Flag to identify the lines which are not supposed to be displayed. | ||||
| postingperiod | NUMBER | 38 | 0 | Period to which this transaction is posted. | DW_NS_accountingPeriod_D | id | |
| type | VARCHAR2 | 16 | Type of transaction. | DW_NS_STATUS_D | key | ||
| terms | NUMBER | 38 | 0 | Payment term identifier that apply to a transaction i.e. Discount terms for this transaction. | DW_NS_term_D | id | |
| currency | NUMBER | 38 | 0 | Transaction currency identifier. | DW_NS_currency_D | id | |
| otherrefnum | VARCHAR2 | 256 | Other reference number (manually entered). | ||||
| paymentmethod | NUMBER | 38 | 0 | Choose the payment method for the payment process that happens through cash, card, check etc. | DW_NS_paymentMethod_D | id | |
| trandate | TIMESTAMP | Date when a transaction occurred or was posted. Examples include when a sale or payment was made. | |||||
| paymentoption | NUMBER | 38 | 0 | Indicates the Payment option to pay the bill through cash, check, card etc. | DW_NS_paymentInstrument_D | id | |
| shippingaddress | NUMBER | 38 | 0 | Address identifier to which the item will be shipped. | DW_NS_transactionShippingAddress_D | nkey | |
| status | VARCHAR2 | 16 | Transaction status code, For example, Sales Order - Pending Approval, or Invoice - Paid In Full. | DW_NS_STATUS_D | code | ||
| employee | NUMBER | 38 | 0 | Employee identifier associated with transaction. | DW_NS_employee_D | id | |
| billingaddress | NUMBER | 38 | 0 | Billing address identifier where the entity receives their bills. | DW_NS_transactionBillingAddress_D | nkey | |
| closedate | TIMESTAMP | Date on which the transaction is closed. | |||||
| nextbilldate | TIMESTAMP | Next billing date refers to the date and time when a subscription is renewed and is payment collected. | |||||
| shipdate | TIMESTAMP | Date that the ordered item ready to ship. | |||||
| printedpickingticket | VARCHAR2 | 16 | Flag to indicate if the picking ticket has been printed. You can print a picking ticket for an order to indicate the items to pull from inventory to fulfill an order. | ||||
| ordpicked | VARCHAR2 | 16 | Flag to indicate if an order was picked. | ||||
| pickedupdate | TIMESTAMP | Date when the item is picked up. | |||||
| typebaseddocumentnumber | VARCHAR2 | 512 | Document number for type based numbered transactions like sales orders, invoices, journals, or purchase orders. | ||||
| posting | VARCHAR2 | 16 | Flag to indicate if the transaction is posted in general ledger. | ||||
| actualshipdate | TIMESTAMP | Date on which the Sales Order was actually shipped. | |||||
| lastmodifiedby | NUMBER | 38 | 0 | Entity identifier of the last person to edit a transaction. | DW_NS_entity_D | id | |
| shipcomplete | VARCHAR2 | 16 | Flag to indicate whether the shipment is complete. | ||||
| createddate | TIMESTAMP | Transaction creation date. | |||||
| billingstatus | VARCHAR2 | 16 | Billing status identifier to indicate where the transaction is in the payment workflow process. It is being used to manage bill approvals. | ||||
| lastmodifieddate | TIMESTAMP | Date when the transaction was last changed. | |||||
| iswip | VARCHAR2 | 16 | Flag to indicate if work order uses WIP (Work in Progress) instead of a standard assembly build. | ||||
| paymenthold | VARCHAR2 | 16 | Flag to identify if payment hold is placed on an order. | ||||
| 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. | ||||
| forinvoicegrouping | VARCHAR2 | 16 | Flag to identify if invoice is groupped. | ||||
| entity_group | NUMBER | 38 | 0 | The entity group identifier whose time was being recorded in the time transaction. | DW_NS_entityGroup_D | id | |
| customer | NUMBER | 38 | 0 | Customer identifier associated with the transaction. | |||
| account | NUMBER | 38 | 0 | Account identifier associated with a transaction. | DW_NS_account_D | id | |
| credit | NUMBER | Credit amount in transaction currency. | |||||
| debit | NUMBER | Debit amount in transaction currency. | |||||
| 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 | |
| rate | NUMBER | Price for a single unit for a specific item. | |||||
| base_rate | NUMBER | Price for a single unit for a specific item in base currency. | |||||
| base_costestimaterate | NUMBER | Estimated Rate for the item in base or subsidiary currency at the transaction line. | |||||
| base_estgrossprofit | NUMBER | Estimated Gross Profit for each line item in the transaction this is recorded in base or subsidiary currency. | |||||
| base_netamount | NUMBER | Net amounts of the billable transaction lines in base or subsidiary currency. | |||||
| base_amount | NUMBER | Transaction amount in base or subsidiary currency. | |||||
| base_creditamount | NUMBER | Credit amount in base or subsidiary currency. | |||||
| base_debitamount | NUMBER | Debit amount in base or subsidiary currency. | |||||
| base_costestimate | NUMBER | Total estimated cost of the transaction line in base or subsidiary currency. | |||||
| base_exchangerate | NUMBER | Exchange rate between subsidiary currency and transaction currency. | |||||
| 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.