Background
I have a master-detail relationship between two objects, let's call them:
parent__cchild__c
Once the parent__c record is in a certain status__c we block any changes using a before update trigger.
But this same before update trigger on the parent__c object is blocking child__c records from being added.
Questions
- Is this an expected behaviour?
- What is the usual pattern to enable this situation and workaround this behaviour?