To follow up on this, it turned out it didn't have to do with scripting when launching SageCRM versus running it through sales order at all. The difference is in how the role permissions were set up. Steffan does not know scripting, so he was making some assumptions. I think the key is, that when you launch a sales order through regular MAS, it uses the user you are logged into MAS as. But when you launch it when in SageCRM, it actually launches it as the user you are logged into SageCRM as -- via cross-reference to the MAS user/salesperson list. And, if your script is accessing anything outside of sales order entry (which my script was) you better make sure you have permissions to access that task. Problem solved!