Editable Field in Posted Purch. Inv.

navpr
Member Posts: 6
Hi all,
I added an editable field in the table 122. Purch. Inv. Header. I also added in form 'Posted Purchase Invoice' but how can i make editable in form.
I need this field to put in each Posted Purchase Invoice a int. 0 or 1 and than using this filter generate a report in Purchase Book.
I added an editable field in the table 122. Purch. Inv. Header. I also added in form 'Posted Purchase Invoice' but how can i make editable in form.
I need this field to put in each Posted Purchase Invoice a int. 0 or 1 and than using this filter generate a report in Purchase Book.
0
Comments
-
Hi Navpr,
the first thing you need to do is give the user the permission to change records in the table 122, you can only do this using a dealer licence. You apply this in the property of the form.
But now you have to be careful since you basically gave the user rights to modify all fields. So you might end up changing the properties of all the fields to non-editable, apart from the one you want the user to be able to modify.
A alternative scenario is that you create a new list form for that table, add Modify permissions, and add a few columns.
The advantage of the second scenario, apart from the fact that it's easier to make, is that you can assign this to a limited number of users only
Hopes this helps youhttp://www.vssolutions NAV-Outlook synchronisation re-invented.0 -
Create a codeunit, with the development license give the codeunit permissions to modify the table and call the function in the codeunit when the field is modified.
See codeunit 391 (Shipment Header - Edit No) as an example.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