Search Results secondary_uom_code
The DEEPSEEKAPPS.ENG_COPY_TABLE_ROWS_PKG
package in Oracle E-Business Suite (EBS) 12.1.1 or 12.2.2 relies on the DUAL
table for several critical operations. DUAL
is a single-row, single-column dummy table owned by the SYS
schema, frequently used in Oracle SQL and PL/SQL for computations, sequence value retrieval, and conditional evaluations. Below is a detailed analysis of the dependencies and their implications in the context of this package.
1. Sequence Value Retrieval
The package likely usesDUAL
to fetch sequence values via SELECT seq_name.NEXTVAL FROM DUAL
. This is common in EBS for generating primary keys before inserting records into target tables. Since ENG_COPY_TABLE_ROWS_PKG
involves row duplication, sequences ensure uniqueness in copied data. Dependency on DUAL
here is unavoidable, as Oracle mandates its use for sequence operations outside direct DML.
2. Dynamic SQL Execution
For dynamic SQL operations (e.g., constructing and executing DDL/DML statements), the package may leverageDUAL
to test syntax or validate metadata. Examples include:
SELECT COUNT(*) FROM DUAL WHERE EXISTS (SELECT 1 FROM all_tables WHERE table_name = 'TARGET_TABLE')
– Checks table existence before copying.EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_DATE_FORMAT=''YYYY-MM-DD''';
followed bySELECT SYSDATE FROM DUAL
– Validates session settings.
3. Conditional Logic and Calculations
DUAL
is often used for arithmetic or boolean evaluations in PL/SQL control structures. For instance:
SELECT DECODE(flag, 'Y', 1, 0) INTO v_result FROM DUAL
– Determines branching logic during row processing.SELECT (CASE WHEN v_count > 0 THEN 'VALID' ELSE 'INVALID' END) FROM DUAL
– Validates thresholds before bulk operations.
4. Metadata and System Context Checks
The package may queryDUAL
to fetch system context (e.g., SELECT USER FROM DUAL
) for auditing or to enforce security. In EBS, this ensures operations align with module-specific responsibilities (e.g., restricting access to engineering data).
5. Performance and Optimization
WhileDUAL
is lightweight, excessive use in loops (e.g., per-row sequence calls) can degrade performance. Best practices in EBS 12.2+ recommend:
- Bulk-fetching sequence values via
FORALL
orBULK COLLECT
. - Caching results in PL/SQL variables to minimize
DUAL
access.
6. Version-Specific Considerations
- EBS 12.1.1: Reliance on
DUAL
is more prevalent due to limited SQL features. The package might use it for workarounds in absence ofWITH
clauses or advanced analytics. - EBS 12.2.2: With Oracle Database 12c+ enhancements, some
DUAL
dependencies could be replaced byIDENTITY
columns or JSON_TABLE for metadata, though backward compatibility often retainsDUAL
usage.
Conclusion
DEEPSEEKAPPS.ENG_COPY_TABLE_ROWS_PKG
depends on DUAL
for core functionalities like sequence management, dynamic SQL validation, and conditional processing. While these dependencies are standard in Oracle EBS, optimizing their usage—especially in high-volume operations—is critical for performance. Understanding these interactions aids in debugging and customizing the package for specific EBS environments.
-
APPS.INV_RCV_CACHE SQL Statements
12.1.1
-
APPS.INV_RCV_CACHE SQL Statements
12.2.2
-
APPS.WMS_CATCH_WEIGHT_PVT dependencies on WMS_CATCH_WEIGHT_PVT
12.2.2
-
APPS.INVPAGI2 dependencies on DUAL
12.1.1
-
APPS.INVPAGI2 dependencies on DUAL
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on MTL_SYSTEM_ITEMS_B
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on MTL_SYSTEM_ITEMS_B
12.2.2
-
VIEW: APPS.WSH_PICK_SLIP_V
12.1.1
-
APPS.ENG_COPY_TABLE_ROWS_PKG dependencies on DUAL
12.1.1
-
APPS.ENG_COPY_TABLE_ROWS_PKG dependencies on DUAL
12.2.2
-
APPS.OE_DUAL_UOM_UTIL dependencies on MTL_SYSTEM_ITEMS
12.2.2
-
VIEW: APPS.WSH_PICK_SLIP_V
12.2.2
-
APPS.WMS_CARTNZN_PUB dependencies on INV_CONVERT
12.2.2
-
VIEW: INV.MTL_ONHAND_QUANTITIES_DETAIL#
12.2.2
-
APPS.WMS_TASK_DISPATCH_LOV dependencies on DUAL
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_TRANSACTIONS_INTERFACE
12.1.1
-
APPS.WMS_CARTNZN_PUB dependencies on INV_CONVERT
12.1.1
-
View: WSH_PICK_SLIP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PICK_SLIP_V, object_name:WSH_PICK_SLIP_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_PICK_SLIP_V ,
-
View: WSH_PICK_SLIP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PICK_SLIP_V, object_name:WSH_PICK_SLIP_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_PICK_SLIP_V ,
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_TRANSACTIONS_INTERFACE
12.2.2
-
APPS.INV_RCV_CACHE dependencies on MTL_SYSTEM_ITEMS
12.1.1
-
APPS.WMS_TASK_DISPATCH_LOV dependencies on DUAL
12.2.2
-
APPS.GML_OPM_ROI_GRP dependencies on RCV_TRANSACTIONS_INTERFACE
12.2.2
-
VIEW: INV.MTL_ONHAND_QUANTITIES_D_BKP#
12.2.2
-
VIEW: INV.MTL_REPLENISH_LINES#
12.2.2
-
VIEW: INV.MTL_ONHAND_DISCREPANCIES#
12.2.2
-
APPS.WMS_CONTAINER_PUB dependencies on WMS_LPN_HISTORIES
12.2.2
-
VIEW: WMS.WMS_RULE_TRACE_LINES#
12.2.2
-
APPS.WMS_CONTAINER_PUB dependencies on WMS_LPN_HISTORIES
12.1.1
-
VIEW: INV.MTL_MOQD_BACKUP#
12.2.2
-
APPS.INV_UI_RCV_LOVS dependencies on DUAL
12.1.1
-
APPS.INV_RCV_CACHE dependencies on MTL_SYSTEM_ITEMS
12.2.2
-
APPS.WMS_CATCH_WEIGHT_PVT dependencies on INV_CONVERT
12.2.2
-
APPS.GML_OPM_ROI_GRP dependencies on RCV_TRANSACTIONS_INTERFACE
12.1.1
-
APPS.INV_RCV_DIR_RCPT_APIS dependencies on PO_HEADERS
12.1.1
-
VIEW: WMS.WMS_LPN_CONTENTS#
12.2.2
-
APPS.RCV_ROI_PREPROCESSOR dependencies on DUAL
12.2.2
-
APPS.INV_RCV_DIR_RCPT_APIS dependencies on PO_HEADERS
12.2.2
-
View: RCV_FTE_TRANSACTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.RCV_FTE_TRANSACTIONS_V, object_name:RCV_FTE_TRANSACTIONS_V, status:VALID, product: PO - Purchasing , description: Rolled up transactions for logistics , implementation_dba_data: APPS.RCV_FTE_TRANSACTIONS_V ,
-
APPS.INV_UI_RCV_LOVS dependencies on DUAL
12.2.2
-
VIEW: APPS.MTL_MATERIAL_STATUS_HIST_ERV
12.1.1
-
VIEW: APPS.RCV_FTE_TRANSACTIONS_V
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on MTL_SYSTEM_ITEMS
12.1.1
-
APPS.WMS_CONTAINER_PUB dependencies on WMS_LPN_HISTORIES_S
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on MTL_SYSTEM_ITEMS
12.2.2
-
VIEW: APPS.RCV_FTE_TRANSACTIONS_V
12.1.1
-
APPS.WMS_RCV_PUP_PVT dependencies on MTL_MATERIAL_TRANSACTIONS_TEMP
12.1.1
-
VIEW: WMS.WMS_LPN_HISTORIES#
12.2.2
-
APPS.WMS_RCV_PUP_PVT dependencies on MTL_MATERIAL_TRANSACTIONS_TEMP
12.2.2
-
View: RCV_FTE_TRANSACTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.RCV_FTE_TRANSACTIONS_V, object_name:RCV_FTE_TRANSACTIONS_V, status:VALID, product: PO - Purchasing , description: Rolled up transactions for logistics , implementation_dba_data: APPS.RCV_FTE_TRANSACTIONS_V ,