Smart Query Definitions
To create a smart query instance A smart query instance is a set of results the program generates from a previously defined query for parameters you specify., you must first select a definition. A definition is a previously defined query you use in a smart query instance to generate results for parameters you specify. They are typically created to perform complex calculations that use business logic.
The program includes a number of default definitions, but users who are familiar with the organization's data model can use ad-hoc query within the program to create them. Also, Infinity SDK software developers can create them and add them to your database.
Note: Default definitions and definitions created from ad-hoc queries restrict results to the site security levels of users who generate smart queries. Custom definitions only include site security when developers add it to them.
For information about how to use definitions to create instances of smart queries, refer to Create Smart Queries. For information about how to create smart query definitions from ad-hoc queries, refer to Create a smart query definition from an ad-hoc query.
The tables below provide detail about each default smart query definition by source view. For information about how to use definitions to create instances of smart queries, refer to Create Smart Queries. For information about how to create smart query definitions from ad-hoc queries, refer to Create a smart query definition from an ad-hoc query.
Constituent
Membership
| Option | Description |
|---|---|
| Membership Mailing Preference Smart Query |
Enables you to browse a list of members based on membership program and mailing preference. On the Parameters tab, select the parameters to use in the query. After the query processes, the Results tab displays the members that meet the criteria. On the Set save options tab, you can save the results as a selection for use in other processes, such as when you send membership renewal notices or membership upgrade appeals. |
| Membership Smart Query |
Enables to you browse a list of memberships based on parameters you specify such as membership program or level, membership type, membership status, or months before or after expiration. On the Parameters tab, select the parameters to use in the query. After the query processes, the Results tab displays the memberships that meet the criteria. On the Set save options tab, you can save the results as a selection for use in other processes, such as when you send membership renewal notices or membership upgrade appeals. |
Organization Position
| Option | Description |
|---|---|
| Organization Positions Smart Query |
Enables you to browse a list of constituents who are associated with a particular organization team, as defined in Manage organization hierarchy in Administration. You can use this smart query to help evaluate the fundraising performance of teams. On the Parameters tab, select which team or branch of the organization to include. After the query processes, the Results tab displays the selected positions, assigned fundraisers and business units, as well as the dates of the fundraiser assignments. On the Set save options tab, you can save the results as a selection for use in other processes, such as when you view the opportunity pyramid in Prospects. |
Registrant
| Option | Description |
|---|---|
| Multi-level Event Registrant Smart Query |
Provides registrant information for any event within a multi-level event. For example, you could use it to view registrants for an Alumni Reunion Weekend that includes supporting events such as a tailgate, family picnic, and formal gala. On the Parameters tab, specify the event to use. You can also specify a registrant selection to narrow the results. For example, you can include a selection of host registrants or registrants with an outstanding balance. After the query processes, the Results tab displays the registrant records that meet the criteria. On the Set save options tab, you can save the results as a selection for use in other processes, such as when you generate event invitations. |
Revenue
| Option | Description |
|---|---|
| Global Pledge Write-Off Smart Query |
Enables to you browse a list of pledges you want to write off based on parameters you set such as all unpaid pledges, those due by a certain date, or of a certain maximum amount. On the Parameters tab, you can select whether to include all unpaid pledges, unpaid pledges by a certain date, or unpaid pledges with a certain balance. After the query processes, the Results tab displays the unpaid pledges that meet the criteria. On the Set save options tab, you can save the results as a selection for use in other processes, such as Global pledge write-off in Revenue. |
| Revenue Dynamics Smart Query
Note: The Revenue and Recognition Dynamics smart query also includes hard and soft credits. |
The Revenue Dynamics smart query provides a list of constituents based on their revenue activity during two separate time periods. On the Parameters tab, enter the start and end dates of the two time periods to include in the comparison. Under Status, you can select the status of the constituents to include in the list based on the comparison of their activity during the two time periods. Below is the list of status options and their descriptions. New: Constituents with a revenue transaction during the later period, but not prior to the later period. Recaptured: Constituents with a revenue transaction during the later period and prior to, but not during, the earlier period. Upgraded: Constituents with revenue transactions during both periods, but with a larger revenue amount during the later period than the earlier period. Same: Constituents with revenue transactions during both periods, with an equal revenue amount during each period. Downgrade: Constituents with revenue transactions during both periods, but with a larger revenue amount during the earlier period than the later period. Lapsed new: Constituents with a revenue transaction during the earlier period, but not prior to the earlier period nor during the later period. Lapsed repeat: Constituents with a revenue transaction during and prior to the earlier period, but not during the later period. Under Revenue filters, you can select the types of revenue transactions to include in the activity comparison. You can also select to include only transactions toward specific designations or campaigns. After the query processes, the Results tab displays the constituent records that meet the criteria and their revenue amounts during each time period. On the Set save options tab, you can save the results as a constituent selection for use in other processes, such as a mailing. |
Sponsorship
| Option | Description |
|---|---|
| Sponsorship Delinquency Smart Query |
Enables to you browse a list of delinquent sponsorships based on parameters you set such as program, payment frequency, past due amount, or number of missed installments. On the Parameters tab, you can select which sponsorships to include. After the query processes, the Results tab displays the sponsorships that meet the criteria. On the Set save options tab, you can save the results as a selection for use in other processes, such as sponsorship pledge reminders or write offs. Note: The Past due amount field includes options for all active currencies. To see the amount past due in a specific currency, select the currency from the drop-down menu. The currency drop-down menu appears only when the multi-currency option is turned on. |