I think I have tracked down the part of the code that triggers the problem. Its when I am updating a field in an Inventory Adjustment. This invlolves; loading the record (IA), setting a field to a new value then saving the record. If I do this on more than 30 records the error occurs. So I assume that load, change and save all cost units and more than 30 operations exceeds my alotted units.