Existing DEPOT_TWs Disappeared And 'Cannot Remove The Only Time Window' Error Corrected with Max Volume Workaround (Doc ID 1399022.1)

Last updated on JANUARY 23, 2012

Applies to:

Oracle Real-Time Scheduler - Version: 10.4.9 and later   [Release: 10.4 and later ]
Information in this document applies to any platform.

Symptoms

No slots were being returned to the website from around midday to around 3.30pm on January 24. Error messages were showing in the client saying 'DEPOT 6401-DIST-20111221-1: Cannot remove the only time window'. Deliveries were being scheduled weeks after their slot and showing as belonging to the correct shift but the shift had gone into weeks of overtime. Store had been operating normally up to this point and suddenly developed the fault. The problem was corrected after adjusting the Max. Vol. in the Depot Time Window to a new value.

These conditions were noted with the follow log examples:

SMAuto reflects errors seen by the client:
SCH6 24/11/11 11:26:33.31 send SWITCH.2156 0003:9523223 >>ERROR|||DEPOT_TW_DEL|||||1-DIST-20111221-1|||Cannot remove the only time window<<
SCH6 24/11/11 11:26:33.31 send GSR164 0005:22614684 >>ERROR|||DEPOT_TW_DEL|||||1-DIST-20111221-1|||Cannot remove the only time window<<
SCH6 24/11/11 11:26:33.31 send GSR172 0006:22581501 >>ERROR|||DEPOT_TW_DEL|||||1-DIST-20111221-1|||Cannot remove the only time window<<
SCH6 24/11/11 11:26:33.31 ERROR: (Cannot remove the only time window) generated in gen\src\hipgen\rcv_TimeWin.c at line 476

Affected time window had extreme overtime as shown with very negative availability (-256):

SCH1 24/11/11 15:03:05.83 recv SWITCH.2156 0003:902484 >>PARAM_DEPOT_TW|1-DIST-20111221-1||||985585.244|-256.000000||||||<<

A bulk of DEPOT_TW became ACTIVE when the Max Vol change was made.

SCH1 24/11/11 15:22:16.75 recv SWITCH.2156 0003:904096 >>DEPOT_TW|1-DIST-20111206-0|1-DIST|ACTIVE|20111206|0745...
SCH1 24/11/11 15:22:16.75 recv SWITCH.2156 0003:904097 >>DEPOT_TW|1-DIST-20111125-0|1-DIST|ACTIVE|20111125|0745...
SCH1 24/11/11 15:22:16.75 recv SWITCH.2156 0003:904098 >>DEPOT_TW|1-DIST-20111219-1|1-DIST|ACTIVE|20111219|1730...
SCH1 24/11/11 15:22:16.75 recv SWITCH.2156 0003:904099 >>DEPOT_TW|1-DIST-20111125-1|1-DIST|ACTIVE|20111125|1730...
SCH1 24/11/11 15:22:16.75 recv SWITCH.2156 0003:904100 >>DEPOT_TW|1-DIST-20111208-0|1-DIST|ACTIVE|20111208|0745...
SCH1 24/11/11 15:22:16.75 recv SWITCH.2156 0003:904101 >>DEPOT_TW|1-DIST-20111210-1|1-DIST|ACTIVE|20111210|1730...

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