Quintiq file version 2.0
#parent: #root
Method ShowHideComponentForBatchEdit (
  Boolean isbatchedit,
  Boolean enableprimarykeyselectors,
  Boolean showthisperiodonwards
) id:Method_DialogCreateEditUnitCapacity_ShowHideComponentForBatchEdit
{
  #keys: '[107528.0.125617736]'
  Body:
  [*
    // Show hide components
    CheckBoxThisPeriodOnwards.Visible( showthisperiodonwards );
    
    CheckBoxBatchEditCapacity.Visible( isbatchedit );
    
    CheckBoxBatchEditMaxLoadPercentage.Visible( isbatchedit );
    
    CheckBoxBatchEditNrOfUnitsOpen.Visible( isbatchedit );
    
    this.EnableDisableComponent( isbatchedit, enableprimarykeyselectors );
  *]
}
