Quintiq file version 2.0
#parent: #root
Method New (
  FormChangeLossSetting form
) id:Method_DialogCreateEditChangeLossSetting_New
{
  #keys: '[415136.0.746200358]'
  Body:
  [*
    // To create a new product
    owner := LibCal_GlobalState.dhGlobalCalendarRegistry().Data();
    obj := MacroPlan.ChangeLossSetting( relshadow, Line := '', Product1 := '', Product2 := '' );
    
    dhDialogData.Data( &obj );
    
    dhForm.Data( form );
    
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
