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.
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.
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...
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.
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.
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.
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.
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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 specialist
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??
Never mind my earlier question. Didn't add my fieldno in the right sourcetable.......... :oops:
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 specialist
Yep. Noticed that. [-X
Tino Ruijs
Microsoft Dynamics NAV specialist
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 specialist
Tino Ruijs
Microsoft Dynamics NAV specialist
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 specialist
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 specialist
:shock:
And plan the development course!
Tino Ruijs
Microsoft Dynamics NAV specialist
Now he gave you a call?
Tino Ruijs
Microsoft Dynamics NAV specialist