Error: 0 in Method SETKEYVALUE

I have a customer that is using the Invoice Data Entry screen. I've done BOI work to import a record into that screen. I use SetKeyValue and SetKey to insert a record using BOI. It works fine, but sometimes it hangs and errors out with <Error: 0 in Method SETKEYVALUE>. They are using Sage 100 2014 Advanced so it is the ProvideX variant, not SQL. It seems to hang and error out when there is a spike in cpu activity on the Sage 100 server. They do have some type of anti virus, doing some research this is one thing to look at and we are investigating, and they have many users in the system when inserting the record via BOI. Is this normal behavior? Could there be a lock from another user that is making the insert via BOI wait and then timeout? The insert is fast when no one else is in Sage 100, but we can't narrow down the problem to why it would become very slow to insert the record at other times. Enough to create this error when the key value is valid and should not error?


Any suggestions would be appreciated or thoughts.

thank you