You need to sign in to do that
Don't have an account?
Jens Peter Kristensen
add a currency field to opportunityLineItem
Hi
I have a problem with showing the opportunityLineItem total value correctly according to the user.locale.
I have tried to out the field TotalPrice from opportunityLineItem with <apex:outputField but that is not possible since we run multicurrency on the org and therefor i get this error "Currency fields on entities with effective dated currency are not supported.".
I have the correct value in opportunityLineItem.TotalPrice
I have then found out that I need to create a wrapperclass in my apex extension controller so that I can add a currencyfield to opportunityLineItem. The only thing I need to achieve with this field is to be able to output it with <apex:outputField so that it is correct formatted.
But I can't really get it to run - can someone help me to create that wrapper class ?
and how when do i trigger that wrapperclass ?
Thanks a lot.
Br
jpk
I have a problem with showing the opportunityLineItem total value correctly according to the user.locale.
I have tried to out the field TotalPrice from opportunityLineItem with <apex:outputField but that is not possible since we run multicurrency on the org and therefor i get this error "Currency fields on entities with effective dated currency are not supported.".
I have the correct value in opportunityLineItem.TotalPrice
I have then found out that I need to create a wrapperclass in my apex extension controller so that I can add a currencyfield to opportunityLineItem. The only thing I need to achieve with this field is to be able to output it with <apex:outputField so that it is correct formatted.
But I can't really get it to run - can someone help me to create that wrapper class ?
and how when do i trigger that wrapperclass ?
Thanks a lot.
Br
jpk