Quintiq file version 2.0
#parent: ListSteps
Response OnClick (
  SWF_Step selection
) id:Response_ListSteps_MenuEditEstimatedCompletedDate_OnClick
{
  #keys: '[107588.2015.1152011744]'
  Body:
  [*
    // Edit estimated completion date of selected step
    dlg := construct( SWF_DialogEditEstimatedCompletionDate );
    dlg.Edit( this, selection );
  *]
  CanBindMultiple: false
  DefinitionID => /ListSteps/Responsedef_ListSteps_Menu_OnClick
  Initiator: 'MenuEditEstimatedCompletedDate'
  Precondition:
  [*
    return SWF_WorkflowDataset.GetCurrentUser().CanProcessStep( feedback,
                                                                selection,
                                                                SWF_Step::ACTION_OverrideDueDate() );
  *]
}
