php - Set the default value for a module field in SugarCRM -
i have module named cases
in sugarcrm
environment has several fields name
, id
, account_name
, date_created
, description
, on, , 1 custom field named custom_account_number
.
i want set value 1 of account_name
field, how can using custom php script in custom folder?
if using sugar 7.2 , simple,
1. go admin->studio->modulename->fields->select custom fiel
d.
2. check
calculated value click on edit formula
.
3. fields select name field.
4. deploy it.
now go module , save name appear on custom field also.
i did not work on community edition can give idea , have write logic hook after save
, in hook can write logic copy name custom field.
Comments
Post a Comment