CRM 2020 SAGE 300 integration issue

SOLVED

We are getting the following error when trying to post an order to sage 300. "a problem occurred and the order could not be posted." The error occurs when trying to add a line to an order. The order actually posts correctly and shows if you refresh the quotes screen. Orders post correctly without the error if you do not add a detail line. Updating customer data in crm or sage also works correctly. We have uninstalled and reinstalled the crm workstation component. Any help would be appreciated.