You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to get field values in Before delete Trigger.

Received Response
41
Views
5
Comments
in Sales 5 comments

Our requirement is whenever account team member is deleted , delete it from the related opporunities team as well

 

We wrote a code on Sales Account-> Sales Account Resource -> Before Delete Trigger.

We are trying to get the account id , so we can query opportunities with this account id and delete the team members of opportunity.

 

Problem we are facing is , in before delete trigger,

 

println('Sales Account Resource Beore Delete:' + ResourceId + SalesAccountPartyId);

 

ResourceId is returned but SalesAccountPartyId is returned as null.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!