I found that to get the currency format in the EditView including the $ symbol you simply need to set the currency format in the customer lisview def file found in:
custom\modules\Opportunities\metadata\listviewdefs .php
Code:
'PROJECT_COST_C' =>
array (
'width' => 10,
'label' => 'Project_Cost_CAD__c',
'align' => 'right',
'default' => true,
'currency_format' => true,
), But I still have not figured out how to do the same thing in the EditView so that my custom PROJECT_COST_C field has the same format as the AMOUNT field. If I try to key in comma separators for PROJECT_COST_C, Sugar truncates everything after the comma when I go to save the changes, which could have very serious implications if it was not caught. So I need to find a way to allow users to key in numbers with commas the same way you can do it with the Opportunities AMOUNT field.
Thanks,
Erik
Bookmarks