Quintiq file version 2.0
#parent: #root
Method EditCustomerOrderPriority (
  CustomerOrder selection
) id:Method_DialogEditCustomerOrderPriority_EditCustomerOrderPriority
{
  #keys: '[414382.0.581575991]'
  Body:
  [*
    // Edits assumption
    data := shadow( selection );
    
    DataHolderSelectCustomerOrder.Data( &data );
    businessType := select( GlobalOTDTable,BusinessType,bt,bt.BusinessTypeName() = selection.BusinessType());
    DataHolderSelectBusinessType.Data( businessType );
    
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
