Skip to main content
Version: 1.25

GAUs

This article explains how a gift's General Accounting Units (GAUs, the funds or programs it supports) get onto a receipt, and how to print them.

How GAUs Reach a Receipt​

In NPSP, a gift's funds are GAU Allocation records that link the Recurring Donation (or Opportunity) to one or more General Accounting Units, each with an amount. Dryad Receipting turns them into two text fields:

  • GAUs: the GAU names, for example "Building Fund, Scholarships".
  • GAUs with Amounts: each name with its amount, one per line.

It takes two steps:

  1. When a receipt is created, the app reads the gift's GAU Allocations and writes both fields on the Recurring Donation or Opportunity. This only happens when the Concatenate GAUs setting is "Yes".
  2. The default field mappings then copy both fields from the Recurring Donation or Opportunity to the receipt, like any other mapped field.
OptionHow it worksUse it when
Concatenate GAUs = "Yes" (the default)The app fills both fields from the GAU Allocations each time a receipt is created.You use NPSP GAU Allocations and want them listed on receipts.
Concatenate GAUs = "No"The app leaves the fields alone. The mappings still copy whatever is in them.You fill the fields yourself, for example with a flow, or want your own wording.

The Concatenate GAUs Setting​

Concatenate GAUs is in Receipt Settings > General Settings, under General Options. It is "Yes" at install, and a blank value counts as "Yes".

When it's "Yes", every recurring donation receipt, and every new single or consolidated receipt for Opportunities, sets:

  • GAUs: each GAU's name once, separated by commas, in the order the allocations are read. The names aren't sorted.
  • GAUs with Amounts: each GAU's name with the total of its allocations on that gift, one per line, for example "Building Fund: $1,250.00". The lines are separated by HTML line breaks, which print as new lines on the PDF but show as <br/> on the record page.

A gift with no GAU Allocations gets blank fields.

The Setting Overwrites the Fields​

When it's "Yes", the Recurring Donation's and Opportunity's GAUs and GAUs with Amounts are replaced each time a receipt is created. Don't use them for anything you fill in yourself; set the setting to "No" instead.

Amounts Don't Follow the Receipt's Language​

The amounts are printed as "$1,250.00" on French receipts too. There is no French format such as "1 250,00 $". The GAU names aren't translated either. They print as they are named in Salesforce.

Long Lists Are Shortened​

GAUs holds up to 255 characters. If the list is longer, it is cut at 252 characters and ends with "...", even in the middle of a name.

Consolidated Receipts​

A consolidated receipt has only one GAUs field, and field mappings are applied for each gift in turn. So the receipt shows the GAUs of the last gift processed, not a combined list for all its gifts. See Consolidated and Summary Receipts.

  • Recurring donation receipts take their GAUs from the Recurring Donation's own GAU Allocations, because the Recurring Donation mappings are applied after the Opportunity mappings.
  • Consolidated receipts for Opportunities are only reliable when all the donor's gifts go to the same GAUs. To show each gift's GAUs as a row, map them to the Receipt Item and use the list of gifts in the template. See Per-Gift Rows on Consolidated Receipts.

Payment Receipts​

When Receipt by is "Payment", receipts don't get GAUs. The app doesn't fill the fields for payments, and the Payment field mappings don't include them.

To show funds on payment receipts, put them in a field on the Payment, for example a formula that reads the Opportunity's GAUs, and map it to the receipt's GAUs.

What Isn't Affected​

  • Existing receipts: changing the setting or the allocations doesn't change receipts already created. Only new receipts get the new values. To correct one, issue a replacement (see Voiding and Reissuing).

Printing GAUs on the Receipt​

Add the merge fields to your template with the template editor:

  • {!dryad__Receipt__c.dryad__GAUs__c} for the list of names
  • {!dryad__Receipt__c.dryad__GAUs_with_Amounts__c} for the names with amounts, one per line

A blank field prints nothing, so to print a heading only when there are GAUs, see the conditional text how-to in the Field Mapping article.

Troubleshooting​

SymptomCheck
Receipts have no GAUsCheck Concatenate GAUs is "Yes", that the gift has GAU Allocations, and that the GAU field mappings are active. Receipts created before that aren't updated.
Payment receipts have no GAUsExpected: see Payment Receipts.
Your own values in GAUs keep being overwrittenConcatenate GAUs is "Yes". Set it to "No".
A consolidated receipt shows only some of the donor's GAUsIt shows the last gift's GAUs. Map GAUs to the Receipt Item and print them per gift instead.
The list ends with "..."It was longer than 255 characters. Shorten the GAU names, or print GAUs with Amounts instead.
French receipts show amounts as "$1,250.00"Expected: GAU amounts don't follow the receipt's language.