# DW_NS_RETURN_AUTH_LINES_EF

This extended fact stores all the return authorization transactions and its associated Sales Orders, Cash Sales and Customer Invoices at line level.

## Details

Module:

## Key Columns

accountingbook, rtnauth_lineid, rtnauth_id

## Columns

Columns
Name | Datatype | Length | Precision | Not Null | Comments | Referred Table | Referred Column
--- | --- | --- | --- | --- | --- | --- | ---
rtnauth_id | NUMBER | 38 | 0 | True | Transaction identifier of Return Authorization. | DW_NS_RETURN_AUTH_LINES_F | transaction
rtnauth_lineid | NUMBER | 38 | 0 | True | Transaction Line identifier of Return Authorization. | DW_NS_RETURN_AUTH_LINES_F | id
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. |  |
type | VARCHAR2 | 16 |  |  | Type of transaction. | DW_NS_STATUS_D | key
trandisplayname | VARCHAR2 | 999 |  |  | Name of transaction, which also contains the transaction type info. The name is a combination of transaction type and document number. |  |
typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the Invoice, which also contains the transaction type info. (eg. INV25). |  |
trandate | TIMESTAMP |  |  |  | Date when a transaction occurred or was posted. |  |
closedate | TIMESTAMP |  |  |  | Date on which the transaction is closed. |  |
customer | NUMBER | 38 | 0 |  | Customer identifier associated with the transaction. | DW_NS_customer_D | id
entity | NUMBER | 38 | 0 |  | Entity identifier. | DW_NS_entity_D | id
subsidiary | NUMBER | 38 | 0 |  | Subsidiary identifier associated with this transaction. | DW_NS_subsidiary_D | id
location | NUMBER | 38 | 0 |  | Location identifier associated with transaction. | DW_NS_location_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
department | NUMBER | 38 | 0 |  | Department identifier associated with transaction. | DW_NS_department_D | id
status | VARCHAR2 | 16 |  |  | Transaction status code, For example, Sales Order - Pending Approval, or Invoice - Paid In Full. | DW_NS_STATUS_D | code
transactiondiscount | VARCHAR2 | 16 |  |  | Flag to indicates if the items are eligible for discounts, at the transaction line. |  |
mainline | VARCHAR2 | 16 |  |  | Flag to indicate if this line is the main line. |  |
taxline | VARCHAR2 | 16 |  |  | Flag to indicate if the line is a tax line. |  |
posting | VARCHAR2 | 16 |  |  | Flag to indicate if the transaction is posted in general ledger. |  |
postingperiod | NUMBER | 38 | 0 |  | Period to which this transaction is posted. | DW_NS_accountingPeriod_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
quantity | NUMBER |  |  |  | Number of items created in the line. |  |
account | NUMBER | 38 | 0 |  | Account identifier associated with a transaction. | DW_NS_account_D | id
accountingbook_currency | NUMBER | 38 | 0 |  | Currency identifier of the accounting book. | DW_NS_currency_D | id
accountingbook_debit | NUMBER |  |  |  | Debit amount in accounting book currency. |  |
accountingbook_credit | NUMBER |  |  |  | Credit amount in accounting book currency. |  |
accountingbook_amount | NUMBER |  |  |  | Transaction line 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_debitamount | NUMBER |  |  |  | Debit amount in base or subsidiary currency. |  |
base_creditamount | NUMBER |  |  |  | Credit amount in base or subsidiary currency. |  |
base_amount | NUMBER |  |  |  | Transaction amount in base or subsidiary currency. |  |
currency | NUMBER | 38 | 0 |  | Transaction currency identifier. | DW_NS_currency_D | id
debitforeignamount | NUMBER |  |  |  | Debit foreign amount in transaction currency. |  |
creditforeignamount | NUMBER |  |  |  | Credit foreign amount in transaction currency. |  |
foreignamount | NUMBER |  |  |  | Amount associated with transaction line item in foreign transaction currency. |  |
is_createdfrom_custinvc | VARCHAR2 | 16 |  |  | Flag which indicates if the Return has been created from Customer Invoice. |  |
custinvc_id | NUMBER | 38 | 0 |  | Transaction identifier of Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | transaction
custinvc_id | NUMBER | 38 | 0 |  | Transaction identifier of associated Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | transaction
custinvc_lineid | NUMBER | 38 | 0 |  | Transaction Line identifier of Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | id
custinvc_lineid | NUMBER | 38 | 0 |  | Transaction Line identifier of associated Customer Invoice. | DW_NS_CUSTOMER_INVOICE_LINES_F | id
custinvc_trandate | TIMESTAMP |  |  |  | Posting or occurring date of the associated Customer Invoice. |  |
custinvc_trandisplayname | VARCHAR2 | 999 |  |  | Display name of associated Customer Invoice. |  |
custinvc_typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the associated Customer Invoice, which also contains the transaction type info. (eg. CI25). |  |
custinvc_type | VARCHAR2 | 16 |  |  | Transaction Type of associated Customer Invoice. | DW_NS_STATUS_D | key
custinvc_status | VARCHAR2 | 16 |  |  | Status identifier of associated Customer Invoice. | DW_NS_STATUS_D | code
is_createdfrom_cashsale | VARCHAR2 | 16 |  |  | Flag which indicates if the Return has been created from Cash Sale. |  |
cashsale_id | NUMBER | 38 | 0 |  | Transaction identifier of associated Cash Sale. | DW_NS_CASH_SALES_LINES_F | transaction
cashsale_lineid | NUMBER | 38 | 0 |  | Transaction Line identifier of associated Cash Sale. | DW_NS_CASH_SALES_LINES_F | id
cashsale_trandate | TIMESTAMP |  |  |  | Posting or occurring date of the associated Cash Sale. |  |
cashsale_trandisplayname | VARCHAR2 | 999 |  |  | Display name of associated Cash Sale. |  |
cashsale_typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the associated Cash Sale, which also contains the transaction type info. (eg. CS25). |  |
cashsale_type | VARCHAR2 | 16 |  |  | Transaction Type of associated Cash Sale. | DW_NS_STATUS_D | key
cashsale_status | VARCHAR2 | 16 |  |  | Status identifier of associated Cash Sale. | DW_NS_STATUS_D | code
is_createdfrom_salesord | VARCHAR2 | 16 |  |  | Flag which indicates if the Return has been created from Sales Order. |  |
salesord_id | NUMBER | 38 | 0 |  | Transaction identifier of associated Sales Order. | DW_NS_SALES_ORDER_LINES_F | transaction
salesord_lineid | NUMBER | 38 | 0 |  | Transaction Line identifier of associated Sales Order. | DW_NS_SALES_ORDER_LINES_F | id
salesord_trandate | TIMESTAMP |  |  |  | Posting or occurring date of the associated Sales Order. |  |
salesord_trandisplayname | VARCHAR2 | 999 |  |  | Display name of associated Sales Order. |  |
salesord_typebaseddocumentnumber | VARCHAR2 | 512 |  |  | Another identification for the associated Estimate, which also contains the transaction type info. (eg. SO25). |  |
salesord_type | VARCHAR2 | 16 |  |  | Transaction Type of associated Sales Order. | DW_NS_STATUS_D | key
salesord_status | VARCHAR2 | 16 |  |  | Status identifier of associated Sales Order. | DW_NS_STATUS_D | code

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