Problem in Oracle HRMS Self Service

Problem in Oracle HRMS Self Service

We had the following error in the Self Service screens related to SIT, however it works fine from the core application:

Error – Program error: Please inform your support representative that: FLEXFIELDS SERVER-SIDE VALIDATION Package reports error: call_userval() exception: ORA-01841: (full) year must be between -4713 and +9999, and not be 0

This error appears just after upgrading the DB to 10g version 10.2.0.4


Solution : Problem in Oracle HRMS Self Service

Hi Guys

As per the Note: 295208.1 (Dependencies in KFF (SIT)).

The database procedure “FND_FLEX_PLSQL.VALIDATE” can be used to add “user hook” routine you can use to implement dependencies in
KFF segments.

We found customization using a date conversion that seems it is not suppported by 10G.

The statement that may caused the problem was:
AND to_date(user_segment8, ‘YYYY/MM/DD HH24:MI:SS’) >=
to_date(a.segment8, ‘YYYY/MM/DD HH24:MI:SS’)
AND to_date(user_segment8, ‘YYYY/MM/DD HH24:MI:SS’)<=
to_date(a.segment9, ‘YYYY/MM/DD HH24:MI:SS’)

I guess this was related to your first research:
tar:6283453.994
Issue caused due to use of User Hooks