Sage 100

 View Only
  • 1.  Premium record locking

    Posted 09-14-2023 11:29

    Does anyone know the details of Sage 100 Premium record locks?

    Customer with multiple outside programs reading a view on sales order data that periodically seems to get hung up on a sales order that is open for editing, and unfortunately sometimes their orders take awhile to get entered.



    ------------------------------
    Phil McIntosh
    President
    Friendly Systems, Inc.
    ------------------------------


  • 2.  RE: Premium record locking

    Posted 09-14-2023 12:59

    For just reading data, try modifying the view to ignore locks: (reference link)



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 3.  RE: Premium record locking

    Posted 09-14-2023 13:28

    I had a similar though not identical situation. I believe - though I was not the DBA creating or maintaining the integrations - that my customer's situation had to do with queries. I asked in the group and I'm sure there's a thread somewhere here that has the answer but after 15 minutes of really really good faith effort at searching I cannot find the thread.

    Here are my notes - just as an FYI - and with the caveat that this probably does not even apply to what your asking though it may apply to someone in the future if they search this topic.

    Wayne,
    Are there any SQL Queries or stored procedures access the Sage 100 work tables. We had what appear to be the exactly the same issue, after a lot of troubleshooting we determined that it was SQL queries running. Those queries were only doing read request and not doing any write functionality, but the were putting locks on tables all the same.   We change the queries to use with (NOLOCK) and it resolved the problem (link below).  In the meantime, until you track down the cause, when the program bombs out to the ProvideX command, have the user type RUN and hit enter it should restart the update without duplicating anything.  
    PS - Note to self - when making notes from 90 Mind HL always save a link to the original post 


    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------



  • 4.  RE: Premium record locking

    Posted 09-14-2023 13:29

    Update: 

    Found the original message - https://community.90minds.com/discussion/sage-100-2022-premium-with-scanforce-and-other-integrations-record-in-unknown-file-name-is-in-use-by-another-task



    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------



  • 5.  RE: Premium record locking

    Posted 09-14-2023 14:36

    Thanks @Kevin Moyes & @Wayne Schulz!



    ------------------------------
    Phil McIntosh
    President
    Friendly Systems, Inc.
    ------------------------------