Filter Last Entry in Purch. Inv. Line
elTorito
Member Posts: 191
Hi.
I had add a new Field in Table Item.
FieldClass: FlowField:
CalcFormula: Lookup("Purch. Inv. Line"."Unit Cost (LCY)" WHERE (Buy-from Vendor No.=FIELD(Vendor No.),No.=FIELD(No.)))
What i must do so in Field will appear the last Entry in Purch. Inv:Line?
Momentanly it will appears the first datarow....
Thanks.
I had add a new Field in Table Item.
FieldClass: FlowField:
CalcFormula: Lookup("Purch. Inv. Line"."Unit Cost (LCY)" WHERE (Buy-from Vendor No.=FIELD(Vendor No.),No.=FIELD(No.)))
What i must do so in Field will appear the last Entry in Purch. Inv:Line?
Momentanly it will appears the first datarow....
Thanks.
(Oo)=*=(oO)
0
Comments
-
I think there is missused the lookup - it is for looking up some value (but it assume that there is only one record selected with the filters). If you need some value from some record, better will be to create some function which return this value...0
-
You can also create your fields in the Item.table as a normal field. And in the "OnInsert" and "OnModify"-triggers of "Purch. Inv. Line" you update the field in the item-table.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
kriki wrote:You can also create your fields in the Item.table as a normal field. And in the "OnInsert" and "OnModify"-triggers of "Purch. Inv. Line" you update the field in the item-table.
I Think i must do it so, because why ever we haven't enough permissions for edit Codeunit 22 , it seems that our NSC did do it any changes in it .(Oo)=*=(oO)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
