Quintiq file version 2.0
#parent: SplitterWnd1/MatrixEditorUnitAvailabilities
Response OnClick (
  structured[UnitPeriodTime] object
) id:Response_SplitterWnd1_MenuEditAvailability_OnClick
{
  #keys: '[110880.4.1158806367]'
  Body:
  [*
    // Create or update the unit availability for the selected periods.
    
    dlg := construct( DialogCreateEditUnitAvailability );
    dlg.EditUnitAvailabilityFromListUnitPeriodTime( this, object );
  *]
  CanBindMultiple: false
  DefinitionID => /SplitterWnd1/Responsedef_SplitterWnd1_MatrixEditorUnitAvailabilities_Menu_OnClick_746
  Initiator: 'MenuEditAvailability'
  Precondition:
  [*
    return UnitPeriod::CanEditCapacities( object, feedback );
  *]
  UserRequiresReadWrite: true
}
