RKL eSolutions | Insights, Tips and Trends from a top Sage Reseller and Technology Specialist

Sage 500 vdvCustomerPaymentAppl Slow

Written by Joe Noll | Jul 12, 2016 8:50:22 AM

The vdvCustomerPaymentAppl View has been around for many versions. In Sage 500 v7.4 there was a minor change with Customer Payments and Apply to Invoices. This was a positive change in that we had more ways to associate Payments to Order, Shipment and eventually Invoices.

The vdvCustomerPaymentAppl View uses a component of this enhancement. What we recently noticed is that there is a missing Index on tarCustPmtAppl to enhance the performance of this View.

After doing some major analysis on this View what we have uncovered is the following missing Index.

So you would run a script like this, then click on the query plan column link. This would give you the plan. Then you could do a save as on that plan and give it a .sqlplan file extension.

The results for the client were amazing. The client said they remember this task taking sometimes over 10 minutes or more to return the results, now it is seconds!