Quintiq file version 2.0
#parent: PanelMatrix/MatrixEditorCycleOverview
Response OnUpdateValue (
  SWF_Step cell,
  Date value
) id:Response_PanelMatrix_MatrixEditorCycleOverview_OnUpdateValue
{
  #keys: '[136682.0.893158704]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMatrixEditor_OnUpdateValue'
  Precondition:
  [*
    return SWF_WorkflowDataset.GetCurrentUser().CanProcessStep( feedback,
                                                                cell,
                                                                SWF_Step::ACTION_OverrideDueDate() );
  *]
  QuillAction
  {
    Body:
    [*
      // Override the due date of the
      if ( guard( value >=cell.Workflow().StartDate(), false ) ) 
      {
        SWF_WorkflowDataset.Service().TR_CreateUpdateStep
                  ( cell.ID()
                  , cell.Name()
                  , guard( cell.ParentStep().ID(), Key::ZeroKey() )
                  , cell.HasExpectedCompletionDateManual()
                  , cell.ExpectedCompletionDateManual()
                  , true
                  , value
                  , guard( cell.AssignedAuthorization().DisplayName(), '' )
                  );
      }
    *]
    GroupServerCalls: false
  }
}
