Quintiq file version 2.0
#parent: #root
Method EditUnitCalendar (
  Unit unit,
  UnitPeriodTime unitperiodtime,
  Date date
) id:Method_ApplicationLibMacroPlanner_EditUnitCalendar
{
  #keys: '[101472.2.692423059]'
  Body:
  [*
    // Edit calendar
    if ( not isnull( unitperiodtime ) )
    {
      date := unitperiodtime.Period_MP().Start().Date();
    }
    
    dlg := construct( LibCal_dlgEditCalendar );
    dlg.Open( ApplicationLibMacroPlanner, unit.UnitCalendar() );
  *]
}
