+ Start a Discussion
etechcareersetechcareers 

Error:Currency fields on entities with effective dated currency are not supported???

 

<apex:outputField value="{!a.total.TotalPrice}"/>

 

What is wrong with this?

 

Because I am getting this: Error:Currency fields on entities with effective dated currency are not supported???

etechcareersetechcareers

Found it:

 

                <table border="1">
                    <tr>
                    <th><apex:outputlabel value="Total:"/></th>
                    <th>                 
                        <apex:panelgroup>
                            <apex:outputtext value="{!a.opportunity.CurrencyISOCode}" />
                            <apex:outputText value="{0, number, ###,###,###.00}">
                            <apex:param value="{!a.TotalPrice}" />
                            </apex:outputText>
                        </apex:panelgroup>                
                </th></tr></table>