363 views

Description

- The formatter on the Schedule Entry record lets you specify the When values for the Schedule Entry record.
- If the parent Schedule record specifies a time zone instead of Floating, there is a time zone choice displayed (read-only) as part of the formatter.
- In the base system, the values you enter into this formatter (schedule_date_range.xml) are populated into the start_date_time and end_date_time fields. These fields are not shown on the form.
- When the form is drawn, this formatter is populated with the information from the start_date_time and end_date_time fields.

The problem occurs if the form layout includes the start_date_time and end_date_time fields before the formatter that shows the "When" date/time range and you display one of these Schedule Entry records for a schedule with a specified timezone. The system populates the time input boxes on the formatter with two values that are an hour apart, instead of using the expected values from the start_date_time and end_date_time fields.

Steps to Reproduce

  1. Navigate to a cmn_schedule_span record.
  2. Personalize the form to add the start_date_time and end_date_time fields to the form layout before the Schedule Date Range Selector (this is important).
  3. Navigate to the 8-5 weekdays' cmn_schedule record and note that the Schedule Entries related list shows Name: Monday-Friday 8-5 Start date time: 2008-07-07 08:00:00 End date time: 2008-07-07 17:00:00.
  4. Navigate to the Monday-Friday 8-5' cmn_schedule_span record and note that the formatter is populated with: 2008-07-07 08:00:00 To 17:00:00 2008-07-07. 
  5. Navigate to the Application FLX cmn_schedule record and note that the Schedule Entries related list shows Name: App FLX Entry Start date time: 2010-11-20 16:00:00 End date time: 2010-11-20 20:00:00. 
  6. Navigate to the App FLX Entry cmn_schedule_span record and note that the formatter is populated with: 2014-02-07 21:00:00 To 22:00:00 2014-02-07.
    It should be: 2010-11-20 16:00:00 To 20:00:00 2010-11-20.

Workaround

Remove the Start date time and End date time fields from the form layout. Only use the Scheduled Date Range Selector formatter to display or change these values.


Related Problem: PRB594973

Seen In

Berlin Patch 8 Hot Fix 1
Dublin EA 8

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2015-12-09 10:36:23
Published:2014-12-09