renhao
2023-10-13 462215553c754d26acde8edab81b4a73f774e21e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 );
  *]
}