Quintiq file version 2.0
#parent: SplitterWnd5/MatrixEditorUnitCapacities
Response OnClick (
  structured[UnitPeriodQuantity] object
) id:Response_SplitterWnd5_MenuEditCapaciity_OnClick
{
  #keys: '[110880.4.1709110385]'
  Body:
  [*
    // Create or update the unit capacity for the selected periods.
    dlg := construct( DialogCreateEditUnitCapacity );
    dlg.EditUnitCapacityFromListUnitPeriodQuantity( this, object );
  *]
  CanBindMultiple: false
  DefinitionID => /SplitterWnd5/Responsedef_SplitterWnd5_MatrixEditorUnitCapacities_Menu_OnClick_714
  Initiator: 'MenuEditCapaciity'
  Precondition:
  [*
    return UnitPeriod::CanEditCapacities( object, feedback );
  *]
  UserRequiresReadWrite: true
}
