Sales Invoice not Integrating due to error : "(-1) Please check Invoice Series for this Department"

Sales Invoice not Integrating due to error : "(-1) Please check Invoice Series for this Department"

Problem Statement 

Sales Invoice is not Integrating from SAP to iVend and stuck in Integration failure Log with the error message


"System.Runtime.InteropServices.COMException (0xFFFFFBA4): (-1) Please check Invoice Series for this Department at SAPbobsCOM.CompanyClass.EndTransaction(BoWfTransOpt endType) "

 

Resolution/Work Around

 This error usually occurs when the Document Number Series is not created in SAP B1.

So need to create Document Number series in SAP B1 -> restart the Integration service -> And Retry the failed Records


Recommendations /Suggestion

It is suggested to define the document number series in SAPB1 for those documents, integrating from iVend to SAPB1.