Browse By Tags

  • CS0120 Options for Calculated fields

    I was having a discussion in another post but it was getting too long and I figured this might be a good post for others to find. Trying to grab a lot of data from Sage, and I was pointed to CSO120. It's been great so far, but I've run into a couple snags…
  • Calling .net API FilterFetch on Customer View gives Attempted to read or write protected memory error

    FilterFetch on a client machine is throwing the following error on customers. Works on my local machine Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory…
  • How to figure out errors ViewExceptions .NET API

    I'm trying to insert an order using the API - and I'm getting back an error that just says 6666 How can I find what this means, and in general, is there a way to get the COM exceptions and error codes? I know how to get session.Errors, but that is empty…
  • <Error: 0 in Method UPDATEINT>

    Hi, I have the code below for automatic registration/update of the production transactions. I've been getting an error on the UpdateInit method. oSS2.nSetProgram(oSS2.nLookupTask("BM_ProductionRegister_UI")) objTransactionRegister = oScript2.NewObject…
  • Enable COM SDK / API to run in headless mode

    Sage 50 SDK / API requires the Sage 50 desktop UI to remain open. Sage 50 .NET already has this ability implemented exactly how the Sage 50 COM SDK / API should be implemented.
  • 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…
  • Sage CRM 2021: Controlling field and screen spacing in ASP pages and .NET code.

    Below is a screen shot of the Company Summary screen. Complex screens like this one, either for a system entity or a custom entity, can be built using the APIs. A partial rebuild of the Company Summary Screen using the .NET API is actually included…
  • Library Record Creation - Sage 2017 R2 - SOAP /WEBSERVICES - Question

    All, Thanks for taking the time to read this. I have an issue with creating a library record via web services. AIM : Create a library Record -> Populate fields with data. Sample Code: ewarebase[] CRMBase = new ewarebase[1];//Allows reference…
  • Creating a .NET Screen to Display Multiple Entities

    Hi All, I am having an issue whereby the screens in .NET are not able to display information from a view containing two entities. I remember distinctly being able to do this in ASP. I've got a view to join a Custom Entity to the Person Entity and…
  • installation sage crm

    Hi, I tried to install sage crm but an error message mentioned that the filtre isapi is not installed. However it is installed in IIS. How to deal with it. please help. I tried to réinstall it.
  • Popup Window Issues in 7.2f1

    On our quote page I've added a button to open a popup window to add a new address for the customer. var buttonaction = crm.url(241).replace("Key0=86", "Key0=1").replace("Mode=3", "Mode=1")+"&PopupWin=Y"; var xURL = "<a id='btnnewaddress' href='#'><img…
  • Workflow

    another qustion on this context "Workflow" when i go to new case or new opportuinty and then press new custome entity the system bring for me the rule for case or opportuinty last select not rule for custome entity any help
  • SAGE CRM Integration failed to update CRM

    Hi, I installed Integration component for SAGE ERP ACCPAC 5.6 to integrate ERP and CRM. It installed sucessfully.But when i add new customer in ERP, it failed to update CRM.It shows the following error message. Description: Failed to update SageCRM…
  • What is the Filed for Expense account for Vendor on Export when using the COM API

    Using the COM API, I was able to export VendorId, VendorName. But when it tried to import Expense account, I was not able to distinguish which peachwIEObjVendorListField to use. So, I tried to use Exporter.AddToExportFieldList((short)PeachwIEObjVendorListField…
  • 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…
  • .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?
  • Development Partner resources

    I just joined the Development Partners program because based off the website the program offers “Access to a software development kit (SDK), including tools, sample code, and resources you need to successfully develop and test applications. For selected…
  • 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…
  • API question(s)

    Following this unanswered question: http://sagecity.na.sage.com/support_communities/sage_timeslips/f/51/t/69294.aspx In 2013, is the API truly a Delphi-based Win32 dll? Are there any resources besides the relatively hard to navigation tsapi.hlp? …