function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mharikian1.3892229047844834E12mharikian1.3892229047844834E12 

METHOD_EXIT with no METHOD_ENTRY (QuoteLineItems)

I have a trigger on the Quote Line Item. I also have triggers on Opportunity Line Items and Opportunities. I am turning methods on and off during the processing of certain line items over others.

I changed the amounts on an update on an Opportunity Line Item which is syncing with a quote line item, the Opportunity Line Item triggers fired, and then other processes took place which ultimately ended up erring out at my Quote Line Item triggers.

I can find the METHOD_EXIT, but can't see in the debug logs where there was ever a METHOD_ENTRY on the quote line item triggers. Has anyone ever run into this before and if so, what can I do to fix it? I trace what is causing the quote line item triggers to fire but need to track this.

Thanks.
Best Answer chosen by mharikian1.3892229047844834E12
mharikian1.3892229047844834E12mharikian1.3892229047844834E12
Shashank,

Thanks for checking in on this. It ended up being a problem with a managed package that wasn't directly visible in the debug logs. Since then I've been able to implement a work around, and have successfully bypassed the errors I was receiving.

Thanks again.

 

All Answers

ShashankShashank (Salesforce Developers) 
Hi,

Would you be able to post your code so I can try to replicate the same and check?

Thanks,
Shashank
mharikian1.3892229047844834E12mharikian1.3892229047844834E12
Shashank,

Thanks for checking in on this. It ended up being a problem with a managed package that wasn't directly visible in the debug logs. Since then I've been able to implement a work around, and have successfully bypassed the errors I was receiving.

Thanks again.

 
This was selected as the best answer