Field not storing information

Ramonchu
Member Posts: 31
Hello.
I've added a new field to posted shipments (table 110 Sales Shipment Header). It is a field similar to Tracking No.
After I've added that field to pages 110 Posted sales shipment and 142 Posted Sales Shipments, with Editable=true
Two problems:
a) If I click on a posted shipment (editing), I enter a text into the new field, but after cliking Ok and close the field is empty, it doesn't store the information. If I do the same with Tracking number, no problem. Could it be a permissions problem?
b) I would like to edit this field from the page 142, in list format. Is it possible?
Thanks.
I've added a new field to posted shipments (table 110 Sales Shipment Header). It is a field similar to Tracking No.
After I've added that field to pages 110 Posted sales shipment and 142 Posted Sales Shipments, with Editable=true
Two problems:
a) If I click on a posted shipment (editing), I enter a text into the new field, but after cliking Ok and close the field is empty, it doesn't store the information. If I do the same with Tracking number, no problem. Could it be a permissions problem?
b) I would like to edit this field from the page 142, in list format. Is it possible?
Thanks.
0
Answers
-
a) When you want to modify a posted document, extra permissions needs to be added to the object. Therefore, the changes to this table are done through codeunit 391 "Shipment Header - Edit". You should add the new field in this codeunit.
b) Then you have to set the Editable-property of this page to True, and set the Editable property of all other fields to No (except the field you want to be able to change).No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)1 -
Hello Luc.
Thank you very much for your help!
Solution to the first problem was the codeunit. After I added the new field as you told me, it works.
Point b still doesn't work. I set to Yes the Editable property of the page (142) and by now I keep enabled all the other fields (I will disable after testing), but when I go to Posted shipments documents, when I clic on a line, nothing happens. I can't edit any of the fields of the line. It is like the Editable property doesn't work for a list page.
Any idea?0 -
When you run the page from the Role Center, do you see Actions -> Edit list on that page? What version of NAV are you using?No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Yes, I see it (Posted sales shipments, top left), and if I clic on Edit it opens page document 130 as usual. I'm testing with NAV2015.
0 -
I was talking about the action "Edit list"No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
No, "Edit list" no. Only Edit. Even if I run the page 142 from the development enviroment, it only has Edit button.
I've removed the CardPageID="Posted Sales Shipment" from page 142 properties. After, when I doubleclic on a line, the page list opens in edition mode. The problem is that I would like to have both things at the same time: with one clic I edit from the list, with double clic I go to the document.
I don't know how to configure page 142 in edit mode. I've also checked the property RunPageMode in the Action "Page Posted Sales Shipments" in page 9006 "Order Processor Role Center", and it is in Edit mode.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