Error: Must declare the scalar variable "@PhoneNumber" - when searching by phone number in Batch Entry

When searching a constituent by phone number in a Membership Dues Batch, you may receive the following error:

Error: Must declare the scalar variable "PhoneNumber"
When you search this constituent by phone number in the constituent search, you may notice you do not receive this error and are successfully able to find the constituent.
This issue has been resolved. If you experience this error, please chat with support to provide the exact steps that were taken.

Steps to Duplicate

  1. Navigate to Revenue > Batch Entry > Add Membership Dues Batch
  2. In the Bill To box > Select the magnifying glass to search
  3. Enter a phone number in the membership dues constituent search > search
  4. Receive the error

Environment

 Altru Arts & Cultural
 Yes
 4.9
 4.92

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.