I think that, most likely, your service record record calls the code in the business component, which works conditionally, and then forces the record record from the code of the business component. This could be done either explicitly in the code of the business component, or implicitly use some of the ways in which the script can interact with the component. As soon as this happens, then recording a service record that is trying to increase the modification number may not be able to do this, since this modification number is incremented with a possible BC code, and you get this error. To solve the problem, I would check the offensive BC and comment out the code on events like PreSetFieldValue, SetFieldValue, PreWriteRecord, etc., And see if the error continues as an initial test. Then you will need to isolate the part of the BC code that is causing the error.
AlexC source share