Quintiq file version 2.0
#parent: #root
Method ShowHideComponentForBatchEdit (
  Boolean isbatchedit
) id:Method_DialogCreateEditSalesDemand_ShowHideComponentForBatchEdit
{
  #keys: '[107528.0.165397786]'
  Body:
  [*
    // Show hide components
    CheckBoxBatchEditSalesSegment.Visible( isbatchedit );
    CheckBoxBatchEditStockingPoint.Visible( isbatchedit );
    CheckBoxBatchEditUnitOfMeasure.Visible( isbatchedit );
    CheckBoxBatchEditProduct.Visible( isbatchedit );
    
    CheckBoxBatchEditStart.Visible( isbatchedit );
    CheckBoxBatchEditEnd.Visible( isbatchedit );
    CheckBoxBatchEditCurrency.Visible( isbatchedit );
    
    CheckBoxBatchEditQuantity.Visible( isbatchedit );
    
    CheckBoxBatchEditPrice.Visible( isbatchedit );
    CheckBoxBatchEditPriority.Visible( isbatchedit );
    CheckBoxBatchEditDemandUncertaintyPercentage.Visible( isbatchedit );
    
    CheckBoxBatchEditIsExcludedFromFulfillmentKPI.Visible( isbatchedit );
    
    ValueHolderIsBatchEdit.Data( isbatchedit );
    this.EnableDisableComponent( isbatchedit );
  *]
}
