You need to sign in to do that
Don't have an account?

Currency fields on entities with effective dated currency are not supported.
Hai,Guys
I am trying to to solve this but i am getting this error (it is a trail head visualfoce basics) i am using visualfofce page,please help me to come out by this error.
I am trying to to solve this but i am getting this error (it is a trail head visualfoce basics) i am using visualfofce page,please help me to come out by this error.
Currently SF does not support displaying currency fields in Visualforce pages when advanced currency management is enabled: "ERROR: Currency Fields on entities with effective dated currency are not supported"
Refer the below Idea
https://ideas.salesforce.com/s/idea/a0B8W00000GdYg4UAF/display-currency-fields-in-vf-pages-when-advanced-currency-management-is-enabled
If you don't need "advanced currency management" turn it off.
If this information helps, Please mark it as best answer.
Thanks!!
All Answers
Currently SF does not support displaying currency fields in Visualforce pages when advanced currency management is enabled: "ERROR: Currency Fields on entities with effective dated currency are not supported"
Refer the below Idea
https://ideas.salesforce.com/s/idea/a0B8W00000GdYg4UAF/display-currency-fields-in-vf-pages-when-advanced-currency-management-is-enabled
If you don't need "advanced currency management" turn it off.
If this information helps, Please mark it as best answer.
Thanks!!
correct 4th output field value
"{! oppurtunity.AccountName}"
If this information helps, please mark it as the best answer.
Thanks!!
You have two options:-
First Option:-
Dated currencies are not supported at this time in Visualforce. You should be able to use outputText instead of outputField to get the currency values. However they will not be calculated and converted for you, and you may have to format them yourself.
Second Option:-
you need to Disable Advanced Currency Management and use below code:
<apex:page standardcontroller="Opportunity">
<apex:pageBlock >
<apex:pageBlocksection title="Opportunity Details" >
<apex:outputField value="{!Opportunity.Name}"/>
<apex:outputField value="{!Opportunity.Amount}"/>
<apex:outputField value="{!Opportunity.CloseDate}"/>
<apex:outputField value="{!Opportunity.Account.Name}"/>
</apex:pageBlocksection>
</apex:pageBlock>
</apex:page>
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh