Renaming a record
vikki
Member Posts: 28
Hi
In the customer card other than Editable property is there any way to block the customer
That is when Iam entering a new record the fields should be editable, once a record is entered then it should not be editable
I tried with (if not cust.find('-') then currform.editable:=true) it is not working
In the customer card other than Editable property is there any way to block the customer
That is when Iam entering a new record the fields should be editable, once a record is entered then it should not be editable
I tried with (if not cust.find('-') then currform.editable:=true) it is not working
Thanks
0
Comments
-
vikki wrote:That is when Iam entering a new record the fields should be editable, once a record is entered then it should not be editable
What's your plan if a change to an address or phone # is needed?
You can also make it editable or not based on super user rights or not.0 -
If you use the number series to assign the new customer number, then you can make the field not editable on the form and it will still be filled in on an F3 insert new record. even though it is not editable.
I am assuming that is what you mean, since the renaming record only applies to the customer no. field, not the remaining fields on the table0 -
Hmmm, so you think it's all about the cust# only.
when I saw currform.editable I thought he wanted to lock down the whole form.0 -
not really sure, but between the two of our answers we should be able to find out.Savatage wrote:Hmmm, so you think it's all about the cust# only.
when I saw currform.editable I thought he wanted to lock down the whole form.
I have done a form, for new customers that the users access from the regular customer card, which I made non-editable, they press a button which open a blank new customer card that they edit and close when done. It is not full proof, but it handles most everything.0 -
a simple message on the Customer Table does the trick too.
OnRename of the Customer Table I have.ERROR('You are not allowed to rename Customers');
Works fine0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions