Update a field on "editable = false" in OnValidate
Brax
Member Posts: 4
Hi guys,
In Sales Order Subform (Sales Lines), I need to update a field on "editable = false" when I write something in a specific field on Sales Order (Sales Header).
Is it possible on NAV 2013 R2?
Thanks in advance.
In Sales Order Subform (Sales Lines), I need to update a field on "editable = false" when I write something in a specific field on Sales Order (Sales Header).
Is it possible on NAV 2013 R2?
Thanks in advance.
0
Answers
-
please google. you will find many posts
http://forum.mibuso.com/discussion/53783/change-editable-property-of-page-on-condition0 -
The editable property pertains to the UI. In code (OnValidate) you can still modify the field. This applies to all version of NAV.
In case you want to update the editable property of a control in the subpage, you need to do this from within the subpage in just the same way as if it was a standalone page. Check out the UpdateForm function on the Sales Order Subform page for an example on how to update the subpage from the header page (this example does not modify the editable status, but you see the principle of updating the subpage from the header)0 -
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
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

