Creating and Maintaining Custom Tables in R12.2.x
Creating and Maintaining Custom Tables in R12.2.x
R12.2.x
1. To create a custom table in custom schema – XXCUSTOM
2. To generate editioning view and synonym for the table execute below
script
exec AD_ZD_TABLE.UPGRADE('XXCUSTOM','TABLE_NAME');
3. If you alter the table definition in future then after running the alter table
command, run below script to regenerate the editioning view and sync the
table changes -
exec AD_ZD_TABLE.PATCH('XXCUSTOM','TABLE_NAME');
execute
APPS.AD_ZD.REVOKE_PRIVS('<grant>',
'TABLE_NAME','SCHEMA_TOBE_REVOKED');
e.g.
- Create a logical view. Basically, create a normal view but suffixed by the #
CREATE OR REPLACE VIEW APPS.XYZ_VIEW_NAME# AS
<query>;
- Upgrade to materialized view. The first parameter is the schema name and
second is the view name without #
BEGIN
AD_ZD_MVIEW.UPGRADE('APPS', 'XYZ_VIEW_NAME');
END;
Oracle Forms:
There is no major change in the Oracle Forms.
Oracle Reports:
In 12.1.3, we would place the .rdf file the $XXCUST_TOP directory.
But In 12.2.x, we now have 2 file systems (fs1 and fs2). When we migrating
the .rdf files, we need to place the .rdf file into both file systems.