Custom field not showing value

I’m assigning a value direct from the database to a custom text field in the Accounts module. The value shows correctly in the detail view but is not accessible elsewhere in the application.

There is a custom db field which autoincrements itself on the addition of a new record. I’ve fetched that using a custom function in utils and assigned the value at custom\Extension\modules\Accounts\Ext\Vardefs\sugarfield_customfield_c.php

I don’t understand why the value is not accessible elsewhere in the system. Please help.

Hi Sid,

Is there a reason why the value cannot be set with a custom field in sugarcrm? Is it a field that is only populated via the db and not a value entered in the CRM?

I realise you may now have a solution, as I’m responding to this very late!