...
Look at the Performance Profiler for the delivery agreement:
The updates to the query structure inside Receipt Agr Chart Mgt. has been done to narrow the agreements header first, and then narrow down the lines, instead of finding the header from querying each line in the system so that the performance can be optimized.
Add an Option selection page for sending Sale Invoices in email as in Print Report screen
...