Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method EnableDisableComponent ( 
 | 
  Boolean isbatchedit 
 | 
) id:Method_DialogCreateEditExternalSupply_EnableDisableComponent 
 | 
{ 
 | 
  #keys: '[136682.1.2082762938]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Enable disable components 
 | 
    if( isbatchedit ) 
 | 
    { 
 | 
      ddlContentProduct.Enabled( false,  Translations::MP_Designer_DisableSelectorForBatchEdit( 'product' ) ); 
 | 
      ddlContentStockingPoint.Enabled( false, Translations::MP_Designer_DisableSelectorForBatchEdit( 'stocking point' ) ); 
 | 
      dsContentDate.Enabled( false, Translations::MP_Designer_DisableSelectorForBatchEdit( 'start date' ) ); 
 | 
      dsManufaturedDate.Enabled( false,  Translations::MP_Designer_DisableSelectorForBatchEdit( 'manufactured date' ) ); 
 | 
      EditFieldQuantityTon.Enabled( false, "" ); 
 | 
      EditFieldDescription.Enabled( false, "" ) 
 | 
       
 | 
    } 
 | 
  *] 
 | 
} 
 |