Provide a brief description about the API method. What does it do? When to use it, etc.
Converts the currency field in the specified objects to the organization currency.
Replace the text below with the actual signature of the method. Be sure to include return type, params, and types for params
Map<ID, Decimal> ConvertCurrencyField(List<SObject> objs, String fieldname, String datefield)
List out all of the parameters for the method. Be sure to provide a description of each
Parameters
- objs - A list of sObjects
- fieldname - A currency field on the sObject specified in objs
- datefield - A date field on the sObject specified in objs that's used to determine the dated exchange rate
Returns
Map of object ID to currency value for the field. In non-multicurrency organizations, creates a map of object ID to the decimal amount values.
Comments
0 comments
Please sign in to leave a comment.