My Oracle Support Banner

Issue With Package(asg_custom_pvt) Code. Schema Name is Hard Coded (Doc ID 2785575.1)

Last updated on JUNE 18, 2021

Applies to:

Oracle Mobile Field Service - Version 12.2.9 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
Issue with Package(asg_custom_pvt) code.

Apps Schema is stamped in below code when we are compiling the custom table for MFS.
package name: asg_custom_pvt

APPS_SCHEMA_NAME varchar2(4) := 'APPS';

SELECT count(*) into l_cols_count
  FROM all_synonyms syn, dba_tab_columns col
  WHERE syn.table_owner = APPS_SCHEMA_NAME
  AND syn.synonym_name = l_piv_name
  AND col.owner = syn.table_owner AND col.table_name = syn.table_name;

EXPECTED BEHAVIOR
Schema name should not be stamped with 'APPS'.

STEPS
Try to compile the package name: asg_custom_pvt and find that there is APPS schema that is hardcoded.


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.