commission order function