Skip to main content
Version: 1.24

App Utilities

App Utilities is a page in Receipt Settings with maintenance tools for receipting: one creates PDFs that are missing, the other refreshes the indexed fields used with large data volumes.

This article explains when to use each one and what it does.

Open it from the Dryad Receipting Settings page, under App Utilities in the left-hand menu. The page needs the Receipt Admin permission set.

Create Missing PDFs​

Creates a PDF for every receipt that doesn't have one yet: every receipt whose PDF Created box isn't ticked, whatever its status.

When to use it:

  • a "Create PDFs" job failed or was aborted, so some receipts were created without a PDF (see Batch Receipt Logs);
  • receipts show the Delivery Status "Missing";
  • you lowered Receipt Batch Size after PDF jobs failed, and want to finish the receipts that were left.

To create the PDF of a single receipt, use the Create PDF button on the receipt instead (see Actions on a Receipt).

What happens:

  1. Click Create Missing PDFs.
  2. If every receipt already has a PDF, the page says "There are no missing PDFs to create." Nothing else happens.
  3. Otherwise a "Create PDFs" job starts in the background, and a progress ring shows how far it has got. The button is unavailable until the job finishes. You can leave the page: the job keeps running, and its Batch Receipt Log shows the result.

Each receipt's PDF uses the receipt's own template. A receipt with no template uses the default English donation template from Receipt Settings. The job is split into parallel segments like any other PDF job (see PDF Segments in Receipt Settings).

Each click handles up to 50,000 receipts. If more are missing, click it again once the job is complete.

Refresh Indexed Fields​

This section only appears when Enable Index Optimization is "Yes" in Receipt Settings.

Enable Index Optimization is rarely needed

Leave it set to "No" unless you have very large data volumes, such as millions of gifts.

When it is "Yes", the indexed fields must be kept up to date with this tool.

With index optimization on, receipting selects opportunities using two plain copies of formula fields, Receipt Status Indexed and Payment Date Indexed, because Salesforce can't index formulas. The app keeps these copies up to date when gifts and donors change.

A change to Receipt Settings, though, changes the formulas across your whole org at once without updating the copies. This tool copies the current values again.

When to use it:

  • after you turn on Enable Index Optimization, to fill in the copies for existing gifts;
  • after you change a setting that affects eligibility, such as Minimum Receipt Amount, Require Payment, Receipt by or the record type settings;
  • when gifts you expect to be receipted are skipped, and their Receipt Status and Receipt Status Indexed don't match.

What happens:

  1. Choose a Start Date and End Date. They filter opportunities by Close Date. The default is 1 January two years ago to today. The end date must be later than the start date; otherwise the page says "End Date must be later than Start Date."
  2. Click Refresh Indexed Fields. The page says "Batch process started successfully", and a "Refresh Indexed Fields" Batch Receipt Log follows the job.

It covers opportunities in the date range that have a Receipt Status or Payment Date. Payments and recurring donations don't have indexed copies, so they aren't affected.

The job runs in batches of Receipt Batch Size opportunities, because updating opportunities also runs NPSP's own automation.

For very large orgs, refresh one year at a time, outside your busiest hours. See Large Volumes and Limits.

Troubleshooting​

SymptomCheck
The App Utilities page isn't thereThe user needs the Receipt Admin permission set.
There's no Refresh Indexed Fields sectionEnable Index Optimization is "No". The tool is only needed when it's "Yes".
"There are no missing PDFs to create." but a receipt has no PDFIts PDF Created box is ticked although the file was deleted. Use the Create PDF button on that receipt.
The "Create PDFs" log ends "Complete with Errors"Open the log's segments for the error. If it's a CPU or heap error, lower Receipt Batch Size and click Create Missing PDFs again.
Gifts are still skipped after a refreshCheck that their Close Date is in the range you chose, and that the "Refresh Indexed Fields" log is "Complete".