AR_REVENUE_ADJUSTMENTS_ALL
The AR_REVENUE_ADJUSTMENTS_ALL table stores all information about revenue adjustments on transactions for on-line query, audit, and reporting. The primary key for this table is REVENUE_ADJUSTMENT_ID.
Details
-
Schema: FUSION
-
Object owner: AR
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
AR_REVENUE_ADJUSTMENTS_ALL_PK |
REVENUE_ADJUSTMENT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Flexfield-mapping |
|---|---|---|---|---|---|---|
| REVENUE_ADJUSTMENT_ID | NUMBER | 18 | Yes | Unique ID for revenue adjustment | ||
| REVENUE_ADJUSTMENT_NUMBER | VARCHAR2 | 20 | Yes | Unique reference number for revenue adjustment | ||
| CUSTOMER_TRX_ID | NUMBER | 18 | Yes | ID of revenue adjusted transaction | ||
| APPLICATION_DATE | DATE | Date when revenue adjustment was applied | ||||
| AMOUNT_MODE | VARCHAR2 | 15 | Indicates type of amount that is adjusted | |||
| AMOUNT | NUMBER | Amount of revenue that is adjusted, in transaction currency | ||||
| PERCENT | NUMBER | Percentage of revenue that is adjusted | ||||
| LINE_SELECTION_MODE | VARCHAR2 | 15 | Indicates criterion that is used to select lines | |||
| FROM_CATEGORY_ID | NUMBER | 18 | ID of category that revenue is adjusted from | |||
| TO_CATEGORY_ID | NUMBER | 18 | ID of category that revenue is transferred to | |||
| FROM_INVENTORY_ITEM_ID | NUMBER | 18 | ID of inventory item that revenue is adjusted from | |||
| TO_INVENTORY_ITEM_ID | NUMBER | 18 | ID of inventory item that revenue is transferred to | |||
| FROM_CUST_TRX_LINE_ID | NUMBER | 18 | ID of transaction line that revenue is adjusted from | |||
| TO_CUST_TRX_LINE_ID | NUMBER | 18 | ID of transaction line that revenue is transferred to | |||
| GL_DATE | DATE | Default GL date for the revenue adjustment accounting | ||||
| TYPE | VARCHAR2 | 15 | Indicates the type of revenue adjustment | |||
| REASON_CODE | VARCHAR2 | 15 | Indicates the reason for the revenue adjustment | |||
| COMMENTS | VARCHAR2 | 2000 | Further information to supplement revenue adjustment reason (free text) | |||
| STATUS | VARCHAR2 | 30 | Indicates revenue adjustment status | |||
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | |||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | ||
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | |||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | |||
| ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Revenue Adjustments (AR_REVENUE_ADJUSTMENTS) | ||
| PROGRAM_APPLICATION_ID | NUMBER | 18 | Concurrent Program who column - application id of the program that last updated this row (foreign key to FND_APPLICATION.APPLICATION_ID). | |||
| PROGRAM_ID | NUMBER | 18 | Concurrent Program who column - program id of the program that last updated this row (foreign key to FND_CONCURRENT_PROGRAM.CONCURRENT_PROGRAM_ID). | |||
| PROGRAM_UPDATE_DATE | DATE | Concurrent Program who column - date when a program last updated this row). | ||||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | |||
| ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | ||
| FROM_SALESGROUP_ID | NUMBER | From sales group identifier. | ||||
| TO_SALESGROUP_ID | NUMBER | To sales group identifier. | ||||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | ||
| FROM_RESOURCE_SALESREP_ID | NUMBER | This column contains the identifier of the salesperson from whom sales credits were transferred. | ||||
| TO_RESOURCE_SALESREP_ID | NUMBER | This column contains the identifier of the salesperson to whom sales credits were transferred. | ||||
| SALES_CREDIT_TYPE | VARCHAR2 | 15 | Indicates type of sales credit that is adjusted |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| AR_REVENUE_ADJUSTMENTS_ALL | ra_customer_trx_all | CUSTOMER_TRX_ID |
| AR_REVENUE_ADJUSTMENTS_ALL | ra_customer_trx_lines_all | FROM_CUST_TRX_LINE_ID |
| AR_REVENUE_ADJUSTMENTS_ALL | ra_customer_trx_lines_all | TO_CUST_TRX_LINE_ID |
| AR_REVENUE_ADJUSTMENTS_ALL | jtf_rs_salesreps | FROM_RESOURCE_SALESREP_ID |
| AR_REVENUE_ADJUSTMENTS_ALL | jtf_rs_salesreps | TO_RESOURCE_SALESREP_ID |
| AR_REVENUE_ADJUSTMENTS_ALL | egp_categories_b | FROM_CATEGORY_ID |
| AR_REVENUE_ADJUSTMENTS_ALL | egp_categories_b | TO_CATEGORY_ID |
| ra_cust_trx_line_gl_dist_all | ar_revenue_adjustments_all | REVENUE_ADJUSTMENT_ID |
| ra_cust_trx_line_salesreps_all | ar_revenue_adjustments_all | REVENUE_ADJUSTMENT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| AR_REVENUE_ADJUSTMENTS_U1 | Unique | Default | REVENUE_ADJUSTMENT_ID |
| AR_REVENUE_ADJUSTMENTS_N1 | Non Unique | Default | CUSTOMER_TRX_ID |
| AR_REVENUE_ADJUSTMENTS_N2 | Non Unique | Default | REVENUE_ADJUSTMENT_NUMBER |