Portal
Language
 
Home>Knowledge Base>Root>CampaignMax>CampaignMax query to see if all payments have been distributed
User Login
Username
Password
 
 Login
Information
Article ID107
Created On2/10/2005
Modified9/20/2005

CampaignMax query to see if all payments have been distributed

This query will return two rows. One shows the total payments entered into the system and the other shows the total distributed back to pledges. If all payments have been fully distributed, then these numbers will match.

select 'Total Payments Received', SUM(paymentamount)
from campayments
union
select 'Total Distributed', SUM(distributionamount)
from camdistributions