Assuming I have two apex classes wherein
Class1 handles the simultaneous insertion of parent
Parent__c and child
Child__c records, and wherein
Class2 handles computations.
Meanwhile, let's also assume that I have two apex triggers:
Parent__c object: (for every
Parent__c record inserted, there will be
Parent2__c record inserted)
Child__c object: (for every
Child__c records inserted, there will be
Child2__c records inserted)
Is it possible to call
Class2 apex class from these two triggers?