Tag Archives: Trigger

Using Formula Fields in Triggers

For one of our projects, we were adding some grouped products in the “Opportunity Products” object through our custom visualforce page. This seemed a very simple technical implementation. Though it would give us ‘NULL’ reference error when our custom page would try to insert the product records in the opportunity. However, it worked seamlessly for… Read More »

Dependent class is invalid and needs recompilation error

We had a trigger active and working fine for the past one year. This trigger would create a task and opportunity; as well as send an email based on certain business rules when the customer gave any kind of feedback online at the Salesforce portal. Some days back, we started getting the following error:This was… Read More »