how can I get a field to show up in another form?

demi222
Member Posts: 131
In Sales and Receivables, if you go to Invoices (form 43) and then the Shipping tab, there is a text field: Shipment Reason.
However, when I post the invoice, the shipment reason does not show up in the Posted Invoices (form 132) section... in fact there is no such field there.
If I add a new field to the Sales Invoices Table and call it Shipment Reason, and then add it to Posted Invoices (form 132), how can I make it get the information from the Invoice form (form 43)?
Please help...[/b]
However, when I post the invoice, the shipment reason does not show up in the Posted Invoices (form 132) section... in fact there is no such field there.
If I add a new field to the Sales Invoices Table and call it Shipment Reason, and then add it to Posted Invoices (form 132), how can I make it get the information from the Invoice form (form 43)?
Please help...[/b]
0
Comments
-
Hi,
The shipment reason is needed when you ship. The invoice (τιμολόγιο) does not ship, so there is no reason to do anything.
To ship you must make an order, fill the shipping tab and ship from there which creates a posted shipment, with the shipment reason and other fields inherited.0 -
Fields are transferred from the sales documents to the posted sales document using the transferfields statement. This means fields in the sales documents will be transferred to the posted document if the field nummer, type and length is the same.
Check the help for more info.
Just define the same field in the posted documents, Navision will do the rest."Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
my customer wants this, even if it is only an invoice...
however, I did figure it out... I added a line of code in the codeunit 80.
Thank0 -
You need to if you want to transfer values to other fields. If you create a new field, same number, same type and same length I will work without any adjustments....
Well.... see post above"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."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