Quintiq file version 2.0
#parent: #root
Method EnableDisableComponentsForBatchEdit (
  Boolean isbatchedit
) id:Method_DialogCreateEditAccountCost_EnableDisableComponentsForBatchEdit
{
  #keys: '[124808.1.492718778]'
  Body:
  [*
    // Enable disable components for batc edit
    // Only allow batch editing cost
    if( isbatchedit )
    {
      SelectionAccount.DisableWithUserFeedback( Translations::MP_Designer_DisableSelectorForBatchEdit( 'account' ) );
      StringSelectionCostDriver.DisableWithUserFeedback( Translations::MP_Designer_DisableSelectorForBatchEdit( 'cost driver' ) );
      GUIDateTimeSelectorStart.DisableWithUserFeedback( Translations::MP_Designer_DisableSelectorForBatchEdit( 'start' ) );
      StringSelectionTimeUnit.DisableWithUserFeedback( Translations::MP_Designer_DisableSelectorForBatchEdit( 'time unit' ) );
      EditorLengthOfTime.DisableWithUserFeedback( Translations::MP_Designer_DisableSelectorForBatchEdit( 'length of time' ) );
    }
  *]
}
