Salesforce Decode
Salesforcedecode
Apex questionsQuestion 138 of 179
ApexIntermediateScenarioapexperson-accounts

How do you write Apex that respects Person Accounts and Business Accounts?

Scenario

A trigger copying Account Name to Contacts fails for Person Accounts.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.