ERP migration
Field-level mapping, validation, and rollback between Marg ERP and Microsoft Dynamics 365 Business Central. We move data and schema; workflows are rebuilt natively in Microsoft Dynamics 365 Business Central.
Marg ERP
Source
Microsoft Dynamics 365 Business Central
Destination
Compatibility
8 of 12
objects map 1:1 between Marg ERP and Microsoft Dynamics 365 Business Central.
Complexity
BStandard
Timeline
5-8 weeks
Overview
Moving from Marg ERP to Microsoft Dynamics 365 is a file-based structural migration. Marg has no public REST API, so every record exits via Marg's built-in A/c & Inventory Export utility as XLS or CSV, which we parse with a custom format characterisation before any data transforms run. Marg stores batch numbers, expiry dates, and GST rates at the voucher line level; we extract each as a structured field and map them to D365's item, inventory, and tax structures. We resolve Godown-to-Site/Warehouse mapping for multi-location stock, preserve party-level GSTIN and credit limits, and extract the fixed-asset register for recomputation under D365's depreciation engine. Marg's e-invoicing, e-waybill, and GSTR filing configurations do not migrate; we deliver a written inventory of these settings for the customer's admin to rebuild in D365.
Every standard and custom field arrives verified.
AI proposes the map; you confirm before any record moves.
Parent–child, lookups, and ownership stay linked.
Calls, emails, meetings — with original timestamps.
Documents, uploads, and inline notes move with the record.
Source platform
Marg ERP platform overview
Scorecard, SWOT, gotchas, and pricing for Marg ERP.
Destination platform
Microsoft Dynamics 365 Business Central platform overview
Scorecard, SWOT, gotchas, and pricing for Microsoft Dynamics 365 Business Central.
Data migration guide
The complete Dynamics 365 Business Central migration guide
Data model, import mechanisms, field mapping strategy, pitfalls, and cutover — by the engineers running it.
Destination checklist
Dynamics 365 Business Central migration checklist
Pre- and post-cutover tasks for moving onto Microsoft Dynamics 365 Business Central.
Why teams make this switch
Leaving
What's pushing teams away
Choosing
What's pulling them in
Object mapping
Each row shows how a Marg ERP object lands in Microsoft Dynamics 365 Business Central, including any object-level transformations, lookup resolution, or schema-design dependencies.
Typical mapping — final map is confirmed during the sample migration step.
Marg ERP
Chart of Accounts (Groups and Ledgers)
Microsoft Dynamics 365 Business Central
G/L Account and Account Categories
1:1Marg's account groups and ledger hierarchy map to D365 G/L Account structure. Marg's statutory accounts for GST input/output, TCS, TDS, and e-waybill payables become D365 posting accounts under the appropriate account category (Cash, Bank, Customer, Vendor, or Direct/Indirect Expenses). We preserve opening balances, account types, and the full group-subgroup hierarchy, flagging any D365 default accounts that conflict with Marg's naming or posting convention.
Marg ERP
Parties (Ledger Accounts)
Microsoft Dynamics 365 Business Central
Customer and Vendor
1:manyMarg Parties serve as both customers and vendors depending on transaction history. We split by examining voucher types: parties with outbound sales or sales-returns become D365 Customers; parties with inbound purchases or purchase-returns become Vendors. Parties with both directions retain both records. We carry GSTIN, PAN, credit limit, payment terms, opening balance, and outstanding amounts into the respective D365 record. Marg Party groups map to D365 Customer and Vendor posting groups for correct receivable and payable posting.
Marg ERP
Items (Products)
Microsoft Dynamics 365 Business Central
Item (Products and Services)
1:1Marg Items with MRP, HSN/SAC codes, batch tracking, salt names (for pharma), and multi-unit-of-measure map to D365 Items. We set Item type as Stockkeeping Unit for inventory-tracked items and Service for non-stocked. MRP becomes the suggested sales price; cost price maps to D365 Unit Cost. HSN/SAC codes migrate to the item's Tariff Number field. GST product posting groups are set based on the rate extracted from Marg's item-level GST registration.
Marg ERP
Vouchers (Sales Invoices, Purchase Bills, Credit/Debit Notes)
Microsoft Dynamics 365 Business Central
Sales Documents and Purchase Documents
1:1Marg vouchers map to D365 posted sales invoices, purchase invoices, and credit/debit note records. The full line-item GST breakdown (CGST, SGST, or IGST rate and amount per line) migrates to D365 document lines with the applicable tax group and tax item group assignments. Marg's e-invoice number and e-waybill number are stored in custom fields on the migrated document header. We flag any vouchers that were only saved (not posted) in Marg and handle them as unposted documents requiring customer action before migration.
Marg ERP
Godowns (Stock Locations)
Microsoft Dynamics 365 Business Central
Sites and Warehouses
1:1Marg Godowns map to D365 Sites (address and location parameters) and corresponding Warehouse records. Inter-Godown stock balances migrate as D365 Warehouse entries. Marg's Godown-specific pricing rules map to D365 location-based price groups if configured. We preserve the Godown's active/inactive status and flag any Godown with zero stock for archiving rather than migration.
Marg ERP
Batch Number and Expiry Date
Microsoft Dynamics 365 Business Central
Lot Number and Expiration Date
lossyMarg batch number and expiry date are stored at voucher line and stock level. We extract these as structured lot attributes and map to D365 Item Tracking Codes (lot number) and the lot's Expiration Date field. For pharma items, we validate that expiry dates are within a configurable future window (e.g., 30 days minimum remaining shelf life) and flag items approaching expiry for customer review before migration. Lot tracking must be enabled on the D365 item card before batch data is imported.
Marg ERP
Fixed Assets (Asset Register)
Microsoft Dynamics 365 Business Central
Fixed Assets
1:1Marg maintains an asset register with original cost, accumulated depreciation, net book value, and Schedule XIV depreciation schedules. We extract all four values and load them into D365 Fixed Asset records. D365's depreciation book is populated with the same method (straight-line or written-down-value) and useful life; we recompute the first-year depreciation charge and flag any difference versus Marg's Schedule XIV result for the customer's finance team to validate. Depreciation entries migrate as posted fixed asset journal lines rather than source documents.
Marg ERP
Bank and Cash Accounts
Microsoft Dynamics 365 Business Central
Bank Accounts and G/L Bank Accounts
1:1Marg bank accounts (including ICICI Bank auto-ledger integration) map to D365 Bank Accounts with account number, bank name, and SWIFT/IFSC codes. Marg's cheque register and bank reconciliation statements are extracted as CSV and mapped to D365 Bank Account Reconciliation records for historical reference. Cash accounts map to D365 G/L Accounts of type Bank Account for financial reporting consistency.
Marg ERP
GST Rate at Line Level
Microsoft Dynamics 365 Business Central
Tax Group and Tax Line
lossyMarg stores GST rate (CGST+SGST or IGST) per voucher line, not at the party or item level. We build a rate-mapping table during scoping that maps each unique Marg GST rate combination to a D365 Tax Group (for transaction-level applicability) and Tax Line (for rate and amount calculation). This table handles composition-tier transitions mid-period by preserving the rate at the time of each voucher.
Marg ERP
Opening Balances (AR/AP/Stock)
Microsoft Dynamics 365 Business Central
Opening Balances via General Journal
1:1Marg's party-wise outstanding receivables and payables, and Godown-wise stock balances, migrate as D365 General Journal lines. Customer open invoices load as open sales lines with residual amounts. Vendor open invoices load as open purchase lines. Stock balances load via item journal with appropriate location (Warehouse) references. Opening balance migration runs after master data but before transactional history to ensure the trial balance is in equilibrium before the first live posting.
Marg ERP
Custom Fields
Microsoft Dynamics 365 Business Central
Custom Fields (Extension-based)
lossyMarg does not expose a formal custom-field API; any user-defined fields appear as extra columns in the XLS/CSV export output. We handle these as ad-hoc mappings by creating D365 custom fields via the extension model (AL-based extensions or Power Apps field add-in for Business Central) and mapping them where the data type is inferable from the export value. Full preservation cannot be guaranteed; we document every unmapped custom field in the handoff report for manual entry or future extension development.
Marg ERP
Mobile App Data (eRetail, MargPay)
Microsoft Dynamics 365 Business Central
Not migrated
1:1Marg's eRetail, salesman mobile app, and MargPay transaction data are stored in subsidiary systems that do not share a common data store with the desktop/cloud ERP. These records are not reachable via Marg's export utility and cannot be included in the migration scope. Any app-only transactions must be manually re-entered or retrieved from the respective app's backup export if available.
| Marg ERP | Microsoft Dynamics 365 Business Central | Compatibility | |
|---|---|---|---|
| Chart of Accounts (Groups and Ledgers) | G/L Account and Account Categories1:1 | Fully supported | |
| Parties (Ledger Accounts) | Customer and Vendor1:many | Mapping required | |
| Items (Products) | Item (Products and Services)1:1 | Mapping required | |
| Vouchers (Sales Invoices, Purchase Bills, Credit/Debit Notes) | Sales Documents and Purchase Documents1:1 | Fully supported | |
| Godowns (Stock Locations) | Sites and Warehouses1:1 | Mapping required | |
| Batch Number and Expiry Date | Lot Number and Expiration Datelossy | Fully supported | |
| Fixed Assets (Asset Register) | Fixed Assets1:1 | Mapping required | |
| Bank and Cash Accounts | Bank Accounts and G/L Bank Accounts1:1 | Fully supported | |
| GST Rate at Line Level | Tax Group and Tax Linelossy | Fully supported | |
| Opening Balances (AR/AP/Stock) | Opening Balances via General Journal1:1 | Fully supported | |
| Custom Fields | Custom Fields (Extension-based)lossy | Not supported | |
| Mobile App Data (eRetail, MargPay) | Not migrated1:1 | Not supported |
Gotchas + challenges
Platform-specific issues from each side, plus the pair-specific challenges that don't show up on either platform's page on its own.
Marg ERP gotchas
Marg-to-Marg native export is the only documented bulk data path
No public API means migration is always file-based
Cloud plan user-count and company-count gates are migration prerequisites
GST rate and composition tier are stored per transaction line, not per party
Marg's fixed-asset depreciation schedules use Indian Schedule XIV conventions
Microsoft Dynamics 365 Business Central gotchas
Named-user licensing has no concurrent-use relief
API rate limits throttle large-volume migrations
Historical posted transactions require selective migration scoping
NAV-to-Business Central cloud migration requires partner coordination
Custom fields and AL extensions require separate migration handling
Pair-specific challenges
Migration approach
Discovery and export format characterisation
We audit every active Marg company in scope, counting Items, Parties, Vouchers, Godowns, and fixed-asset records. We request a sample A/c & Inventory Export from the customer's live Marg instance and reverse-engineer the column ordering, data types, and encoding for their specific Marg version. This format characterisation typically takes two to three days and produces the custom parser that all subsequent exports will pass through. We also extract the customer's current GST composition tier, e-invoice registration status, and HSN/SAC code library during this phase.
Data profiling and cleansing workstream
We run Marg export data through profiling rules that identify duplicate parties (matching by GSTIN and PAN), items with missing HSN codes, vouchers with inconsistent GST rates, and inactive records with outstanding balances. We produce a written data quality report and a remediation checklist. The customer's team addresses critical duplicates and missing required fields before migration design begins. This step is the most common source of timeline slippage; we treat data cleansing as a parallel workstream, not a pre-migration task, to avoid blocking the migration design phase.
D365 schema design and tax configuration
We design the D365 destination schema in a Sandbox. This includes the chart of accounts hierarchy (mapped from Marg account groups), Customer and Vendor posting groups, Item GST product posting groups, Tax codes and tax groups (built from the Marg GST rate-mapping table), Site and Warehouse locations (mapped from Marg Godowns), Item tracking codes for lot numbers and expiry dates, Fixed Asset depreciation books, and Bank accounts with IFSC/SWIFT codes for Indian compliance. E-invoice and e-waybill configuration does not migrate; we document Marg's current settings for manual re-entry in D365's statutory services.
Sandbox migration and reconciliation
We run a full migration into D365 Sandbox using production-like data volumes. The customer's finance and operations leads reconcile record counts, party balances, item stock by Godown, and a sample of 30-50 voucher line items against the Marg source. We particularly verify GST rate assignment on sampled vouchers by cross-referencing Marg's printed invoice against D365's posted document. All mapping corrections are documented and applied to the production migration script. The customer signs off the sandbox reconciliation report before production migration begins.
Opening balance migration and master data load
We load opening balances first via D365 General Journal lines: customer open invoices, vendor open invoices, and Godown-wise stock quantities via Item Journal. Party balances must balance to the trial balance before transactional history loads. We then load master data in dependency order: G/L Accounts, Customers and Vendors (with GSTIN and PAN validated against Indian GSTIN format rules), Items (with HSN/SAC, GST posting group, and item tracking code), and Sites/Warehouses. Each phase emits a row-count and balance reconciliation report before the next phase begins.
Transaction history migration and delta cutover
We load posted vouchers (sales invoices, purchase bills, credit notes, debit notes) in chronological order, preserving line-level GST breakdowns via the pre-built tax-mapping table. Batch and expiry data loads as inventory tracking entries tied to the relevant item ledger entries. Fixed assets load as asset records with their acquisition cost, accumulated depreciation, and recomputed depreciation journal entries. We then request a 24-hour data freeze, run a final delta export from Marg, replay it in D365, and set D365 as the system of record at cutover.
Handoff, e-invoicing rebuild inventory, and hypercare
We deliver a written migration summary covering record counts by object, any unmapped custom fields, the GST rate-mapping table, the list of Marg e-invoice and e-waybill configurations requiring rebuild in D365's statutory services module, and the batch tracking configuration checklist. We support a one-week hypercare window for reconciliation issues. We do not rebuild Marg workflows, automations, or GSTR filing schedules; these are documented for the customer's D365 administrator or a Microsoft partner to rebuild post-migration.
Platform deep dives
Marg ERP
Source
Strengths
Weaknesses
Microsoft Dynamics 365 Business Central
Destination
Strengths
Weaknesses
Complexity grading
Standard ERP migration. 1 of 8 objects need a mapping; the rest are 1:1.
Overall complexity
Standard migration
Derived from compatibility, mapping clarity, API constraints, and data volume across Marg ERP and Microsoft Dynamics 365 Business Central.
Object compatibility
1 of 8 objects need a mapping; the rest are 1:1.
Field mapping clarity
Field mapping is derived from defaults — final spec confirmed during the sample migration.
Timeline complexity
8-object category — typical timelines run 2–7 days end-to-end.
API constraints
Marg ERP: Not publicly documented.
Data volume sensitivity
Marg ERP doesn't expose a bulk API — REST + parallelization used for high-volume runs.
Estimator
Rule-based pricing — no per-record fees, no manual quotes. Migrations over 2M records are scoped individually.
Step 1
Pick a category, then your source and destination platforms.
Category
FAQ
Answers to the questions buyers ask most during Marg ERP to Microsoft Dynamics 365 Business Central migration scoping. Not seeing yours? Book a call.
Walk through your Marg ERP to Microsoft Dynamics 365 Business Central migration with a real engineer — 30 minutes, free, written quote within 24 hours.
Book a free 30 minute consultationAdjacent paths
Other ways to leave Marg ERP
Other ways to arrive at Microsoft Dynamics 365 Business Central
Ready when you are
Tell us record counts and timeline. We'll come back with a written quote inside 1 business day — no commitment, no sales pitch.