Stock Count Extract Batches Fail When Daylight Savings Time Changes

(Doc ID 2325965.1)

Last updated on NOVEMBER 20, 2017

Applies to:

Oracle Retail Store Inventory Management - Version 14.0 and later
Information in this document applies to any platform.

Symptoms

In Store Inventory Management (SIM) application, when the daylight savings time changes, the ExtractUnitStockCount.sh and ExtractUnitAmountStockCound.sh batches fail with the following error, when the batches are invoked with the next day's date. Note that this only happens on the days when DST change happen and if the server timezone is United States EST.

Error: java.lang.IllegalArgumentException: Invalid date entered. The extract date cannot exceed tomorrow's date.


Steps to Recreate:

1. Ensure that the server timezone is in US EST.
2. On the day when the clocks are adjusted due to daylight savings, run the above batches with next day's date.
3. Find that both batches fail with the error "java.lang.IllegalArgumentException: Invalid date entered. The extract date cannot exceed tomorrow's date."

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