Fixing a Silent Profit Leak
By • February 16, 2026

Modernizing a Mobile Checkout to Boost Conversions
The Challenge
Abandoned legacy app with bug backlog, no pricing controls, and secret formulas exposed—eroding profits daily.
The Solution
Stabilized SLM, built React pricing layer with margin enforcement, hidden formulas, and mobile CEO approvals.
The Results
6-8% margin boost = $4.8-6.4M annual profit, bugs gone, IP protected, approvals mobile.
The Silent Profit Leak
A global semiconductor distributor with operations spanning New York, Florida, California, Mexico, and the UK moved massive volumes of product every day. Their ERP system handled sales orders competently enough. But the quoting process—the critical first step where profits are made or lost—was a different story entirely.
Years ago, recognizing the need for a dedicated quoting solution, they had commissioned a custom application called Sales Logistics Manager (SLM). Built with jQuery and ASP.NET Webforms, it had served its purpose well.
But software, unlike wine, doesn't improve with age.
The original developers had moved on. The technical expertise walked out the door with them, leaving them holding a legacy application they couldn't maintain, couldn't update, and couldn't replace. Bug reports piled up in an ever-growing backlog. Feature requests went unanswered. What was once a solution had become a source of daily frustration.
But the technical decay masked a much more dangerous problem—one that was quietly eroding profitability with every quote sent.
The quoting process had no guardrails. Sales representatives, focused on closing deals, would generate quotes with complex pricing adders, product line considerations, and customer type adjustments. Without a centralized system to enforce minimum margins, pricing inconsistencies crept in. Deals were being approved—or not approved—based on intuition rather than data. And too often, quotes went out the door at margins that should have triggered alarms.
The CFO could see it in the numbers. Profit margins weren't where they should be. But tracing the problem back to individual quotes was nearly impossible. The data was scattered across emails, spreadsheets, and the creaking SLM system. By the time a pattern emerged, the damage was already done.
"We knew we were leaving money on the table," the Senior Director of Information Technology later reflected.
"The question wasn't whether we had a problem—it was whether we could fix it without breaking everything else."
The Three-Headed Monster
The challenge wasn't singular. It was a three-headed monster that would have to be tamed simultaneously.
Head One: The Legacy Application. SLM was built on technologies that had fallen out of favor—jQuery and Webforms. It ran on Windows Server via IIS. The backlog of bugs wasn't just annoying; it was actively hampering sales operations. Every unresolved issue was a friction point slowing down the business.
Head Two: The Pricing Problem. Semiconductor distribution involves intricate pricing rules. Product lines have different margin requirements. Customer types each have their own pricing tiers. Adders for volume, rush orders, and special handling compound the complexity. The pricing logic itself was valuable intellectual property—"secret sauce" that the company didn't want visible to sales reps or, worse, leaking to competitors. But without automation, that secret sauce was either poorly applied or completely ignored.
Head Three: The Approval Maze. When quotes fell below margin thresholds, they needed management approval. But approval required visibility, and visibility required data pulled from multiple systems. Managers were making decisions with incomplete information. The CEO, frequently on the road, had no mobile access to review and approve exceptions. Deals that should have been approved sat waiting. Deals that should have been rejected slipped through. All was handled via emails back and forth, which commonly got skipped, confused, or misread.
Any solution would have to address all three heads simultaneously—and do it without disrupting the ERP system that ran the business.
The Bridge Strategy
Most approaches to legacy system problems fall into two camps: rip and replace, or ignore and hope. Neither was acceptable.
Ripping out SLM would have meant rebuilding decades of accumulated business logic from scratch—a multi-year, multi-million dollar gamble with no guarantee of success. Ignoring the problem was exactly what had created the growing backlog and profit leakage.
We proposed a third way: the bridge strategy.
Rather than abandoning SLM, we would stabilize it—clearing the backlog, fixing the bugs, and restoring confidence in the system. But we wouldn't stop there. We would build a modern layer on top: the Internal Pricing Solution (IPS), a React-based web application that would handle all pricing calculations and approval workflows while integrating seamlessly with the legacy backend.
The bridge strategy meant that they didn't have to choose between stability and innovation. They could have both.
Cracking the Pricing Code
The heart of the solution was the pricing engine—and that required deep collaboration with the CFO.
For weeks, we worked together to document every pricing rule, every adder, every exception. Some rules were written down. Others lived only in the CFO's head, accumulated over years of experience. We extracted them carefully, translated them into logic, and tested them obsessively.
The result was an automated calculator that could generate accurate, margin-compliant quotes in seconds. Sales representatives no longer needed to memorize complex pricing tiers or manually calculate adders. They simply entered the customer and product information, and the system returned a quote that met minimum margin requirements.
Crucially, the pricing formulas themselves remained hidden. The "secret sauce" stayed secret, visible only to the CFO and system administrators. Sales reps saw the output, not the algorithm—eliminating the risk of proprietary logic walking out the door with departing employees.
The Approval Workflow
For quotes that fell below standard margins—sometimes necessary to win strategic accounts or move aging inventory—the system introduced a structured approval workflow.
When a sales rep requested a discount, the system automatically routed the request to the appropriate manager based on the customer, product line, and discount depth. Managers received email notifications via Sendgrid with links to review the quote details. They could approve, reject, or request modifications—all from their desktop or mobile device.
The CEO, frequently traveling between global locations, gained secure mobile access to review and approve critical exceptions. Deals that once stalled for days now moved forward in hours.
The Integration Puzzle
The technical complexity shouldn't be underestimated. The solution needed to maintain data consistency across three distinct systems:
- Expandable ERP: The source of truth for orders, inventory, and customers
- Legacy SLM: The existing quoting application with years of historical data
- New IPS: The modern pricing and approval layer
Each system spoke a different technical language. Each had its own data model. Keeping them synchronized required careful orchestration and robust error handling.
The .NET backend became the conductor of this orchestra, managing data flow between the React frontend, the legacy Webforms application, and the MSSQL database that underpinned everything. When data changed in one system, the others were updated automatically—ensuring that sales reps, managers, and the ERP all worked from the same information.
The Margin Inflection
The impact was immediate and measurable.
Within weeks of deployment, the division using the new system—representing $60-80 million in annual revenue—saw its bottom-line margins increase by 6-8%. In dollar terms, that was $4.8 to $6.4 million in additional profit hitting the bottom line annually.
The math was simple but powerful: when every quote automatically met minimum margin requirements, profitable deals became the default rather than the exception. The approval workflow caught the exceptions that needed scrutiny while allowing standard quotes to flow freely. Sales representatives, freed from manual calculations and margin uncertainty, focused more on customer relationships and less on spreadsheet gymnastics.
The backlog that had plagued SLM for years? Resolved. The bugs that frustrated sales reps daily? Fixed. The application that had been a source of headaches became a source of confidence.
The Secret Sauce, Still Secret
Beyond the immediate financial impact, the company gained something perhaps more valuable: control over their intellectual property.
The pricing logic that differentiated them in a competitive global market—the nuanced understanding of when to adjust margins, how to weigh customer relationships against immediate profitability, which product lines could bear higher adders—remained protected. New sales hires learned to use the system without learning the formulas. Competitors who hired away employees gained no insight into their pricing strategy.
As the Senior Director of Information Technology noted: "This project has set a new benchmark for how we approach legacy system modernization."
A New Relationship with Legacy
Four years later, the system remains in active use—still maintained, still evolving, still delivering millions in annual profit improvement.
The bridge strategy proved that legacy applications don't have to be either replaced or endured. With the right approach, they can be stabilized, extended, and integrated into a modern technology ecosystem. The old and the new can coexist, each doing what it does best.
For the company, the legacy SLM application that once symbolized technical debt now represents something else entirely: the foundation upon which they built a multimillion-dollar profit improvement, without disrupting the business that depended on it.
The Challenge
The Company faced a perfect storm of technical and operational challenges:
- Abandoned legacy application: SLM, built on outdated jQuery/Webforms/ASP 4.51, had an extensive backlog of bugs with no internal expertise to maintain it
- No pricing controls: Sales reps sent quotes below acceptable margins, directly hurting profitability
- Complex pricing rules: Advanced calculations for adders, product lines, and customer types required CFO input but weren't automated
- Approval workflow gaps: Management lacked visibility into exception quotes, and the CEO needed mobile access for approvals
- Integration complexity: Any solution had to work seamlessly with Expandable ERP while maintaining data consistency
- IP protection risk: Proprietary pricing formulas were exposed to sales reps and potentially competitors
The Solution
We implemented a bridge strategy that stabilized the legacy system while adding modern capabilities:
- Legacy stabilization: Cleared the backlog of SLM issues and restored confidence in the application
- Internal Pricing Solution (IPS) : React-based web application with automated pricing calculator enforcing minimum margins
- Hidden pricing logic: Proprietary formulas remain visible only to CFO and administrators—sales reps see only outputs
- Approval workflow: Automated routing of exception quotes with email notifications (Sendgrid) and mobile access for the CEO
- Multi-system integration: Seamless data consistency across Expandable ERP, legacy SLM, and new IPS
- Modern architecture: React frontend talking to .NET backend, integrating with legacy Webforms/jQuery via MSSQL
Key Outcomes
- $4.8-6.4 million annual profit increase from the 6-8% margin improvement in the $60-80M division
- Pricing control restored—every quote automatically meets minimum margin requirements
- Legacy application stabilized—backlog cleared, bugs fixed, confidence restored
- Approval workflow streamlined—managers see exceptions, CEO approves from mobile
- IP protected—proprietary pricing formulas hidden from sales reps and competitors
- Data consistency maintained across ERP, SLM, and IPS without disruption
Find What’s Slowing Your App
Uncover hidden errors, slow queries, and security risks.
Software Insights That Actually Matter
Real issues, real fixes, and what we’re seeing across live applications.
SHARE THIS
Latest Posts







