"setValue" to Date Only Attribute Sets the Wrong Date

(Doc ID 2051402.1)

Last updated on JANUARY 25, 2016

Applies to:

Oracle Agile PLM Framework - Version to [Release 9.3]
Information in this document applies to any platform.


Actual Behavior
"setValue" to Date Only attribute sets the wrong date

Expected Behavior
"setValue" to Date Only attribute sets the correct date

1. Create subclass of Item class:Test-Part
   In Page3, define TestDate1 and TestDate2 attributes with Date Time Format="Date Only"

2. Login to Web Client and create P00021 with subclass:Test-Part
   Set TestDate1 to 07/28/2015

3. Run the sample code to copy the date from TestDate1 to TestDate2

4. Login to Web Client and open P00021
  TestDate2: 07/27/2015  -> different from TestDate1

What Is Working
If Date Time Format for attributes is "Date and Time", not "Date Only", "setValue" sets the correct date and time.


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