function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
createOpportunityEvent.setParams({
"entityApiName" : "Opportunity",
"recordTypeId" : typeid,
"defaultFieldValues" : {
"Name": oName,
"AccountId": cName,
"StageName": stage,
"CloseDate": closeDateLocale,
"PolicyTypeDscr__c": policyType,
"PlanTypeDscr__c": planType,
}
});
createOpportunityEvent.fire();
I'm trying to prefill opportunity fields using QuickAction calling a component which would fire the above event. I am able to prefill all the fields except the dependency field - PlanTypeDscr__c, it depends on PolicyTypeDscr__c field.