Can't set default currency
-
Wednesday, May 18, 2011 8:47 AM
I've got a custom entity which contains various money fields.
When I try and enter a value in any of them I get this error
"A currency is required if a value exists in a money field. Select a currency and try again"
I've tried the following but the problem remains.
1. Added the transactioncurrencyid field to my form, then is the load event I added:
// SET DEFAULT CURRENCY
var lookupData = new Array();
var lookupItem= new Object();
lookupItem.id = 'c6a8495f-cd9f-48f5-8b8a-0fb76621dc4d';
lookupItem.typename = 'transactioncurrency';
lookupItem.name = 'Pound Sterling';
lookupData[0] = lookupItem;
crmForm.all.transactioncurrencyid.DataValue = lookupData;2. Made sure all my users have a default currency selected.
Any idea what the problem might be?
Thanks
All Replies
-
Wednesday, May 18, 2011 9:04 AM
Try clearing the cache., this behavior was seen in the preview screen but would work fine on the form.
Mamta -
Wednesday, May 18, 2011 9:18 AM
Hi,
You may want to install Update Rollup 8 if you haven't had the chance.
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html- Proposed As Answer by Ankit Himmatlal Shah Wednesday, May 18, 2011 9:19 AM
-
Wednesday, May 18, 2011 1:31 PM
Hi,
I've updated to Rollup 17, but the problem remains.
Any ideas?
Thanks
-
Wednesday, May 18, 2011 2:07 PM
Hi,
Visit below thread for more help
http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/51bfb3fc-58b3-40c6-8f09-6c05884d1fe4
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html