How to filter the items specific to the order on lokup

SH2010
Member Posts: 21
when i pick order number on a the Sales form no. 45. I want to look up items. When I click the item look up I want to see only the items that are associated with the order number rec that I have. What code do i put.
0
Best Answer
-
To extend upon what Mohana has said... you should add a field for "Sales Order Line No." in your table and then lookup that field using a relation as he has described. If you would like to show the actual item no. and possibly description then you can add these fields as flowfields onto your new table and show them on the form too.5
Answers
-
i mean on a form that is based on sales order form 450
-
You want to see only those Items which are associated with your Order??
Can you please make it a level more clear?Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Hi,
As I understand-
1. You need to only list the items which are related to specific Order
2. You are using NAV older then NAV 2013 version and need changes in Form and not page
Can you please clear on my above understandings? If feasible, please also share the process or scenario you're doing in NAV. For example, you're posting Sales Invoice by receiving Shipments.
Manish Kutar,
Senior Technical Consultant
manishkutar@gmail.com0 -
Yes Manish I am on NAV 2009 Classic .
1. I need to list the items that are related to the specific sales order. - list of the items placed on the order.
2. I am doing a customization for booking trucks to collect goods bought on a sales order. So after placing the sales order in Nav I want link the particular sales order to a booking so that customers can have specific date and time to collect.
3. So on my booking entry form I look up and pick the sales order number from the sales list. Once I have my order number on the next field on the form I want to look up and be able now to pick the products to be picked (because I do booking for prducts because they are collected at different bagging / despatch points) . So I want to allocate the date and time and collection point for the products that are to be collected.
When click look up into the item list I just want to see the products on the order that have not been collected yet.
I hope this clarifies.
5. Thanks0 -
You can create a table relation with Sales Line table with field relation of order no selected and Document no. of Sales Line1
-
To extend upon what Mohana has said... you should add a field for "Sales Order Line No." in your table and then lookup that field using a relation as he has described. If you would like to show the actual item no. and possibly description then you can add these fields as flowfields onto your new table and show them on the form too.5
-
Thanks to all of you guys. I am answered, it worked0
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