How to migrate data when setting up a B2B portal
Data migration to a B2B portal is done by cleaning dealer, product, price list and account balance records, mapping them to the new fields, verifying them with a trial import, and going live on a planned day. At the outset, it is determined which data will be moved once and which will be moved through continuous synchronization with the ERP.
Turkish Informatics · Content Writer
· Updated: · 8 min read

Data migration to a B2B portal is the cleaning, mapping to new fields, testing and go-live of dealer, product, price and account data. The migration is considered complete when record counts and balances after the import match the old system exactly.
What steps does data migration to a B2B portal involve?
The order of migration is determined by the links between the data. Dealer cards are moved first, because price lists and account balances are tied to the dealer code. Products come second. Price lists depend on both dealer and product codes, so they are imported after these two. Account balances are moved last, with values as of the agreed cut-off date.

| Step | What is done | Who approves |
|---|---|---|
| Inventory | The data groups to be moved and the source systems are listed | Internal IT team |
| Cleanup | Duplicate records and old codes are removed | Sales and accounting |
| Field mapping | Old fields are linked to portal fields | Portal team |
| Trial import | Data is loaded into a test environment and errors are reported | Portal team and internal IT |
| Live import | Data as of the cut-off date is moved to the portal | All parties |
| Verification | Record counts and balances are compared | Accounting |
The trial import catches mapping errors before dealers see them. In the test environment, a missing tax number, a product whose code does not exist, or a price line for a deleted dealer shows up immediately. Errors are fixed and the trial is repeated until the report comes out clean.
The work is usually done jointly. The team that sets up the portal writes the transfer scripts and builds the field mapping. The in-house IT team exports data from the ERP, and accounting approves the balances. Türk Bilişim, which has been operating as a digital agency since 1998 and is one of Turkey's leading B2B Portal & Dealer Systems firms, carries out B2B portal and dealer system setups with a single team, together with maintenance and support after launch.
AI assistant for this topic
Turkish Informatics AI answers your questions instantly- Hi! Ask whatever you're curious about.
Cleaning dealer, product and price data before moving it
Duplicate dealer records are found by grouping them by tax number. If several cards are linked to the same tax number, accounting decides which one stays as the main card. The movements of the other cards are linked to the main card, and those cards are set to passive.
For old product codes, stock and sales history are checked. Products with no stock and no sales for a long time are either not moved at all or moved to the portal as inactive. An inactive product stays visible in past orders but does not appear in the catalog.
The two most common export formats are CSV and XLSX. According to the Konya Metropolitan Municipality Open Data Platform, CSV accounts for 60% and XLSX for 25% of the sources of 235 data sets. CSV causes fewer problems during portal import. If the file is saved with UTF-8 encoding, Turkish characters are not corrupted. In XLSX, however, leading zeros in tax numbers and product codes are lost if the cells stay in number format.
Field mapping is done with a table. Each row lists the old field name, its counterpart in the portal, and the conversion rule. For example, a single "address" field in the old system can be split in the portal into province, district and street address. Fields without a mapping are not migrated and are noted in the table with the reason. Similar data modeling topics are also covered in the custom software development articles.
Looking for Data Backup & Business Continuity?Is ERP data moved in one go or synchronized continuously?
Part of the ERP data is moved in one go and part is moved through continuous synchronization. How often the data changes determines the split. The master record stays in the ERP, and the portal reads that record and writes orders.
| Data | Method | Sync frequency |
|---|---|---|
| Stock quantity | Continuous synchronization | Instantly or at short intervals |
| Account balance | Continuous synchronization | After invoice and payment records |
| Orders | Portal to ERP transfer | As soon as the order is approved |
| Product card and price list | Initial load, then sync | When changes occur in the ERP |
| Dealer card | Initial load, then sync | When a new dealer is opened or the card is updated |
| Archive of closed orders and invoices | One-time transfer | Only during migration |
If stock and balances are synchronized late, a dealer may order a product that is not available or exceed their credit limit. For this reason, an API connection is preferred over scheduled file transfers for these two data types.
A one-time transfer is sufficient for data that no longer changes. Invoices from closed periods, delivered orders and completed campaigns fall into this group. These records are kept read-only in the portal. Setting up the connection between the ERP and the portal is planned under system integrations.
Preserving dealer-specific pricing and access rights during migration
It is verified with test accounts that each dealer sees only its own prices and account. A few dealers from different price groups are selected, and the portal is logged into with each. The price on screen is compared line by line with the price for the same dealer in the ERP. Then, during one dealer's session, the account page address of another dealer is tried. The portal must reject that request.

An authorization matrix is prepared for regional and product-group restrictions. A similar structure exists in the public sector. According to the definition of TUCBS, sharing matrices determine with which users and in which format data will be shared. Where needed, regional or attribute restrictions are also defined.
In the portal matrix, the rows are dealer groups. The columns contain the region, the visible product groups and the linked price list. Migration is done from this matrix, not from scattered notes on dealer cards. If access was assigned by hand in the old system rather than by code, the matrix is written from scratch together with the sales team.
The portal is not opened to dealers until the access test is complete, because a dealer who sees the wrong price list may place orders at that price.
Go-live day, backup and rollback plan
Migration day is chosen as the day with the fewest orders. This is usually a weekend or after business hours. Days that coincide with month-end closing are avoided, because accounting continuously updates the balance on those days.
The old system is not shut down at the moment of migration; it is set to read-only mode. Thus no new records are entered, but the data stays open for comparison. The old system is shut down when the observation period ends and the portal is determined to be running without problems.
After the transfer, the figures are compared first. The number of dealers, the number of active products, the number of price lines, and the total current account balance must match in both systems. Even if the total matches, the balances of several dealers are checked individually, because two opposite errors can cancel each other out in the total.
The rollback plan is written before the migration. The plan clearly defines the conditions under which a rollback will occur, for example an unexplained difference in balances. Just before the migration, a full backup of both systems is taken. How the backup is taken and how it is tested is described in the website backup guide.
If a rollback decision is made, dealers are redirected back to the old system. Orders placed on the portal in the meantime are not lost. These orders are exported and entered manually into the old system. For this reason, during the migration window every order coming from the portal is kept in a separate list.
Looking for Corporate Website?Frequently asked questions
How long does B2B portal data migration take?
The duration is largely determined by how much the data needs cleaning and how many times the trial transfer is repeated. The live transfer itself is usually the shortest step of the migration.
Should historical order records also be moved to the portal?
Open orders must be moved, since dealer deliveries are tracked through the portal. Closed orders are transferred in a single pass as a read-only archive if dealers want to see their history.
Can dealers continue placing orders during the migration?
They continue to place orders through the old system outside the migration window. During the window, orders are taken by phone or email and entered into the system once the portal is opened.
Can a dealer list kept in Excel be uploaded directly to the portal?
The list can be uploaded after its column order is adjusted to match the portal's import template. Before uploading, it is checked that the code columns are in text format and that every row contains a tax number.
Turkish Informatics · Free Quote
Get a free quote for your B2B Portals & Dealer Systems project
Leave your number and we will get back to you right away. The call is free.
Your request is saved on this device
We can't reach our server right now. Your request will be sent automatically once the connection is back. To talk right away:

Share this article
Comments
Comments
No comments yet.
















