Hi David,
This code is being executed by maintenance to process import files from a specific location on the server. Maybe this is why it does not work for me?
The register for Order Classes is common for Sales orders and Service orders. When I set an Order Class to create an Activity - it works for Sales Order, while for Service Orders - not. Is any setting...