Add field from another Table.

rranjanerp
Member Posts: 70
I have to display a field named inventory in the Indent Line. The main table used is indent line but the Inventory value is present in another table named : ITEM. How can i use that Inventory value from Item table in the Indent Line.? plz suggest ? same problem with main table indent line & the value of field which i have to use heere is available in the other table named : Value entry. field name : Cost per unit. how to display cost per unit in indent line..i guesed i m lacking in checking the primary keys , but which one to make primary ? & how to select it from C/al symbol menu..plz .describe..
Thanks
Rajeev
Thanks
Rajeev
0
Comments
-
Can you tell us what did you try till now?0
-
rranjanerp wrote:I have to display a field named inventory in the Indent Line. The main table used is indent line but the Inventory value is present in another table named : ITEM. How can i use that Inventory value from Item table in the Indent Line.? plz suggest ? same problem with main table indent line & the value of field which i have to use heere is available in the other table named : Value entry. field name : Cost per unit. how to display cost per unit in indent line..i guesed i m lacking in checking the primary keys , but which one to make primary ? & how to select it from C/al symbol menu..plz .describe..
Thanks
Rajeev
Try something likeIF Item.get("item No.") then begin item.calcfields(inventory); end else clear(item); Message('Inventory value is %1',item.inventory);
David Singleton0 -
using a calcfield seems logical in this situation0
-
Resender wrote:using a calcfield seems logical in this situation
Yes definitely a good option.David Singleton0 -
THANKS A LOT ..
IT WORKS FINE..I WAS USING SumIndex...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