Results for “phase_change_flag”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OE_ORD_SAL_CRDT_HIST_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the ONT (Order Management) product family. Its purpose is to expose the header-level audit history of sales credit assignments applied to order headers. The view flattens the historical record of changes made to sales credit allocations so that reporting tools, concurrent programs, and integration layers can query a stable, denormalized projection without directly joining the underlying transactional tables.
The view carries status VALID in the ETRM dictionary for 12.1.1 and 12.2.2. Because it is a view rather than a table, it introduces no storage of its own and always reflects the current committed state of the base rows at query time. This makes it suitable for audit reporting, credit reallocation analysis, and reconciliation of salesperson compensation against order activity.
Underlying Base Objects
The documented view text joins two base objects through APPS synonyms:
- OE_SALES_CREDIT_HISTORY (OSCH) — the history table that stores each version of a sales credit record, including the audit, version, and phase-change indicators that drive historical analysis.
- OE_ORDER_HEADERS_ALL (OH) — the order header table supplying header context such as order number, order type, and the sold-to organization.
The join is OH.HEADER_ID = OSCH.HEADER_ID, constrained by the predicate OSCH.LINE_ID IS NULL. That predicate is significant: it restricts the result set to sales credits attached at the header level, excluding line-level credit history. Consumers seeking line-level history must query the history table directly or use a corresponding line-level view.
Key Columns
- HEADER_ID — foreign key to the order header; the primary correlation point with OE_ORDER_HEADERS_ALL.
- ORDER_NUMBER, ORDER_TYPE_ID, SOLD_TO_ORG_ID — order identification and customer context inherited from the header table.
- SALES_CREDIT_ID — identifies the sales credit assignment being versioned.
- SALESREP_ID, PERCENT, SALES_CREDIT_TYPE_ID — the salesperson, quota percentage, and credit type for each historical version.
- HIST_TYPE_CODE, REASON_CODE, REASON_ID, HIST_COMMENTS — the classification, reason, and free-text commentary describing why the credit record changed.
- HIST_CREATED_BY, RESPONSIBILITY_ID, HIST_CREATION_DATE — the user, responsibility, and timestamp of the historical action.
- AUDIT_FLAG — the column targeted by the searched term; indicates whether the historical row was produced by an audited change, allowing filtering of genuine audit-driven records.
- VERSION_FLAG, VERSION_NUMBER, PHASE_CHANGE_FLAG — versioning metadata distinguishing the current record from prior versions and phase-driven transitions.
- CREATED_BY, CREATION_DATE, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — the standard WHO columns for row-level traceability.
Common Use Cases and Queries
Typical scenarios include auditing sales credit changes on a given order, reconstructing the sequence of salesperson percentage changes, and isolating records flagged for audit review. A representative query filtering on the audit indicator is:
SELECT order_number, salesrep_id, percent, hist_type_code, reason_code, audit_flag, version_number, hist_creation_date FROM oe_ord_sal_crdt_hist_v WHERE audit_flag = 'Y' AND order_number = :p_order_number ORDER BY hist_creation_date;
For version tracking on a single credit assignment:
SELECT sales_credit_id, version_number, version_flag, percent, last_update_date FROM oe_ord_sal_crdt_hist_v WHERE header_id = :p_header_id ORDER BY version_number;
Because the view enforces LINE_ID IS NULL, it should be treated strictly as a header-level audit source. Performance depends on the indexes supporting OE_SALES_CREDIT_HISTORY and OE_ORDER_HEADERS_ALL, so queries should always constrain HEADER_ID or ORDER_NUMBER where possible.
-
View: OE_ORD_SAL_CRDT_HIST_V 12.1.1
APPS.OE_ORD_SAL_CRDT_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_SALES_CREDIT_HISTORY·Explore ONT module →
-
View: OE_ORD_SAL_CRDT_HIST_V 12.2.2
APPS.OE_ORD_SAL_CRDT_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_SALES_CREDIT_HISTORY·Explore ONT module →
-
APPS.OE_LINE_SAL_CRDT_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_ORDER_LINES_ALL·↳ OE_SALES_CREDIT_HISTORY·Explore ONT module →
-
Stores history of attribute changes of Entity Sales Credits
-
View: OE_SALES_CR_HISTORY_V 12.1.1
Sales Credit History View
APPS.OE_SALES_CR_HISTORY_V·↳ OE_SALES_CREDIT_HISTORY·↳ OE_SALES_CREDIT_TYPES·Explore ONT module →
-
View: OE_BLANKET_HDRS_HIST_V 12.2.2
APPS.OE_BLANKET_HDRS_HIST_V·↳ AR_LOOKUPS·↳ FND_CURRENCIES·↳ HZ_CUST_ACCOUNTS·Explore ONT module →
-
APPS.OE_LINE_SAL_CRDT_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_ORDER_LINES_ALL·↳ OE_SALES_CREDIT_HISTORY·Explore ONT module →
-
This view is used to get BSA line history information, and it is udes in BSA version comparison UI.
APPS.OE_BLANKET_LINES_HIST_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
View: OE_SALES_CR_HISTORY_V 12.2.2
Sales Credit History View
APPS.OE_SALES_CR_HISTORY_V·↳ OE_SALES_CREDIT_HISTORY·↳ OE_SALES_CREDIT_TYPES·Explore ONT module →
-
View: OE_ORD_PRC_ADJ_HIST_V 12.1.1
APPS.OE_ORD_PRC_ADJ_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_PRICE_ADJS_HISTORY·Explore ONT module →
-
View: OE_LINE_PRC_ADJ_HIST_V 12.1.1
APPS.OE_LINE_PRC_ADJ_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_ORDER_LINES_ALL·↳ OE_PRICE_ADJS_HISTORY·Explore ONT module →
-
Stores history of attribute changes of Entity Sales Credits
-
Stores history of attribute change for Order Lines.
-
This view is used to retrieve the Order History. This is used by the history form.
APPS.OE_ORDER_HEADERS_HIST_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →
-
View: OE_ORD_PRC_ADJ_HIST_V 12.2.2
APPS.OE_ORD_PRC_ADJ_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_PRICE_ADJS_HISTORY·Explore ONT module →
-
View: OE_LINE_PRC_ADJ_HIST_V 12.2.2
APPS.OE_LINE_PRC_ADJ_HIST_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_ORDER_LINES_ALL·↳ OE_PRICE_ADJS_HISTORY·Explore ONT module →
-
Stores history of attribute change for Order Headers
-
Table to capture sales agreement header history. Primary for storing revisions.
-
This view is used to retrieve Price Adjustments history. This is used by the history form.
APPS.OE_PRICE_ADJS_HISTORY_V·↳ OE_PRICE_ADJS_HISTORY·↳ QP_LIST_HEADERS_TL·Explore ONT module →
-
This view is used to retrieve Price Adjustments history. This is used by the history form.
APPS.OE_PRICE_ADJS_HISTORY_V·↳ OE_PRICE_ADJS_HISTORY·↳ QP_LIST_HEADERS_TL·Explore ONT module →
-
View: OE_BLANKET_HDRS_HIST_V 12.1.1
APPS.OE_BLANKET_HDRS_HIST_V·↳ AR_LOOKUPS·↳ FND_CURRENCIES·↳ HZ_CUST_ACCOUNTS·Explore ONT module →
-
Stores history of attribute changes of Entity Price
-
Stores history of attribute changes of Entity Price
-
This view is used to get BSA line history information, and it is udes in BSA version comparison UI.
APPS.OE_BLANKET_LINES_HIST_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
This view is used to retrieve the Order History. This is used by the history form.
APPS.OE_ORDER_HEADERS_HIST_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →
-
Table to capture sales agreement lines history.
-
Table to capture sales agreement lines history.
-
Stores history of attribute change for Order Headers
-
Table to capture sales agreement header history. Primary for storing revisions.
-
Stores history of attribute change for Order Lines.
-
View: OE_ORDER_LINES_HIST_V 12.2.2
APPS.OE_ORDER_LINES_HIST_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →
-
View: OE_ORDER_LINES_HIST_V 12.1.1
APPS.OE_ORDER_LINES_HIST_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →