Quintiq file version 2.0
#parent: #root
Method ShowHideComponentForBatchEdit (
  Boolean isbatchedit,
  Boolean enableprimarykeysselector,
  Boolean showthisperiodonwards
) id:Method_DialogCreateEditUnitAvailability_ShowHideComponentForBatchEdit
{
  #keys: '[11766.1.1520880016]'
  Body:
  [*
    // Show hide components
    this.ShowHideComponents();
    
    CheckBoxThisPeriodOnwards.Visible( showthisperiodonwards );
    
    CheckBoxBatchEditMaintenance.Visible( isbatchedit );
    
    CheckBoxBatchEditEfficiency.Visible( isbatchedit );
    CheckBoxBatchEditAllocation.Visible( isbatchedit );
    
    CheckBoxBatchEditShiftPattern.Visible( isbatchedit );
    CheckBoxBatchEditMaxLoadPercentage.Visible( isbatchedit );
    
    CheckBoxBatchEditNrOfUnitsOpen.Visible( isbatchedit );
    
    CheckBoxBatchEditMinimumLoadThreshold.Visible( isbatchedit );
    
    this.EnableDisableComponent( isbatchedit, enableprimarykeysselector );
  *]
}
