Quintiq file version 2.0
#parent: #root
Method OptimizerSettings (
  LibOpt_BT_TrackingTableBase selection
) id:Method_FormTrackingTableBase_OptimizerSettings
{
  #keys: '[139544.1.1274276446]'
  Body:
  [*
    dialog := construct( DialogSettingsEngine );
    
    nvt := selection.GetTable().Dataset().GetSynchronizedSettings();
    
    LibOpt_BT_TrackingTableBase::ApplySettingsWithDefinedBy( selection.GetSettingsAncestors(), nvt );
    
    LibOpt_BT_TrackingTableBase::MakeCurrentSettingsValuesDefault( nvt, nvt.Root() );
    
    new := nvt.Clone();
    
    // Add own deltas
    LibOpt_BT_TrackingTableBase::ApplySettings( selection, new );
    
    dialog.Edit( this, new, selection.GetName() );
    
    selection.StoreSettingsDeltas( nvt, new );
  *]
}
