Note you have to replace the DBLINK and database name/schema with the appropriate values.
For Oracle:
/*
BEGIN
DWH_TRD_CLEANUP_TRENDS_SP ('PPMDBLINK');
END;
*/
For MSSQL:
/*
BEGIN
EXEC DWH_TRD_CLEANUP_TRENDS_SP @P_DBLINK='PPMDBLINK.niku.niku'
END;
*/
This should fix the synchronization issue.
More information on what this job does:
Enhanced Trending Data Synchronization
DWH_TRD_CLEANUP_TRENDS_SP (DBLINK)
1. Drops all trending tables that were dynamically created.
2. Resets the PPM and data warehouse trending metadata tables (sets the processing flag to 0 as though trending has never been processed).
3. Truncates the core trending tables and removes only their data.
As a reminder, make a backup of any trending data that you want to preserve and restore later.
For Clarity versions below 15.4.1 - the Stored Procedure is not there