1

How do I get the currency in which asset price is stored?

Can I write something like asset.currency in Apex?

I'm creating a package for org with multiple currencies, and I need to convert the asset price to one currency -- that's why I'm asking this question.

0

1 Answer 1

1

See this for information on currency data type

For organizations that have the multicurrency option enabled, the CurrencyIsoCode field is defined for any object that can have currency fields. The CurrencyIsoCode field and currency fields are linked in a special way. On any specific record, the CurrencyIsoCode field defines the currency of that record, and thus, the values of all currency fields on that record will be expressed in that currency.

To perform currency conversions, client applications can look up the CurrencyIsoCode in the CurrencyType object.

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .