Roll up field throwing exception on refreshing


Scenario

I've Bank and Bank Fee look ups on a custom entity call Line Items. Upon change of Bank fee lookup, I am copying fee value in a currency roll up field using JavaScript. 
Now, I configured currency roll up field on Bank form to aggregate all fee that is used for a certain bank.

Problem
Upon refreshing the roll up field, it is throwing following error:

"Record currency is required to calculate rollup field of type currency. Provide a currency and try again"



Cause
Unavailability of Currency (schema name: TransactionCurrencyId) field on the form that contain the Roll up field, in my case that is custom entity Bank.

Resolution
I went down to solution, find the Currency under fields section of Bank, added that field on Bank form. 
Created a business rule to by default set its currency value and make it hidden. 

Keep learning!


Comments

Popular posts from this blog

How to hide '+' on a subgrid in dynamics CRM?

Pick and Removing Can't be processed at the same time. To pick this queue item, please unselect the option for removal.

Get Rid off Pending Email Warning - Microsoft Dynamics CRM