The business problem
Staff creating invoices had to load large customer and contact lists before selecting a record. As those lists grew, every lookup transferred data the user was unlikely to need.
Load results as staff need them
We replaced the full-list request with customer and contact searches that return 10 matches at a time. Staff can keep scrolling for more matches, and the selected customer stays visible when an invoice is reopened for editing. The screen shows when results are loading.
Frequently accessed data is cached in memory. We also introduced numbered pages for operational tables, with page sizes of 10, 25, 50 and 100. Searches check the full set of records, so staff can find a match even when it is outside the page currently on screen.
Protect invoice and shipment records
We updated the invoice workflow to reject edits once an invoice was cancelled or successfully delivered. We also improved how package records are kept consistent when shipment details change.
The pagination work covered shipments, customers, consignees, customer verification records, users, staff, country mappings, special package categories and terminal distance mappings.
What changed for staff
The invoice screen can open without downloading the full customer and contact lists. Staff can look up records across the dataset while keeping their place in the workflow. The portal enforces rules for protected invoices and keeps related package information in sync with shipment edits.