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.

Parents
  • 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.

Reply
  • 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.

Children