From 0c955be0503bce0d8862e3ef59cc578c1e52ccca Mon Sep 17 00:00:00 2001 From: Neha Gupta Date: Fri, 9 Apr 2021 12:26:39 +0530 Subject: [PATCH 1/2] middle name correction --- .../main/default/classes/AccountQuickContactController.cls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/force-app/main/default/classes/AccountQuickContactController.cls b/force-app/main/default/classes/AccountQuickContactController.cls index 69b0f81..4437245 100644 --- a/force-app/main/default/classes/AccountQuickContactController.cls +++ b/force-app/main/default/classes/AccountQuickContactController.cls @@ -26,7 +26,9 @@ public with sharing class AccountQuickContactController { public static void newQuickContactForAccount(String accountId, String firstName, String lastName, String phone, String email){ Contact c = new Contact(); c.FirstName = firstName; + c.MiddleName = middleName; //neha changed c.LastName = lastName; + c.Phone = phone; c.Email = email; c.AccountId = accountId; From 14285805038f5705dfe8c0ab69ef1d6327f8887d Mon Sep 17 00:00:00 2001 From: Neha Gupta Date: Mon, 12 Apr 2021 15:45:47 +0530 Subject: [PATCH 2/2] Commits --- .../main/default/classes/AccountQuickContactController.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/classes/AccountQuickContactController.cls b/force-app/main/default/classes/AccountQuickContactController.cls index 4437245..563121f 100644 --- a/force-app/main/default/classes/AccountQuickContactController.cls +++ b/force-app/main/default/classes/AccountQuickContactController.cls @@ -26,8 +26,8 @@ public with sharing class AccountQuickContactController { public static void newQuickContactForAccount(String accountId, String firstName, String lastName, String phone, String email){ Contact c = new Contact(); c.FirstName = firstName; - c.MiddleName = middleName; //neha changed - c.LastName = lastName; + c.MiddleName = middleName; //h + c.LastName = lastName;//new changes c.Phone = phone; c.Email = email;