Quintiq file version 2.0
#parent: #root
Method Copy (
  OptimizerPuzzle optimizerpuzzle
) as OptimizerPuzzleWIP id:Method_DialogCreateEditOptimizerPuzzle_Copy
{
  #keys: '[146140.1.660626746]'
  Body:
  [*
    // Copy an optimizer puzzle, triggered from FormOptimizerPuzzle
    
    wip := optimizerpuzzle.Copy( MacroPlan, QuintiqUser::CurrentUser().Name() );
    
    DataHolderOptimizerPuzzleWIP.Data( wip );
    
    ApplicationMacroPlanner.ShowFormModal( this );
    
    return wip;
  *]
}
