Why do certain SDK functions take longer complete?

SUGGESTED

I am encountering an odd problem and could sure use some insight.

I'm rewriting one of our older web applications in order to add more functionality.  I have a form to add, edit and delete sales orders.  Adding and deleting orders work great but I have an odd problem when editing.

  • Users can edit the header information with no errors.
  • Adding a new line item?  No problem.
  • Change the stock item, quantity or description for a line item - piece of cake.

But if a user deletes a line item the process can take several minutes to complete.  And of course if the user tries to resubmit the change they receive a Btrieve error 84 because the record is locked.  It is obviously working but I don't understand the lag when deleting a line item from a sales order.  I'm almost certain this behavior is the source of some other odd problems we had with the original app I'm currently revamping.

Also note that our company file size is very large, ridiculous actually, so I'm sure that's probably amplifying my troubles.

Thank you.

  • 0

    I have some follow up information.  Sage is running on my development machine so no other users are connected and I have only posted updates to sales orders.

    There were 5 error messages that popped up.  Each one read as follows:

    "You must have the OwnerID to open the file
    "C:\sage\peachtree\company\conentll\INVCOST.DAT" for update.

    The message was repeated for RECEIPTTAG.DAT, JRNLHDR.DAT, AND CHART.DAT (I didn't take note of the first "DAT" file that was stated.)

    When I clicked OK I got popup titled Assertion Failed which read as follows:

    Assertion Failed

    But the actual sales order did update successfully.

  • 0 in reply to TheLowMan
    SUGGESTED

    Please make sure that your Sage 50 US instance is activated with a valid license key/serial number and active support plan for the SDK/API to work. If you don't have one, you can join our Development Partner Program which would entitle you to a full developer license of Sage 50 and API technical support by email. Please send you contact details to [email protected] to start the application process. Thanks!

  • 0 in reply to SoumenS

    Thank you for the reply.  I will go that route and follow up after.