While upgrading from 14.2.0 to any later version, all custom object default lookups are automatically converted to System-Restricted lookups.
Following query identifies the list of affected custom object default lookups
SELECT 'OBJECT_LOOKUP_'
|| upper(code) from odf_objects where is_custom = 1
AND is_system = 0
AND parent_object_code IS NULL
Please use dbpatch command to execute the attached file.
Command:
dbpatch -install -apply -file <file_path>
Example : dbpatch -install -apply -file RESET_CUSTOM_OBJECT_LOOKUPS_TO_USER_DEFINED_FROM_SYSTEM_RESTRICTED.xml