Improved logging and debugged casting problem in order entry.
Added capability to use the reversal module's separate-order processing.