Greetings,
Our product allows a user to push invoices from our system in to a Sage 50 system. We use the .NET SDK for integration. We're having problems at a specific customers site.
The scenario is as follows. The user "closed" out some books (I presume closed out some old accounting periods). The invoice in question was created this month, so I don't suspect it has anything in particular to do with the closing of the books, but the customer mentioned it as the triggering event that may have caused this.
They then used our product to POST an invoice in to Sage 50. Our system believed that the POST to Sage 50 functioned fine (we caught no exceptions in the process of POSTing the Sales Invoice to Sage 50). However, the user went in to Sage 50, searched for the Invoice number, and could not find the invoice. They they called us to try to troubleshoot what was happening.
I opened their Sage 50 and using the basic search feature within the Sales Invoice List, was not able to find the invoice (searching by Invoice Number).
I cleared our system to let me try to POST the invoice again from our product in to Sage 50.
When we attempt to POST this invoice to Sage 50, we get the following error from the Sage 50 SDK (this error happens during our call to Validate() function within the Sage.Peachtree.API.SalesInvoice class):
Reference number is not unique for this customer or vendorReference number is used by another customer or vendor.
To me, this seems to be telling me that Sage realizes it already has this Invoice (from the very first time the user POSTed it). But yet, when I search for the Invoice, I cannot find it. We made sure that the Date Range setting in the Sales Invoice List was set to "All Transactions".
Any ideas? I half think this is just a setting in the Sage 50 client; that even though I set the system to search "All Transactions", I'm still only looking at a subset of the data.
Many thanks!