Pharma distributors moving from Marg have specific concerns: thousands of products in batches with expiry dates, licence checks, manufacturer schemes and claims, and chemists who order through established channels. A careful plan protects all of these. This guide sets out the steps, focusing on what is special about pharma distribution.
What makes pharma migration different
Unlike general distribution, pharma stock must be accurate by batch and expiry, because selling the wrong batch or expired stock is a compliance problem, not just a commercial one. Customer licences must be checked at billing. Expiry returns and claims with manufacturers can be worth a lot of money, and pending claims must not be lost in the move.
Step one: verify batch stock
The most important step is a physical count by product and batch, compared with Marg's records. Differences, such as batches recorded but not present, or present but recorded under another batch, are resolved before migration. Only verified batch stock is loaded into the ERP.
In pharma, migrating unverified batch stock just moves the errors into a new system.
Step two: customer licences
Export customers with their drug licence numbers and validity. Check for missing or expired licences and update them before migration, so the ERP can enforce licence checks from day one.
Licence numbers
Complete for every customer.
Validity
Expired licences updated or customers blocked.
Restricted products
Additional controls set up as rules require.
Step three: schemes and price lists
Current manufacturer schemes, price lists and trade discounts are rebuilt as rules in the ERP. Test them on real orders for each manufacturer before go-live, comparing results with Marg.
Step four: pending claims and returns
List all pending expiry claims, breakage claims and rate difference claims with manufacturers, with their documents. These are migrated as open items so they continue to be followed up. Returns held in the godown awaiting claim are recorded by batch.
| Open item | How it moves |
|---|---|
| Expiry claims | Open claims with batch details and amounts |
| Breakage claims | Open claims with supporting documents |
| Rate differences | Open claims by manufacturer |
| Returns in godown | Stock held for return, by batch |
Step five: chemist ordering
Many chemists order through apps or electronic channels. Plan how orders will reach the new system: through a retailer portal or app, by importing order files, or by phone and WhatsApp with quick entry. Inform key customers of any change in advance.
Step six: cut over
Cut over at a month end after the batch count. Load verified stock, open bills, balances and open claims. Switch billing on the first working day, with support at the counter. Keep Marg available read-only.
An example
A pharma distributor supplying several hundred chemists counts its stock by batch over a weekend before cut-over. The count finds a number of batches recorded in Marg that had been returned to manufacturers months earlier without entries. Correcting these before migration means the ERP starts with accurate batches. Pending expiry claims worth a meaningful amount, previously tracked in a notebook, are entered as open claims and recovered over the following months.
After go-live
Watch FEFO dispatch, licence blocks and scheme application closely in the first weeks. Review near-expiry stock and claims monthly from the start, so the benefits of better control show quickly.
Communicating with chemists and manufacturers
Tell key chemists in advance if ordering channels or invoice formats will change, and tell manufacturers' representatives that claims will come from a new system. Clear communication prevents confusion and protects relationships during the first weeks.
Staff roles during cut-over
Assign clear roles for the cut-over weekend and first week: who counts which racks, who checks batch entries, who supports the billing counter, who handles calls from chemists. A simple checklist for each role keeps the cut-over orderly.
Reports for the first month
Prepare the reports the business relies on in the first month: daily sales by salesperson, near-expiry stock, pending claims, overdue chemists and manufacturer-wise purchase. Having these ready from day one shows the team the new system is more useful than the old, and gives managers confidence during the transition.
Key takeaways
- Verify batch stock physically before migrating it.
- Complete and validate customer licences.
- Rebuild schemes and price lists and test them.
- Migrate pending claims and returns as open items.
- Plan chemist ordering channels and cut over at a month end.


