Tag Archives: triggers

Trigger for create record in another object without relationship

Hi, here we have shown, how to create a record when a record is inserted in one object, another object record should create. Here we are used People and contact objects, both dont have any relationship, but if people object record is created then contact object record should be created. Trigger Share this…WhatsappFacebookEmail

Trigger with Test class for When Account is created with AnnualRevenue more than 50 Lacs and Industry is Energy then create a new opportunity

Hi, Here we have witten Trigger for, When ever a new Account is created with Annual Revenue more than 50Lacs and Industry as Energy then create a new opportunity for this account with OpportunityName as AccountName StageName as Prospecting CloseDate as Today+30 days Trigger Code Test Class for this Trigger This is Test class for… Read More »