• Generate Auto number for sales invoice and sales order

    Hi All, How to get next invoice number using peactree SDK (interop.peachwserver.dll) Any help on this will be appreciated. Thanks.
  • I/O Error on API call after server migration

    Recently, we had a client's Sage 50 server migrated. A full backup of the company file was taken, moved to the new server, and then the backup restored overwriting the company directory on the new server. We are able to log into the Sage 50 company on…
  • How to set date range for customer export? sage50 api question.

    Im exporting sage50 customer details in this code. Please let me know how can I set date range to the exporter object so that will pull only contact updates within certain dates. Code- exporter = (Export)ptApp.CreateExporter(PeachwIEObj.peachwIEObjContactsList…
  • How to overwrite the sales tax using sdk

    We want to be able to write the Sales tax of a document back to sage using a third party application. From the .net dll, we have understood that the sales tax can only be calculated but not written to. But we want to know if there is any way we can edit…
  • Can't export units of measure.

    When this line executes: var exporter = (Export)app. CreateExporter(PeachwIEObj.peachwIEObjUnitMeasure); I get this error: The import object id specified is not valid. Please check the import object in the documentation. The enum is evaluating to…
  • .Net and bill of materials.

    Can we access the component items of an AssemblyItem via .Net? I don't see anything obvious in the API. Maybe COM is the only way to get there?
  • CriptographicException and System.InvalidOperationException

    I can hit all the sample databases and my private database locally; however, when deployed I get this exception: System.Security.Cryptography.CryptographicException","StackTrace": " at Sage.Peachtree.API.PeachtreeSession.VerifyOrRequestAccess(CompanyIdentifier…
  • Sage 50 2016 SDK - The type or namespace name 'Sage' could not be found (are you missing a using directive or an assembly reference?)

    Hi, I tried to connect to Sage 50 2016 but It is impossible, when I compile my code, I get this error: Error 4 The type or namespace name 'Sage' could not be found (are you missing a using directive or an assembly reference?) It is a little weird…