Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

calculations within a query expression

$
0
0

CNR2016

I  am building a query expression using filters , in this case to calculate monies due to clients. 

Each record in new_dbfmlivedata has a lookup to account, (new_licenceid). this determines which credits and debits are for which customer.

In my code I only have one credit and one debit filter, although there will be more credit and debit filters.

My question is, is there a way to only return records to the _dbfmtoprocess where the sum of the credits are greater than the sum of the debts for each of the customers ( new_licenceid)


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>