Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Purchase order locks 1

Status
Not open for further replies.

wwwedward

IS-IT--Management
Oct 26, 2003
161
US
Macola sql2000 7.6200.5

Problem record locks in the purchase order area. Other users cannot reprint a purchase order. We get a buy-planner code locked error upon trying to print.

HOw would you sql enterprise to determine locks or any other ideas?

 
This is a 2 parter for you.

1. To determine who has what locked:
In Query Analyzer type or paste this in:
use msllockdb
go
select sessionid, tablename, rowid from maclocks
exec sp_who

2. To clear the Buyer/Planner lock if it is caused by an abnormal exit:
In Macola: System Manager>Processes>Initialize Distribution>PO Files>POBUYERP (PO buyer print file)

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top