Quintiq file version 2.0
#parent: SplitterWnd3/MatrixEditorUnitPeriod
Response OnClick (
  structured[UnitPeriod] object
) id:Response_SplitterWnd3_MenuEditMaxtrixActualUnitPeriod_OnClick
{
  #keys: '[113694.1.389630996]'
  Body:
  [*
    // Edit actual unit period
    dlg := construct( DialogCreateEditActualUnitPeriod );
    dlg.CreateOrEditActualFromUnitPeriodList( this, object );
  *]
  CanBindMultiple: false
  DefinitionID => /SplitterWnd3/Responsedef_SplitterWnd3_MatrixEditorUnitPeriod_Menu_OnClick_937
  Initiator: 'MenuEditMaxtrixActualUnitPeriod'
  Precondition:
  [*
    periodSpecForActual := MacroPlan.GetPeriodSpecification( MacroPlan.GlobalParameters_MP().PeriodSpecificationForUnitActual() );
    return UnitPeriod::CanEditActuals( object, periodSpecForActual, false, feedback );
  *]
}
