Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method EnableDisableComponent ( 
 | 
  Boolean isbatchedit 
 | 
) id:Method_DialogCreateEditStockingPointCapacity_EnableDisableComponent 
 | 
{ 
 | 
  #keys: '[107528.0.125967431]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Enable disable components 
 | 
     
 | 
    if( isbatchedit ) 
 | 
    { 
 | 
      SelectionStockingPoint.DisableWithUserFeedback( Translations::MP_Designer_DisableSelectorForBatchEditAndWhenEditFromPeriodList( 'stocking point' ) ); 
 | 
      GUIStartDateTimeSelector.DisableWithUserFeedback( Translations::MP_Designer_DisableSelectorForBatchEditAndWhenEditFromPeriodList( 'start date' ) ); 
 | 
    } 
 | 
  *] 
 | 
} 
 |