Quintiq file version 2.0
#parent: MatrixEditorTimeCapacities
Response OnClick (
  structured[UnitPeriodTime] selection
) id:Response_MatrixEditorTimeCapacities_MenuEdit_OnClick
{
  #keys: '[136682.1.1065315030]'
  CanBindMultiple: false
  DefinitionID => /MatrixEditorTimeCapacities/Responsedef_MatrixEditorTimeCapacities_WebMenu_OnClick
  Initiator: 'MenuEdit'
  Precondition:
  [*
    canedit := UnitPeriod::CanEdit( selection, feedback );
    return canedit;
  *]
  QuillAction
  {
    Body:
    [*
      // Edit unit capacity
      dlg := construct( DialogCreateEditUnitAvailability );
      dlg.Edit( selection );
    *]
    GroupServerCalls: false
  }
}
