Hello,
Am using the .NET API to create sales invoices in Sage. However, am getting the following error when I validate() or save() the sales inventory:
Sage.Peachtree.API.Exceptions.ValidationException was unhandled by user code
HResult=-2146232832
Message=All transactions must have a valid TransactionDate before the last day of the last open year.
Source=Sage.Peachtree.API
Through trial and error, I was able to find the acceptable date range.
Does anyone know how to find this date range via the API? If so, then I could avoid the error by adding validation to my code before saving to ensure that the transaction date is legit.
Thanks,
David