Error: While sending an expense report to Sage, you may get the following error -


Timestamp:4/4/2025 12:21:56 PM Category:Sage300 Exception Priority:1  EventId:102 Severity:Critical

                  Title: Exception while processing Expense Record 

           Message:Message: Error HRESULT E_FAIL has been returned from a call to a COM component.


-----------------------------


Timestamp:4/4/2025 12:21:56 PM Category:Update UnSuccessful Priority:1  EventId:1 Severity:Information

                  Title: Failed

           Message:ExpenseId = 362 ExpenseNo = GE362   

              

------------------------------


Timestamp:4/4/2025 12:24:21 PM Category:Update Successful Priority:1  EventId:1 Severity:Information

                  Title: success

           Message:ExpenseId = 362 ExpenseNo = GE362    

           

-------------------------------


Timestamp:4/4/2025 12:24:21 PM Category: Update Successful, Download UnSuccessful Priority:1  EventId:1 Severity:Information

                  Title: Failed! PDF path is blank

           Message:ExpenseId = 362 ExpenseNo = GE362

                 

================================================================================================================================


Solution: Kindly go through the following troubleshooting steps:


1) Please verify whether the expense reports were approved through the standard approval workflow—meaning the reports were fully approved by the assigned manager/approver, rather than having the status updated directly to “Approved.”  


2) If the expense report is not properly approved in the proper workflow, then please make sure that the expense report is approved again in the proper manager workflow. To check if it is approved in the proper workflow, please check the "Audit Trail" for that particular report. 


3) Before sending the expense report to Sage, make sure to delete the previously created invoice from Sage. Once the above steps are done, try pushing the Expense Report to Sage again.