Sort Companies list by ID
sneha
Member Posts: 191
We are on 5.0 and we've around 8 companies in our database. The companies are sorted by Name when the user selects "Open Company". But, the user wants to see it in different order. I think, a new filed "ID" can be added to Company table to achieve this. But, not sure where can I write the code in codeunit 1 (or) 2 to sort it by ID?
Thanks for your help!
Thanks for your help!
0
Comments
-
You can't sort this list through code. The user needs to press Shift-F8 to sort it.
Another option might be to include the ID in the Companyname:
001 - Company Z
002 - Company ANo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
We will append the ID if we create a new companies but, don't we need to rename the company if we need to append the ID against existing companies? I think, it is more dangerous in our case, considering integration, consolidation, etc..0
-
Any more thoughts on how to sort the companies list?0
-
How to hide the inactive companies from the Open Company screen? please suggest..0
-
I've added a new field called "Sort By" to company table. And, added it to keys. Now, I want to sort the Open company window based on my new field "Sort By". Is it possible? please suggest...I don't think changing the primary key is a solution.....0
-
Read my first answer again: "You can't sort this list through code. The user needs to press Shift-F8 to sort it.".No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Thank You Andwian! Yes, I was able to hide the inactive companies but, still not able to sort the companies the way we want without renaming. Sounds like, it is not possible.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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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

