Companies are not closed entities, but rather communicate and establish business networks with other companies. Often, this type of business relationship is based on information exchange: delivery notes, invoices, orders…
This process has been optimized over time. Years ago, all information was sent manually through postal mail. Nowadays, thanks to technology, we can share files much faster and reliably through digital formats. Thus, bidirectional communication between companies has experienced remarkable improvements that have translated into better operation.
This information exchange can be done through many strategies. Among the most common are:
- Database connection
- Web service
- EDI System
- Downloading files from an FTP
But… Regardless of the method we use, we may encounter some problems when opening the file. In these situations… Don’t panic! There are ways to optimize the files and obtain the information that has been sent to us.
What problems can we encounter?
The most common files we can receive are TXT, Excel, or CVS. You’ve probably heard of them, but let’s review them to understand their operation and why they are prone to errors.
- TXT: also known as plain text files, they are a type of file that has no formatting. In other words, it consists only of characters recognizable by humans and does not contain any typographic formatting. Plain text.
- Excel: the famous (and essential) Microsoft spreadsheets. It features calculations, charts, pivot tables, and a macro programming language called Visual Basic for Applications. Its utilities are almost endless and it’s a great ally for companies.
- CVS: it is a type of file that contains comma-separated values. They are a simple open format document used for representing data in tables with columns separated by commas and rows by line breaks.
Each of these formats can contain a large amount of information. Thus, with billions of lines, the opening and processing of these types of files sometimes become impossible. This is because the processor does not have enough capacity to process it at a speed considered acceptable or viable.
How can we handle the files?
When we find ourselves in this uncomfortable situation, we must handle the file. To do this, we must consider two basic file handling processes:
- Remove the “junk”. That is, we must try to optimize the document and remove all information that does not add value and, therefore, we do not need at all.
- Compress the file. This process involves merging multiple lines into one, as many times the lines can contain the same information.
To carry out these two tasks, an intermediate SQL processing container must be used. And you may wonder… What are they? The containers are objects of Server Integration Services, which give a structure to the packages and services. Thus, they allow repeating control flows in packages, grouping tasks and containers into units.
This tool can be found in Microsoft Dynamics 365 BC Business Central, and thus, we can compress and optimize the files we receive. To use it, we must load a large data file and clean all the data so that in the end we get an Excel of a few MB, and be able to import it without any problem into our ERP software.
Have you frequently found yourself in this situation and need help implementing an ERP in your company? At Dynamics 365 BC, we will be happy to assist you! Contact us.
