AnsweredAssumed Answered

formula+custom+fields+causing+Undefined property notice in log

Question asked by slenzo slenzo on Apr 24, 2015
Latest reply on Apr 28, 2015 by Azmathulla Azmathulla
I have a dependent formula involving two custom fields on account that apparently causes tons of log notices which seem to indicate i haven't gotten something in formula right but I  am not sure what... any ideas? formula seems to work (in most cases at least) we have 40k + accounts so i have not looked personally at every one of them  :) Obviously getting tons of notices that seem to indicate something is amiss.

formula goals: show and allow edit of complianceHold based on customerType of Full Data Access or if customerType is Pending and ComplianceHold is true

Sugarcrm ver 6.5.1  custom fields: text customer_type_c, boolean compliance_hold_c

formula on compliance hold:
or(equal($customer_type_c,"Full Data Access"),and(equal($customer_type_c,"Pending"),equal($compliance_hold_c,true)))

notice in logs
[Fri Apr 24 11:18:13 2015] [error] [client XX.XX.X.XX] PHP Notice:  Undefined property: Account::$customer_type_c in /var/www/sugarCRM-IRBfocus/include/Expressions/Expression/Generic/SugarFieldExpression.php on line 89, referer: https://crm.irbfocus.net/index.php?action=ajaxui

Outcomes