I'm using SugarCRM Enterprise 220.127.116.11.
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?