ORA-20002: -904 ORA-904: "I"."CALENDAR_YEAR": Invalid Identifier

(Doc ID 2065756.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Demantra Demand Management - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.4 version, Technical

When attempting to enable calendar month functionality
the following error occurs.

ERROR
-----------------------
EXEC UPGRADE_TO_CAL_MONTH.MAIN(NULL,NULL)
Error report -
ORA-20002: -904 ORA-904: "I"."CALENDAR_YEAR": invalid identifier Error in
PACKAGE BODY line 772



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Connect to demantra schema using some SQL Tool.
2. Manually execute:
  EXEC UPGRADE_TO_CAL_MONTH.MAIN(NULL,NULL);

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot enable the new feature of viewing weekly data by calendar month. This is a business requirement coming up at User acceptance stage and it will impact on the go-live schedule.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms