Yes you guessed it right. As you need to change course for an order you’ll store course as an order state and use Order State grouping on printouts. So you need to assign course for an order and add a function for changing the course of a selected order.
To assign course you’ll need to create an Update Order State
action that sets the course state of the order. You’ll execute it for all new added orders by handling Order Added
event. You can read default course from product by using {ITEM TAG:Course}
(if you named your product tag as Course) and send that value to Update Order State action.
To change the course of an order you can use a Automation Command with parameters or Ask Question
action to let user to select a value. Again you’ll assign selected Course to order by using Update Order State
action.
As I’ve stated on your previous question I’ve uploaded a sample sdf database file here. You can review it for implementation details.
…also I’ve posted a database tools import file for same implementation.
… also here is the SQL backup file for 4.1.75 version.
SambaPOSTest_201411071709SQM.zip (458.4 KB)