The standard "change owner" on account record has surprising behavior.
Salesforce Standard Change Owner Behavior
When changing account owner, opportunities owned by the current owner are changed. However, logic in opportunity trigger cannot be properly processed.
Issue
- the standard button doesn't cause opportunity trigger even though changing opportunity owner.
- opportunity trigger cannot catch the old opportunity owner id in any case if transaction starts with the standard button.
Due to above two issues, our business logic, dependent on opportunity owner changing, cannot be processed consisitently.
Anyone has workaround for this?