User Cannot Run Reports With User Preference Date Format Configured. (Doc ID 759683.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version 5.5.04.01 and later
Information in this document applies to any platform.
***Checked for relevance on 29-Jul-2013***


Symptoms

-- Problem Statement:
A user preference with a date format of DD-MM-YYY is configured at the role level (for example). If a user with that role logs in and tries to run a report such as the Order Summary, the date from the calendar is displayed as DD-MM-YYYY but when the report is run, the following error is seen,
Terminated with error: <br>REP-771: 'afterpform': Fatal PL/SQL error occurred. ORA-01861: literal does not match format string. 

The problem is with the query that is run in the reports_library.pl file for user preferences. 

If you have user preferences assign at different levels, the query will bring back multiple preference rather than only the ones associated for that user at the various potential levels.

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