Quintiq file version 2.0
#parent: #root
Method ShowHideComponentForBatchEdit (
  Boolean isbatchedit
) id:Method_DialogCreateEditCustomerOrder_ShowHideComponentForBatchEdit
{
  #keys: '[142576.0.84643271]'
  Body:
  [*
    // Show hide components
    CheckBoxBatchEditSalesSegment.Visible( isbatchedit );
    CheckBoxBatchEditStockingPoint.Visible( isbatchedit );
    CheckBoxBatchEditUnitOfMeasure.Visible( isbatchedit );
    CheckBoxBatchEditProduct.Visible( isbatchedit );
    
    CheckBoxBatchEditOrderDate.Visible( isbatchedit );
    
    CheckBoxBatchEditCustomerName.Visible( isbatchedit );
    CheckBoxBatchEditCustomerID.Visible( isbatchedit );
    CheckBoxBatchEditOrderID.Visible( isbatchedit );
    CheckBoxBatchEditOrderLineID.Visible( isbatchedit );
    
    CheckBoxBatchEditCurrency.Visible( isbatchedit );
    
    CheckBoxBatchEditQuantity.Visible( isbatchedit );
    
    CheckBoxBatchEditPrice.Visible( isbatchedit );
    CheckBoxBatchEditPriority.Visible( isbatchedit );
    
    CheckBoxBatchEditIsExcludedFromFulfillmentKPI.Visible( isbatchedit );
    
    CheckBoxBatchEditIsEligibleForNetting.Visible( isbatchedit );
    CheckBoxBatchEditIsFirmed.Visible( isbatchedit );
    
    ValueHolderIsBatchEdit.Data( isbatchedit );
    this.EnableDisableComponent( isbatchedit );
  *]
}
