bsy/tim=0

Started by Jeffrey Ferreira, March 02, 2021, 09:23:49 AM

Previous topic - Next topic

Jeffrey Ferreira

Hi All,
i'm trying to check if someone is in a purchase order before reserving against it.
I found that if i set tim=0 on extract it does exactly what i want it to do with little to no lag:

extract (po_file,key=po_number$,bsy=*next,tim=0)

Does anyone see any harm in my doing this?

Jeff

Ken Sproul

No real harm, but giving it a second would prevent unnecessary busy errors when someone tries to access a PO that just happened to be extracted but will be released in less than a second during say an update process.  Just something to consider.
Ken Sproul
DPI Information Service, Inc.
Pivotal Systems LLC

Jeffrey Ferreira