Select a Specific Name/string from Table

RKAgrawal
Member Posts: 5
Hi Friends,
How to select a specific name or string from table columns in C/AL code OR how to achieve if want to get a particular name or string by searching in multiple columns alongwith. Example search a name let's say rahul among two or three columns e.g. Name and Name 2 in customer table.
How to select a specific name or string from table columns in C/AL code OR how to achieve if want to get a particular name or string by searching in multiple columns alongwith. Example search a name let's say rahul among two or three columns e.g. Name and Name 2 in customer table.
0
Best Answer
-
1. In our company we use a single instance codeunit to implement the singleton design pattern. Because it's instantiated once we can do integration with external applications like Microsoft Message Queue. And you need to instantiate some dotnet components (only once and persist it). We start this single instance codeunit by using the NAS feature on the NST (Nav Service Tier).
2. Advantages are of course that it is only instantiated once. Data also persists between separate objects.
A nice example can be found on https://www.archerpoint.com/blog/Posts/timers-single-instance-codeunits-and-nas-servicetier-nav-2013
Good luck with your journey on single instance codeunits! There is plenty of information available out there on the web.0
Answers
-
Do you want to search from the GUI or search only from C/AL code?0
-
I just want to use an optimize way, it can be either, in my current scenerio searching from C/AL code.0
-
The FILTERGROUP(-1) could be used to create an OR filter.0
-
Hi Friends,
I'm not getting any perfect scenerio or example of SINGLE INSTANCE CODEUNIT in NAV 2016. may anyone help me to find a best use of single instance codeunit so that i can get to know why we use single instance codeunit in navision.
Thank you.!!0 -
Just to be sure: did you check https://forum.mibuso.com/discussion/19814/practical-use-of-codeunit-instances/p11
-
Hi irasoelbaks.!!
Thank you for ypur reply.
Yes i have gone through this post but still have few questions in mind.
1- What scenerio we should use Single Instance CodeUnit.?
2- What are the advantage of using Single Instance CodeUnit.?
Many Thanks.!!0 -
1. In our company we use a single instance codeunit to implement the singleton design pattern. Because it's instantiated once we can do integration with external applications like Microsoft Message Queue. And you need to instantiate some dotnet components (only once and persist it). We start this single instance codeunit by using the NAS feature on the NST (Nav Service Tier).
2. Advantages are of course that it is only instantiated once. Data also persists between separate objects.
A nice example can be found on https://www.archerpoint.com/blog/Posts/timers-single-instance-codeunits-and-nas-servicetier-nav-2013
Good luck with your journey on single instance codeunits! There is plenty of information available out there on the web.0 -
Thank You.!!0
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