KB40521: WFS Performing undo action then adding employee shift results in fatal error

Article ID: 51037 - Last Review: November 24, 2010


In the Workforce Scheduling application, after performing an 'undo' action and then adding an employee shift, it results in a fatal error.


In WFS, after inserting a shift to any employee then inserting a break or job to any shift, if the user selects 'undo' twice to reverse those actions, then inserts a shift to any employee, a fatal error will occur with the following message:

"This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row."


This is caused by a logic error in the code.


Delete the inserted break or job instead of undoing the insertion.


This hotfix, along with all other CCM version 5.7 sp1 hotfixes created before January 2010, have been rolled up into one single hotfix.
The 5.7 sp1 Rollup of Hotfixes is available at the following link: KB41351

The original hotfix for this specific issue is no longer available and you must install the rollup.


CCM version 5.7 SP1

Keywords: 40521 wfs undo command fatal error

Posted Wednesday, November 24, 2010 by ademski