How to lock a record while it is opened by a user ?

Aure69
Member Posts: 30
Hi,
We work on a 2.60 Finanancials version w/ a SQL db. We would like to lock the records for all the headers of every purchase/sales documents. ie when a user is working on an quote/order/invoice... no one can et access to it while the record is opened. Do you see any way to do this ?
Thanx in advance for yr help.
We work on a 2.60 Finanancials version w/ a SQL db. We would like to lock the records for all the headers of every purchase/sales documents. ie when a user is working on an quote/order/invoice... no one can et access to it while the record is opened. Do you see any way to do this ?
Thanx in advance for yr help.
Business Analyst
Incadea (Vertical solution for the automotive market based on Nav 2.60)
French speaking European/African/Indian Ocean countries.
Incadea (Vertical solution for the automotive market based on Nav 2.60)
French speaking European/African/Indian Ocean countries.
0
Comments
-
I wouldn't use locking to give this feature to the client.
Issueing a lock, doesn't lock sql record, but rather sql makes the transaction serializable. So SQL will make the decision when to lock the record, or a page or the whole table.
Anyways I would rather create a new field called "Is being Modiied by", fill it in by the userID and do not allow anybody to modify the record, once the order is release, remove the field.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions