Search Results sys_yes_no
Overview
APPS.MSC_UNDO_DETAILS_V is a reporting and diagnostic view in the Oracle Advanced Supply Chain Planning (ASCP) module of Oracle E-Business Suite, present in both 12.1.1 and 12.2.2. It exposes the row-level detail of the undo log that ASCP maintains when a planner performs an undo of an earlier planning action or transaction. The underlying undo mechanism (MSC_UNDO_SUMMARY and MSC_UNDO_DETAILS) captures, for each undone operation, the identity of the changed column and both its previous and new values. Whereas the summary object records which planning transaction was reversed, this view resolves the raw internal identifiers and codes stored in the detail rows into human-readable text.
The view’s distinctive feature is its heavy reliance on the MSC_GET_NAME package to translate stored values into display names — organization codes, supplier names, project and task numbers, resource codes, department codes, and lookup meanings. Because ASCP frequently stores flags as single-character codes (for example Y/N), lookups such as SYS_YES_NO are decoded here, making the view particularly useful when auditing why a field changed during an undo.
Underlying Base Objects
The view is defined over the following documented objects:
- MSC_UNDO_DETAILS (syonym to the base table) — supplies the core undo detail rows:
undo_id,column_changed,column_type,old_value, andnew_value. - MSC_UNDO_SUMMARY (synonym) — joined via the
undo_idand supplies context such asplan_id,sr_instance_id,transaction_id, andtable_changed. - MSC_GET_NAME (package) — a helper package invoked for nearly every meaningful column to convert IDs into descriptive text and to resolve lookup meanings.
- FND_DATE (package) — used to convert stored canonical date values back into a formatted character representation via
CANONICAL_TO_DATEandDATE_TO_CHARDT.
Key Columns
- undo_id — Identifier linking each detail line to its parent undo summary record.
- column_changed / column_changed_text — The technical column name that was modified and its descriptive label.
- column_type — Drives conditional decoding (for example DATE columns are formatted through FND_DATE).
- old_value / new_value — The pre- and post-undo values, each passed through MSC_GET_NAME for contextual translation based on
column_changed.
Notable value translations include SOURCE_ORGANIZATION_ID → msc_get_name.org_code, supplier and supplier site lookups, project and task resolution, resource code resolution, and a branch for FIRM_FLAG that selects between SYS_YES_NO and RESOURCE_FIRM_TYPE depending on table_changed. Many constraint and scheduling flags (RESCHEDULE_FLAG, OPTIMIZE_FLAG, daily/weekly/period resource and material constraints, CURR_PLAN_CAPACITY_FLAG) are decoded through the SYS_YES_NO lookup.
Common Use Cases and Queries
Typical scenarios include investigating the effect of an undo action, auditing plan changes, and diagnosing unexpected field reversions. A representative query:
SELECT undo_id, column_changed_text, old_value, new_value FROM apps.msc_undo_details_v WHERE undo_id = :p_undo_id;
Filtering to boolean-style columns demonstrates the SYS_YES_NO decoding directly:
SELECT column_changed_text, old_value, new_value FROM apps.msc_undo_details_v WHERE column_changed = 'OPTIMIZE_FLAG';
Because it resolves internal IDs, the view is best suited to operational troubleshooting and audit reporting rather than high-volume bulk extraction.
-
Lookup Type: SYS_YES_NO
12.1.1
product: INV - Inventory , meaning: SYS YES NO ,
-
Lookup Type: SYS_YES_NO
12.2.2
product: INV - Inventory , meaning: SYS YES NO ,
-
VIEW: APPS.MSC_UNDO_DETAILS_V
12.2.2
-
View: MSC_UNDO_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_UNDO_DETAILS_V, object_name:MSC_UNDO_DETAILS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , description: this view shows all the changes made to the plan output , implementation_dba_data: APPS.MSC_UNDO_DETAILS_V ,
-
Concurrent Program: MSCATPDP
12.1.1
execution_filename: msc_cl_pull.launch_monitor , product: MSC - Advanced Supply Chain Planning , user_name: MSCPDP , description: Planning Data Pull , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
VIEW: APPS.MSC_UNDO_DETAILS_V
12.1.1
-
Concurrent Program: MSDDEMPST
12.2.2
execution_filename: msd_dem_cto.populate_staging_table , product: MSD - Demand Planning , user_name: MSDDEMPST , description: Executable for Populate Staging Table , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
View: MSC_UNDO_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_UNDO_DETAILS_V, object_name:MSC_UNDO_DETAILS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , description: this view shows all the changes made to the plan output , implementation_dba_data: APPS.MSC_UNDO_DETAILS_V ,
-
VIEW: APPS.QA_PLAN_CHARS_V
12.1.1
-
Concurrent Program: MSDDEMARD
12.2.2
execution_filename: msd_dem_collect_history_data.run_load , product: MSD - Demand Planning , user_name: MSDDEMARD , description: Launch EP LOAD , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: MSCATPDP
12.2.2
execution_filename: msc_cl_pull.launch_monitor , product: MSC - Advanced Supply Chain Planning , user_name: MSCPDP , description: Planning Data Pull , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
VIEW: APPS.QABV_COLPLNTXN
12.2.2
-
VIEW: APPS.QAFV_COLPLNTXN
12.1.1
-
VIEW: APPS.QA_PLAN_TRANSACTIONS_V
12.1.1
-
Concurrent Program: MSCPDC
12.2.2
execution_filename: msc_cl_collection.launch_monitor , product: MSC - Advanced Supply Chain Planning , user_name: MSCPDC , description: Planning Data Collection , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: MSCPDC
12.1.1
execution_filename: msc_cl_collection.launch_monitor , product: MSC - Advanced Supply Chain Planning , user_name: MSCPDC , description: Planning Data Collection , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
VIEW: APPS.QABV_COLPLNTXN
12.1.1
-
VIEW: APPS.QA_PLAN_TRANSACTIONS_V
12.2.2
-
VIEW: APPS.CSTBV_STANDARD_ITEM_COST
12.1.1
-
VIEW: APPS.CSTBV_STANDARD_ITEM_COST
12.2.2
-
Concurrent Program: MSDDEMLD
12.2.2
execution_filename: MSD_CL_LOADERS.LAUNCH_MONITOR , product: MSD - Demand Planning , user_name: MSDLDM , description: Flat File Loader , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
VIEW: APPS.CSTFV_STANDARD_ITEM_COST
12.2.2
-
VIEW: APPS.QA_PLAN_CHARS_V
12.2.2
-
VIEW: APPS.MSC_ITEM_ATTRIBUTES_V
12.2.2
-
VIEW: APPS.QABV_COLLECTION_PLAN_ELEMENTS
12.2.2
-
VIEW: APPS.MSC_SIM_ITEM_ATTRIBUTES_V
12.2.2
-
VIEW: APPS.CSTFV_STANDARD_ITEM_COST
12.1.1
-
View: QA_PLAN_CHARS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PLAN_CHARS_V, object_name:QA_PLAN_CHARS_V, status:VALID, product: QA - Quality , description: Shows collection plan and collection elements , implementation_dba_data: APPS.QA_PLAN_CHARS_V ,
-
VIEW: APPS.QAFV_COLLECTION_PLAN_ELEMENTS
12.1.1
-
VIEW: APPS.QABV_COLLECTION_PLAN_ELEMENTS
12.1.1
-
VIEW: APPS.QAFV_COLLECTION_PLAN_ELEMENTS
12.2.2
-
VIEW: APPS.QAFV_COLPLNTXN
12.2.2
-
View: QA_PLAN_CHARS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PLAN_CHARS_V, object_name:QA_PLAN_CHARS_V, status:VALID, product: QA - Quality , description: Shows collection plan and collection elements , implementation_dba_data: APPS.QA_PLAN_CHARS_V ,
-
VIEW: APPS.CST_ROLLUP_DATE_VIEW
12.1.1
-
VIEW: APPS.CST_ROLLUP_DATE_VIEW
12.2.2
-
VIEW: APPS.EAM_CFR_WORK_ORDER_V
12.2.2
-
View: QABV_COLPLNTXN
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QABV_COLPLNTXN, object_name:QABV_COLPLNTXN, status:VALID, product: QA - Quality , description: - Retrofitted , implementation_dba_data: APPS.QABV_COLPLNTXN ,
-
APPS.QA_QLTPLACR_XMLP_PKG SQL Statements
12.2.2
-
View: QAFV_COLPLNTXN
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QAFV_COLPLNTXN, object_name:QAFV_COLPLNTXN, status:VALID, product: QA - Quality , description: - Retrofitted , implementation_dba_data: APPS.QAFV_COLPLNTXN ,
-
VIEW: APPS.MSC_SIM_ITEM_ATTRIBUTES_V
12.1.1
-
VIEW: APPS.QAFV_COLLECTION_ELEMENTS
12.1.1
-
View: QA_PLAN_TRANSACTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PLAN_TRANSACTIONS_V, object_name:QA_PLAN_TRANSACTIONS_V, status:VALID, product: QA - Quality , description: Shows collection plan and Quality Collection transaction information , implementation_dba_data: APPS.QA_PLAN_TRANSACTIONS_V ,
-
View: QAFV_COLPLNTXN
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QAFV_COLPLNTXN, object_name:QAFV_COLPLNTXN, status:VALID, product: QA - Quality , description: - Retrofitted , implementation_dba_data: APPS.QAFV_COLPLNTXN ,
-
VIEW: APPS.MSC_COLL_ITEM_ATTRIBUTES_V
12.1.1
-
VIEW: APPS.QABV_COLLECTION_ELEMENTS
12.1.1
-
VIEW: APPS.EAM_CFR_WORK_ORDER_V
12.1.1
-
Concurrent Program: MSDDEMCTD
12.2.2
execution_filename: msd_dem_time_data.collect_time_data , product: MSD - Demand Planning , user_name: MSDDEMCTD , description: Collect Time Data , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
VIEW: APPS.MSC_SYSTEM_ITEMS_SC_V
12.2.2
-
VIEW: APPS.QAFV_COLLECTION_ELEMENTS
12.2.2
-
VIEW: APPS.QABV_COLLECTION_ELEMENTS
12.2.2