function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anmol Bali 2Anmol Bali 2 

Roll-up Summary (Getting confuse in ans 1 or 2?)

An org has enabled multi currencies, a developer needs to aggregate the sum of the "estimateValue" field on cmpMember obj. using roll-up summary field "totalValue" on compaign obj.
how is the currency of totalValue roll-up summary field determine

1 values in cmpMember converted into the currency of compaign and sum is displayed using the currency on compaign record
2 values in cmpMember are summed up and the resulting compaign field is displayed as numeric field on compaign record
3 values in cmpMember are converted into the currency of current user, and the sum is displayed using the currency on compaign record
Andy BoettcherAndy Boettcher
Per the help documentation:  https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_about_roll_up_summary_fields.htm&language=en

If your organization uses multiple currencies, the currency of the master record determines the currency of the roll-up summary field. For example, if the master and detail records are in different currencies, the detail record value is converted into the currency of the master record.
Rajesh Sahoo 6Rajesh Sahoo 6
The answer is 1. values in cmpMember converted into the currency of compaign and sum is displayed using the currency on compaign record