A generic framework for setting the order number/code in Drupal Commerce