Error: Procedure or function 'USP_REVENUEBATCH_CONSTITUENT_DELETE' expects parameter '@BATCHREVENUECONSTITUENTID', which was not supplied -- received when applying recognition credits to new constituents in an Enhanced Revenue Batch.

CRM users may receive the error above when working in an Enhanced Revenue Batch, and attempting to apply recognition credits to new constituents. 

This error message may appear if each of the following conditions are met:
  1. The payment entered in batch has multiple applications or is split between different designations.
  2. There are recognition credits associated with two or more of the applications/designations. 
  3. At least one of the constituents receiving recognition for the payment does not already exist in the database, and is being added as a new constituent in the batch. 
The error message does not appear when the user validates the batch, but will appear when they attempt to commit the batch.

Download and install the latest patch, which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch. 

Possible Workarounds:
 

  1. Enter the new constituents in CRM prior to assigning the constituents recognition credits in batch.
  2. Enter the payments in batch, commit the batch, then manually edit the payments to specify recognition recipients.

Environment

 2.93.2034, patch 89 ; 2.94.1524
 2.94.1524, patch 76 ; 3.0.516, Service Pack 2 ; 2.93.2034, patch 95

Was this article helpful?