In an environment where the NIKU and DWH databases are hosted on separate Oracle server instances connected via a database link, attempting to display per-period data (such as ETC, actuals) triggers an error.
Steps to Reproduce:
- Set up Clarity Schema and Data warehouse schema in different database
- Ensure configuration of Data warehouse settings are filled under Classic UX--> Administration --> System Options --> Data warehouse options
- Language
- Entity For Fiscal Period
- Include SQL Curve Data
- Enable Instantaneous Sync
- Include Weekly Period Data
- Include Monthly Period Data
- Include Fiscal Period Data
- Consistent Fiscal Periods across Entities
- Include only financial Plan of Record
- Set the Unit of Measure to either Hours, FTE, Days, or % Availability within the New UI user profile settings.
- Run the Load Data Warehouse job and confirm it completes successfully.
- Perform either of the following actions:
- Action A (MUX Reporting): Navigate to MUX --> Reporting --> Data Provider, make a copy of the Investments Data Provider, go to the Preview Tab, add the Name column, and then add a per-period curve column like ETC or Actuals.
- Action B (OOTB Reports): Access out-of-the-box Advanced Reporting samples such as 'Capacity vs. Demand by Resource (Sample)' or 'Financial Budget vs. Forecast by Period (Sample)'.
Expected Results:
ETC data should be displayed
Actual Result:
The system fails to process the request, returning errors based on the selected Unit of Measure:
- With Unit of Measure as Hours/FTE/Days
- Error: Unable to process the request: ORA-00936: missing expression
- With Unit of Measure as %Availability
- Error: Unable to process the request: ORA-04063: package body "DWH_CRV_SQL_CURVE_PKG" has errors ORA-06508: PL/SQL: could not find program unit being called: "DWH_CRV_SQL_CURVE_PKG" ORA-06512: at "DWH_CRV_CALENDAR_FCT", line 7 ORA-06512: at line 1
- OOTB Reports Execution: The application throws a screen error: "Report time out. please add more filters and try again".