The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1 Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Ok, in previous part I described how barcodes could be used. But to use barcodes, you need to understand, how it works. I mean, how it works on physical layer. Of course, I will not talk about how the black&white or color lines/dots are translated into data, but about possible hardware you can use. Of course, in context of Microsoft Dynamics NAV. We will start with simple one:
this type of scanner is connected directly into PC through USB port (not long ago it was connected through PS/2 port used for the keyboards). It works as common keyboard, but you cannot type on it. You can only scan the barcode and the scanner will “type” the data where the cursor is. This kind of scanners are cheap, you can find different models on the market, able to read 1D and 2D codes, connected through wire or through Bluetooth etc. Because it is just an “emulation” of keyboard, you need just have some textbox in the system, where you need to scan the data. Of course, for user it means that he must be sure, that cursor (focus) is in the correct application and in correct textbox. If user needs scan more barcodes in sequence, it is good to have the system created in a way, that after each scanned code, the focus is automatically transferred to the next text box, for next data entry. For example: when user scans operation code first and then item code, focus in NAV must be first on operation code field and then automatically on item no. field.
Some scanners are supporting connection through serial port. They are similar to the keyboard scanners, you just needs some piece of software, which reads the data from the serial port. There are apps, which could make keyboard scanner from this one (reading the data and sending them as keyboard input by software way). Because it is simple to develop some application reading data from serial port, you can do more magic with this one. E.g. when there are incoming data, the app could send some special hot key combination to the NAV client and than the application could read the data from the scanner. In this way, the app could just create button, which is activated by this hot key, and through external library could read the data. User do not need to have correct focus in the application to be able to receive the data, but the app must be able to make difference between different data which are incoming (e.g. what is Item No. and what is Operation Code). Still, this kind of scanner is connected to specific PC.
If you combine serial port scanner and RS232 to Wi-Fi converter (cheap devices), you can connect the serial port scanner directly into your infrastructure. Depends on what the converter is able to do, you can than e.g. read the data on central server from all the connected scanners and than forward the data into your system. Best way how to do that is to use NAV Web Services. In this way, you can collect data from wide area without having computers in the field, you only needs Wi-Fi coverage. The business logic could than process the incoming data and do what you want. Example of usage is, that worker in the manufacturing scans serial no. of product, which he just somehow “processed”. If you know from which scanner the data are incoming (e.g. by IP), you can post operation for this serial no. in the system. It have one drawback – feedback for the user. There is no way, how to send some result to the user. Scanners are communicating only one-way. Some scanners could “beep” when you send them some data, but it depends on specific scanner and settings. To solve this, you can pair the scanner with different hardware, which will show you the result. It could be simple serial port display, or traffic light. How it works?
Of course, instead RS232 to Wi-Fi converter could be used anything, what could take input from serial port and send it over LAN. It could be some terminal device, with display, with more serial ports etc. to be able to give the needed feedback. Just ask some Vendors, they will offer you tons of solutions.
Some scanners are independent computers. They are not so cheap, but have different properties you can use. They have display, mostly they are wirelessly connected into infrastructure. In this case, you need some application directly on the scanner. If the display is only black&white, supporting only text, you can try to use ADCS module for Dynamics NAV. It support VT100 connections and it will show you the prompts directly on the device, and you only select the option or scan the data.
If the display is color, in most cases the device have Windows Mobile or Windows CE installed. In this case, you have more ways how to use it. If you are using NAV classic client, you can use terminal services to connect into NAV directly from the device. If you minimize all the things around which you do not want to see (toolbar, status bar, menu pane, start panel etc.), you can use special forms in NAV to interact with the application. When using this option, the scanner will work as a keyboard scanner connected to some PC running terminal client connected to server with NAV. It is simple to setup, simple to develop. Of course, you need one session per device. Do not forget, that NAV classic client is going away and from long-therm view is not good choice now.
If you are using RTC, than you cannot use the previous way. There will be too much things around to use the page directly. You need to use special application (web, for the mobile windows, or regular running over terminal server) to collect the input and show the feedback. But still, the scanner will work as an keyboard scanner. No difference in this. And by using NAV Web Services, it is easy to develop something. In future you can expect more and more ways how to use these devices with NAV in much more effective ways.
Oh, ok. RFIDs. I cannot forget that. Very modern word. What is the hack? It is same as barcodes, just no visible “bar codes” and no laser scanners. Just chips which are sending the data inside them when some impulse from outside gives them the command. Scanner is than just wireless receiver for these data. There are many variants of RFIDs which differs in distance for reading, if data inside chip are fixed or programmable etc. And the cost mirrors that. In my experience, barcodes are much more flexible. Of course, sometime RFID solution could be the right one, but do not use it just because it is “in”. Still, the scanner works as any other barcode scanner. All the barcode scanners could be found in variants allowing you to “scan” RFID chips. RFIDs are good into environments, where barcodes could be problem (dust, size of barcode etc.).
When using barcodes, you need to print them. There is plenty of different special things in this field. You can print them on common printer to common paper. You can print them to special plastic medium (hard to destroy), you can engrave them by laser into metal labels (high temperature environments) etc. It means, first, you need to define the properties you need. Count with possible things like water, chemicals, dust, surface on which would be clued, temperatures, ease of tear off and other. For RFIDs you can bought pre-programmed chips or programmable ones. Once again, different chips have different operation limits like highest temperature for operation. Be aware of that.
Of course, there are many variants of the scanners as build-in, special purpose etc. Target of this article is not to make detailed list of all possibilities, but just describe some basics and common patterns. I am sure, that there are many add-ons for Microsoft Dynamics NAV offering different solutions for different tasks, using plenty of different devices. But to be able to select correct one, basic understanding of the technology is necessary. Of course, having good NAV partner which have enough experience and know-how on this field is big plus. Implementation of barcodes could looks like big increase of needed work to be done, but if done correctly, result is very positive. In some industry tracking and usage of barcodes are mandatory to be successful.
I wish you successfully implementation of any system, which helps you manage your processes effectively, quickly, easily and which helps you be better than others.
part two, excellent
Business Applications communities