Yes. It works, though I had to comment out a string which contained national characters like this, otherwise the was left in tmp folder and not attached.
fname = "tmp/" /*& USetStr(1818) & " " */ & IPr.SerNr & ".pdf";
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...