AnsweredAssumed Answered

Opportunity sales status value not changing correctly

Question asked by Ramon Marcondes on May 19, 2016
Latest reply on Jul 7, 2016 by Ramon Marcondes


I'm using SugarCRM Enterprise


I have a RevenueLineItems module, that is related to the Opportunities modules.

What I need is when changing the RevenueLineItem 'sales_stage' field value, the related Opportunity 'sales_status' field value changes to the same value as the 'sales_stage' field.

I already done a logic hook to do this, but when in the RevenueLineItem I select the value 'Closed Cancel', the Opportunity sales_status changes to 'Prospecting'.

I already added a 'Closed Cancel' field/value to the Opportunity sales_stage dropdown.


Why this is happening? All the other RevenueLineItens values change the Opportunity value correctly.

Does the Opportunity 'sales_status' field have some sort of calculated field value that changes the field value automatically?