When we have to export invoices from Zoho CRM or to migrate any kind of data from one platform to another, it doesn’t make anyone happy. We have to evaluate the structure of the data, discover the dependencies between different data sets, explore the tables, — in other words, a lot of boring work with no space for errors. A perfect example of the Goldberg Machine, you name it.
Things get worse when we deal with relatively huge datasets, where manual control is near to impossible. You do the correct mapping, run your procedure, and hope for the best.
While the data migration from, let’s say, Quickbooks to Zoho Books, or from Salesforce to Zoho is relatively common, the use case I want to talk about today represents the task that we don’t do very often. The data migration between Zoho CRM and Zoho Books. Normally both of the apps are doing their separate jobs just fine. Zoho CRM is responsible for customer relationship management, while Zoho Books works with the finances. Fine. After all, both of the apps are made by the same manufacturer.
There should be zero problems, but there are some. Let’s pretend that we need to export the invoices from Zoho CRM and import them into Zoho Books, with all the related Accounts, Items (Products), and their descriptions. Your first question will be the following:
You all know that Zoho CRM is a helluva Combine when it comes to the functionality, especially in its Enterprise edition. Among the other things, it can manage the quotes and invoices, even not being a tailored accounting software.
At first sight, we have the embedded export feature that allows us to export invoices from Zoho CRM. No problem at all, the procedure is even described in Zoho’s Help. It also can export not only the invoices, but any kind of data from other CRM modules, too.
Guess what? It is not enough.
The aforementioned export module, if used for the Invoices exports, literally, the invoices. The Invoices table, if you want a term from the relational model. You will get a perfect CSV file that comprises… right, the invoices and their Accounts. Only. No related data from the related Products tables, but we all remember that each Invoice have at least a Product or a Service.
The importer at Zoho Books wants it all: the Invoice data and the related Items a.k.a. Products / Services. So we have to get all of them together in the form of the CSV file that is required by Zoho Books.
If you ask Zoho support on that, most likely they will request the additional time, it depends on the knowledge of the particular agent. The skilled agent will explain that yes, the CRM exports only the Invoices table, but you need the Products as well. Because they are related tables.
At first sight, there are at least two ways:
The first way is relatively lengthy, as you will have to merge the large amounts of data that require some additional work. The second one is better, but what if your CRM and Books are from different Organizations? Yep, it’s not gonna work.
Additionally, you can request the full Zoho CRM data backup and use the data from it, but I don’t think this is the fastest way. And you need the appropriate user rights to download these backups.
After some research, I’ve realized that there is the third, the better way. Surprisingly, it is not described in the documentation that is available for the end-users and even for Zoho Partners (or I am just too bad in search to find it). It could be reinventing of the wheel, but the answer is the native Reports module, which is part of Zoho CRM.
The priceless ability of the Reports Module is that you can design the multi-table reports, which are gathering the related data from different modules. In our case, we have to create a report that pulls the data from Invoices and Products, respectively:
Then you choose the Report Type as “Tabular Report”, it will give you the CSV where all the data will be concatenated line by line:
And don’t forget to select the fields you need using the “Report Representation” tab! The resulting CSV file, with the appropriate field mapping, will satisfy Zoho Books’ importer completely as it will contain all the necessary data.
I wonder why that method has not been described in Zoho CRM help files. It utilizes the native CRM tool (the Reports module) and does not require the programming at all. I consider it as a very convenient way that allows enough control on the data migration process, and you save some time on writing the custom functions.
In my practice, the method works well even for the 5-6 MB CSV files with thousands of lines (but the importer is pretty much slow, though).