Customer case
Modernizing L-Founders' Legacy Visualforce System into an enterprise-grade platform
Nextview transformed L-Founders' aging Visualforce shipment-management system into modern Lightning Web Components, dramatically elevating the codebase quality from a 3 out of 10 to an 8 out of 10. By modernising the platform's architecture and user experience, Nextview delivered a vastly superior operational interface for L-Founders while completing the migration 20.37% under the approved budget.
Understanding the Legacy Visualforce Setup
L-Founders runs its logistics operations on Salesforce with Certinia (formerly FinancialForce) underneath it, and one of the busiest screens in the system was a shipment-confirmation controller built years earlier in Visualforce. A single controller sprawling to 4,970 lines, wired together with custom logic that nobody had fully documented, and screens that felt dated next to the rest of a modern Salesforce org.
The ask was straightforward on paper: retire the Visualforce controller and rebuild the front end in Lightning Web Components, on Certinia's Confirm Shipments and Request Deliveries flows, specifically making it Agentic ready. In practice, a rebuild like this only goes well if you understand exactly what the old code is actually doing and this codebase didn't make that easy.
Uncovering Hidden Bottlenecks and Architectural Flaws
Before writing a line of new code, Nextview ran a code quality audit on the existing controller. The overall score came back 3 out of 10. Buried inside it was a single 2,500-line method that looped thousands of times for no functional reason, it existed purely to inflate test coverage numbers, not to do real work. There were no genuine unit tests to build on, which meant a real test suite would have to be built from scratch as its own workstream, on top of the migration itself.
The team's first architectural approach, a batch wrapper around the existing logic, turned out not to be viable once they were deep into the code, and they had to pivot mid-execution to a chain-of-jobs architecture instead. On top of that, this was the assigned Salesforce consultant's first project on the Certinia platform, adding a ramp-up cost that a standard estimate wouldn't have captured, and full environment access wasn't available from day one, which compressed the working timeline further. None of this was visible from the outside, it only surfaced once the team was inside the code.
Modernising the Codebase with AI-Driven Architecture
Nextview used Claude throughout the engagement, not as a bolt-on but as the backbone of how the work got planned and built. Claude ran the initial code quality scan and surfaced a remediation roadmap that named exactly what was wrong with the controller and in what order to fix it. From there, the team used Claude to design a modularization strategy: splitting a single monolithic controller into components a new developer could actually read and maintain, rather than a like-for-like port of bad architecture into a new framework.
The implementation followed that plan. The 4,970-line Visualforce controller was retired entirely and replaced with 10 Lightning Web Components, one orchestrator coordinating nine sub-components. On the back end, the rebuild produced 12 Apex classes and 7 test classes, including a new service layer that bridges the existing Certinia SCMC API through injectable interfaces, removing the awkward test-context branching the old code relied on. The Confirm Shipments and Request Deliveries processes were bulkified and the queueable job chain was specifically designed to avoid governor limits on large truck volumes, a real operational constraint for a logistics client, not a theoretical one. Every line Claude helped produce was reviewed and validated by the Salesforce consultant before it shipped.
Measuring Quality, Efficiency, and Cost Savings
The rebuilt components went live in L-Founders' production org and now run the daily Confirm Shipments and Request Deliveries processes for the logistics business.
The rebuilt system scored 8 out of 10 on the same quality audit that had flagged the original at 3 out of 10, with 9 of the 10 pre-existing issues fully fixed. Error handling and code maintainability each jumped from 1 to 8. Test isolation went from 2 to 8. The full unit test suite, built from nothing, took 2 days with Claude, against a realistic estimate of about a week doing it manually.
On effort, the consultant's own account put the reduction at least 33% against what the work would normally have taken. Measured against the original estimate, the team still closed the project more than 25% under the effort originally planned for, even after accounting for the unplanned pivot in architecture and the ramp-up cost of a first Certinia engagement. That translated directly into delivering the outcome significantly under the approved budget.
L-Founders' end users and the business itself came away seeing the new screens as a real jump in quality and usability, not a like-for-like swap.
Applying Key Insights to Future Projects
L-Founders now runs shipment management on a modern Lightning foundation, maintainable by any Salesforce developer rather than the handful who understood the old controller. Because the components are built as Lightning Web Components with a clean service layer, they're also ready to be invoked as Agentforce actions, so the same rebuild that fixed today's problem opens the agentic path L-Founders wants next.
Rebuilding a legacy Salesforce system and want a clear-eyed estimate of what it will actually take? Get in touch with Nextview.