Sales Journal update

How do I stop a script from triggering during the Sales Journal update on the Sales Order header pre-write?