How to add fieldno's to the fieldmenu

Mike1
Member Posts: 78
How can I add fieldno's to the fieldmenu, which i can use to edit my forms??
THX
THX
Man who put head on railroad track get splitting headache...
0
Answers
-
You mean the field menu in the form designer? You cannot... sorry.. but you can add the editbox (column or field) manually to the form (with connected label) through the toolbox and use "FieldXXX" as the souce expression to connect the editbox to the Field with name XXX. After you save and reopen the form, correct field name will be used automatically.0
-
Hi Mike,
You must add a field to the table which is used in the form (Form-property SourceTable).
After adding the field to your table, it will be visible in the field menu.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
Hi Tino,
I've added the fieldno to table no 18, yet, when I open the field menu in Form designer (form 143), it is still not visible in the fieldmenu. Is there something I am missing?? The field that needs to be added to the field menu is a Boolean field, does it have to do with that??Man who put head on railroad track get splitting headache...0 -
Hi Tino,
Never mind my earlier question. Didn't add my fieldno in the right sourcetable.......... :oops:Man who put head on railroad track get splitting headache...0 -
Hi Mike,
That's because the SourceTable of form 143 is "Sales Invoice Header".
So the new fields needs to be added to table 112.
And I assume you also want it on the other sales tables; 36, 110 and 114.
And in table 18? And you want to transfer the value on the customer to the Sales Header?
Then you have to edit Sell-to Customer No. - OnValidate() in table 36.
And the field-ID of the new field has to be the same in all tables to make sure the value is being transfered (TRANSFERFIELDS) to tables 110, 112 and 114.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
Hi Tino,
Indeed, the value entered in the customercard, should also transferred in the sales header, and non-editable.
But I cannot seem to find, where to edit that field in the sales header form.
Can you tell me what properties to modify?? :-kMan who put head on railroad track get splitting headache...0 -
Mike1 wrote:Hi Tino,
Indeed, the value entered in the customercard, should also transferred in the sales header, and non-editable.
But I cannot seem to find, where to edit that field in the sales header form.
Can you tell me what properties to modify?? :-k
And in table 18? And you want to transfer the value on the customer to the Sales Header?
Then you have to edit Sell-to Customer No. - OnValidate() in table 36.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
The non-editable-setting is set in property Editable on the field in table 36.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
Hi Tino,
I know that I should edit table 36. But do I have to edit the properties of Field no "Sell-to-Customer"?? And, if so, where should I edit what....Man who put head on railroad track get splitting headache...0 -
Mike1 wrote:Hi Tino,
I know that I should edit table 36. But do I have to edit the properties of Field no "Sell-to-Customer"?? And, if so, where should I edit what....
No, you have to edit the code which you find in the OnValidate of Sell-to Customer No.. Use F9 on the field Sell-to Customer No.
And search for ""Sell-to City" := Cust.City;". Here somewhere you must make your modifications.
Btw, Mike; I think a development course can be very helpfull to learn the basics of development in NAV.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
Hi Tino,
I figured out the non-editable part already. But, how do i get the value entered in the customercard to be exactly the same on the sales header.
What are the exact steps to realize that??Man who put head on railroad track get splitting headache...0 -
Mike1 wrote:Hi Tino,
I figured out the non-editable part already. But, how do i get the value entered in the customercard to be exactly the same on the sales header.
What are the exact steps to realize that??
No, you have to edit the code which you find in the OnValidate of Sell-to Customer No.. Use F9 on the field Sell-to Customer No.
And search for ""Sell-to City" := Cust.City;". Here somewhere you must make your modifications.
Btw, Mike; I think a development course can be very helpfull to learn the basics of development in NAV.
The := copies the value on Cust (customer) to the sales header.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
I think I'm gonna ask the pro's.........
:shock:Man who put head on railroad track get splitting headache...0 -
I thought this was the place to ask the pro's0
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