# DW_NS_PURCHASE_CONTRACT_LINES_F

This fact table contains the line level information of purchase contract that defines the purchasing and supply of goods and services at agreed prices and terms.

## Details

Module:

## Key Columns

transaction, accountingbook, id

## Columns

Columns
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. | DW_NS_PURCHASE_CONTRACT_NEXT_LINK_F | nextdoc
id | NUMBER | 38 | 0 | True | Transaction line identifier. | DW_NS_PURCHASE_CONTRACT_NEXT_LINK_F | nextline
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. |  |
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
entity | NUMBER | 38 | 0 |  | Entity identifier, Types could be Customer, Partner, Vendor, Employee. | DW_NS_entity_D | id
mainline | VARCHAR2 | 16 |  |  | Flag to indicate if this line is the main line. |  |
iscogs | VARCHAR2 | 16 |  |  | Flag to indicate if the item cost posted to COGS (Cost of Goods Sold) account. |  |
memo | VARCHAR2 | 999 |  |  | Textual description provided by transaction creators. |  |
subsidiary | NUMBER | 38 | 0 |  | Subsidiary identifier associated with this transaction. | DW_NS_subsidiary_D | id
commitinventory | NUMBER | 38 | 0 |  | Flag to indicate if this line item has made any impact on inventory or not. | DW_NS_InvtCommit_D | key
item | NUMBER | 38 | 0 |  | Identifier of an item used in transaction line. | DW_NS_item_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
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
department | NUMBER | 38 | 0 |  | Department identifier associated with transaction. | DW_NS_department_D | id
inventorylocation | NUMBER | 38 | 0 |  | Customer location identifier that is allowed to fulfill orders from the customer subsidiary. | DW_NS_location_D | id
inventoryreportinglocation | NUMBER | 38 | 0 |  | Location identifier of items included in the inventory report. | DW_NS_location_D | id
linelastmodifieddate | TIMESTAMP |  |  |  | Date this transaction line was last modified. |  |
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
inventorysubsidiary | NUMBER | 38 | 0 |  | Subsidiary identifier associated to inventory item. | DW_NS_subsidiary_D | id
porate | NUMBER |  |  |  | Rate of an item defined in purchase order. |  |
is_ratepercent | VARCHAR2 | 16 |  |  | Flag to identify if define rate is a percentage value or absolute value. |  |
currency | NUMBER | 38 | 0 |  | Transaction currency identifier. | DW_NS_currency_D | id
trandate | TIMESTAMP |  |  |  | Date when a transaction occurred or was posted. Examples include when a sale or payment was made. |  |
approvalstatus | NUMBER | 38 | 0 |  | Transaction approval status identifier. | DW_NS_ApprovalStatus_D | id
effectivitybasedon | VARCHAR2 | 64 |  |  | Date for purchase contract applicability on any purchase order, i.e Order Date or Expected Receipt Date. |  |
postingperiod | NUMBER | 38 | 0 |  | Period to which this transaction is posted. | DW_NS_accountingPeriod_D | id
status | VARCHAR2 | 16 |  |  | Transaction status code, For example, Sales Order - Pending Approval, or Invoice - Paid In Full. | DW_NS_STATUS_D | code
lastmodifiedby | NUMBER | 38 | 0 |  | Entity identifier of the last person to edit a transaction. | DW_NS_entity_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
employee | NUMBER | 38 | 0 |  | Employee identifier associated with transaction. | DW_NS_employee_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. |  |
createdby | NUMBER | 38 | 0 |  | Transaction creator identifier. | DW_NS_entity_D | id
incoterm | NUMBER | 38 | 0 |  | Standardized three-letter trade term used on transactions related to international commercial procurement practices. | DW_NS_IncoTerm_D | id
nextapprover | NUMBER | 38 | 0 |  | Entity Indentifier of the next person required to approve an expense report or time transaction. | DW_NS_entity_D | id
type | VARCHAR2 | 16 |  |  | Type of transaction. | DW_NS_STATUS_D | key
typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Document number for type based numbered transactions like sales orders, invoices, journals, or purchase orders. |  |
vendor | NUMBER | 38 | 0 |  | Entity identifier of this person or company. | DW_NS_vendor_D | id
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_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. |  |

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