Registering Custom Table in Apps
To register your custom table under FND. 1. Input is your custom table name. Execute these 4 queries 2. Spool the records3. Execute the spooled records in apps4. Commit; select ‘EXEC ‘||’AD_DD.REGISTER_TABLE(”XXCUST”, ”’||TABLE_NAME||”’,”T”,8,10,90);’ from all_tableswhere table_name = :TABLE_NAME/select ‘EXEC ‘||’AD_DD.REGISTER_COLUMN(”XXCUST”, ”’||TABLE_NAME||”’,”’||COLUMN_NAME||”’,’||COLUMN_ID||’,”’||DATA_TYPE||”’,’||DATA_LENGTH||’,”’||NULLABLE||”’,”N”);’ from all_tab_columnswhere table_name = :TABLE_NAMEORDER BY COLUMN_ID/select ‘EXEC ‘||’AD_DD.REGISTER_PRIMARY_KEY(”XXCUST”,”’||INDEX_NAME||”’,”’||TABLE_NAME||”’,”’||ITYP_NAME||”’,”S”,”Y”,”Y”);’FROM ALL_INDEXESWHERE table_name = :TABLE_NAME and […]
Recent Comments