Show the flow field in another table
vyanku
Member Posts: 791
If we want to get the value of balance filed of perticular vendor from vendor table in new table
how can we get that value?
When I try it shows me error " balance must be in primary key in vendor table" but balance is the flow field and flow filed will not become a primary key.
how can we get that value?
When I try it shows me error " balance must be in primary key in vendor table" but balance is the flow field and flow filed will not become a primary key.
0
Answers
-
-
I tried that also
I just want to get the value of Amount field in the new table for specific vendor.
It show me error
"The field below must be included i tables primary key"
Field :- amount
Table :- Vendor ledger entry0 -
You need to create own C/AL code into "OnLookup" trigger. You cannot use the TableRelation for that.0
-
:oops:It show me error
"The field below must be included i tables primary key"
Field :- amount
Table :- Vendor ledger entry
You need to use Detailed Vendor Ledger Entry.
Kine Wrote
I tried to define a flow field in Purchase Header table with relation to "Buy from Vendor No." field by using the detailed vend ledger entry table and it worked. Why to write the C/AL code :-kYou need to create own C/AL code into "OnLookup" trigger. You cannot use the TableRelation for that.CA Sandeep Singla
http://ssdynamics.co.in0 -
Because I thought that you want to select the value and enter it into some field... it was my misunderstanding... :whistle:0
-
Actually my problem is
I create a new table having fileds vendor no. and balance
Now what I want, when I insert vendor no. in first field it will takes a balance/amount of that vendor automatically in 2nd field.
Please tell me what can I do?0 -
-
Actually my problem is
I create a new table having fileds vendor no. and balance
Now what I want, when I insert vendor no. in first field it will takes a balance/amount of that vendor automatically in 2nd field.
Please tell me what can I do?
Sorry but I am not able to solve the problem0 -
Define the balance field properties as such:
Field Class : FlowField
CalcFormula : Sum("Detailed Vendor Ledg. Entry".Amount WHERE (Vendor No.=FIELD(Customized Table vendor field)))
I hope this will solve the problem.CA Sandeep Singla
http://ssdynamics.co.in0 -
Thanks ,
This solution solved my problem \:D/ :P :whistle:0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
