How to update Account Billing address in Shipping address , Only If Shipping address is Blank ?

Develop an Apex Trigger so that every time an account is created or updated, the Value of the Billing Address is to the Shipping Address.

If you have missed the previous scenarios you can get the scenarios from the below link

https://www.pantherschools.com/category/developer/

Table of Contents

Introduction to scenario

→ Apex Trigger 3

Develop an Apex Trigger so that every time an account is created or updated, the Value of the Billing Address is to the Shipping Address.

You only need to update the Shipping Address information with the Billing Address if the Shipping Address (Compound Field) has having blank value.

Hands on


					
				

Dispatcher Class


					
				

Handler Class


					
				

Helper Class


					
				

Outcome




Resources

Salesforce Developer Document

Vaibhav Kumar
Vaibhav Kumar
Articles: 6

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Panther Schools

Subscribe now to keep reading and get access to the full archive.

Continue reading