We're using jscript.
I found and added the following and it appeared to work. Tested on 2 expense reports so far and it went through fine. Will wait and see if this fixed it.
{
XDocument.QueryAdapter.Timeout=120;
XDocument.Submit();
XDocument.Submit.Timeout=120;
}
I added the third line because I was not sure if leaving the second line as is would work.