Sorting lines in a Sales Order manually
AitorEG
Member Posts: 342
Hello everyone,
I have one question around sorting lines, in for example, a sales order. Also could be in other pages/reports as for example, Assembly Order.
One of our customers needs to change the order of the lines manually in the page, and after that, when printing the report, the report should print the lines in the order the customer has set.
My first idea has been to find if NAV gives me the possibility to tha that, through the use of a button on the page, or something like that. But I didn't finde the way.
Now, my next idea is to create a new field in the SalesLine, and show tha field as visible and editable in each line inside de subform. The user, will write for each line the position that wants to be shown, and after refreshing (may be including a new button), the lines will be shown in that order. And when he wants to print the report, the lines in the report will be sorted by that field, to print them in the order that the final user wants.
What do you think about my approach? Do you think is it feasible? ANy other known approaches?
Thank you all for your help
I have one question around sorting lines, in for example, a sales order. Also could be in other pages/reports as for example, Assembly Order.
One of our customers needs to change the order of the lines manually in the page, and after that, when printing the report, the report should print the lines in the order the customer has set.
My first idea has been to find if NAV gives me the possibility to tha that, through the use of a button on the page, or something like that. But I didn't finde the way.
Now, my next idea is to create a new field in the SalesLine, and show tha field as visible and editable in each line inside de subform. The user, will write for each line the position that wants to be shown, and after refreshing (may be including a new button), the lines will be shown in that order. And when he wants to print the report, the lines in the report will be sorted by that field, to print them in the order that the final user wants.
What do you think about my approach? Do you think is it feasible? ANy other known approaches?
Thank you all for your help
0
Comments
-
Have you tried this:
myreport.settableview(salesline);
myreport.run;
The report should run based on the Sales Line sort.Jason Wilder
jwilder@stonewallkitchen.com0 -
Thank you for your help.
I've made a duplicated field in the lines, a duplicate of the Lines No. This field will be editable from the page itself, and the line in the report will be sorted by this new field. It works perfectly0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 329 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