AnsweredAssumed Answered

Can SugarBean access custom fields without using the "_c" ending?

Question asked by Yury Voloshin on Aug 14, 2019
Latest reply on Aug 15, 2019 by Yury Voloshin

I have an after_save logic hook in a custom module where I'm setting the value of a field called rate_actual equal to the value of a custom field called engineer_rate_c. But, there is a typo in the code where I forgot the "_c" ending, like this:

$bean->rate_actual = $bean->engineer_rate;

Despite this error, the value gets set correctly. Does SugarBean have the ability to access custom fields without including "_c" in the name?

Outcomes