I want a new currency field to always be a negative value. Is it possible for an Admin?
What exactly do you mean?
A currency field in which each value is overwritten by its negative value when you enter a positive value?
Then you could use a logic_hook to checke the value ans to set it to negative when it is positive.
Unfortunaly I`m just an Admin and can only work in Studio.
Our supplier of Sugar is not so helpful so we stand on our own.. ☹
I added a calculated field:
This field is by default read-only. To change it you must install a vardef extension which sets the value
So if you create a field negative_c in module Accounts you must must add an extension file like _override_negative.php which sets:
The extension file name starting with _override makes sure that the file overrides the default settings in sugarfield_negativ_c.php
Retrieving data ...