India’s Leading Domain & Web Hosting Provider
Electronics distributor onboards retail EDI partners in 2 weeks with Logic Apps B2B
National consumer electronics distributor, 6 warehouses, supplying 35 modern-trade and online retail chains · Pan-India, warehouses in North, West and South · 14 weeks
As-is situation
Large retail chains sent purchase orders by email PDF, retailer portals or a third-party EDI service bureau that charged per document. Orders were keyed into the ERP by a team of 11, and advance ship notices and invoices were sent back manually. Order-entry errors caused about 4 percent of shipments to be rejected at retailer warehouses for quantity or SKU mismatches. Two national chains announced they would accept only EDIFACT orders and ASNs over AS2 from the next season. Onboarding a new retailer through the service bureau took 8-10 weeks.
- About 4 percent of shipments rejected at retailer docks for SKU or quantity mismatches
- Service bureau fees per document and 8-10 weeks to onboard a new retailer
- Two national chains mandating EDIFACT over AS2 within one season
- Invoices needing GST e-invoice IRN details before transmission to retailers
Selected Microsoft Azure services and architecture
NTSPL implemented B2B integration on Logic Apps Standard in Central India with an integration account holding each retailer as a trading partner with AS2 and EDIFACT agreements. Inbound ORDERS messages are received over AS2, decoded, validated against the retailer's schema and mapped to the ERP's sales order API, with MDN acknowledgements returned automatically. Orders are placed on Service Bus queues so ERP downtime never loses an order. When the warehouse confirms dispatch, an event triggers DESADV generation, and invoices are sent as INVOIC only after a Function obtains the IRN from the e-invoice system. Retailers on portals or email use API Management or parsed email workflows feeding the same queues.
Implementation approach
Measured results
Operational improvements
- New retailers are onboarded by adding a partner and agreement and reusing existing maps
- ERP maintenance windows no longer cause missed orders because messages wait in Service Bus
- Order desk staff work only on validation exceptions shown with the original EDI segment
Cost considerations
The integration account tier and Logic Apps Standard plan replaced per-document service bureau fees; at current volume the fixed cost is lower within the first year. Service Bus Standard was sufficient because order volumes are moderate and data travels over AS2 with encryption and signing. Functions for IRN calls run on Flex Consumption.
Return on investment
Ending per-document bureau fees and cutting dock rejections save an indicative INR 70 lakh-1.1 crore a year, including avoided return freight and chargebacks. Meeting the EDIFACT mandate on time retained supply relationships with two chains that account for a significant share of revenue.