Monthly Archives: November 2019

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 »

Retrieve Dynamic picklist values in Lightning Component

In this scenario we have shown that, retrieving picklist values in Lightning Component Apex Controller Lightning Component : GetPiklistValues controller Js Application If you want to get picklist values in component then, write below application Logic in required Lightning Component…Here we have written logic directly in Lightning Application, but if we want to write the… Read More »