ksc_clear_staffingprofile_forecast_assignment

This special command can do the following:

  • Clear a staffing profile's forecast and assignments from a specified date.
  • Update the assignment finish date to the workday before the specified date.

Note: The staffing profile must be Completed if you want to clear its forecast and assignments.

Parameter Description
STAFFING_PROFILE_ID ID of the staffing profile whose forecast and assignments you want to clear
CLEAR_FROM_DATE The start date of the forecast and assignments you want to clear. It must be later than the start date of the staffing profile.

Example using ksc_clear_staffingprofile_forecast_assignment

ksc_clear_staffingprofile_forecast_assignment STAFFING_PROFILE_ID="<staffing_profile_id>" CLEAR_FROM_DATE="<clear_from_date>"