Salesforce Certified Platform App Builder — Question 321

Universal Containers has a new custom object for Invoices that includes an Invoice Number field. Before the Invoice object can be used, invoices will be migrated from an external system maintaining their current Invoice Number. After the migration, each new Invoice created in Salesforce must have a unique Invoice Number.

How should the app builder configure the Invoice Number field?

Answer options

Correct answer: A

Explanation

The correct answer is A because it allows for the migration of existing Invoice Numbers while ensuring that the field type can later be changed to AutoNumber, guaranteeing uniqueness for any newly created invoices. Option B is incorrect as migrating to an AutoNumber field does not support existing values. Option C does not achieve the requirement of uniqueness for new entries, and Option D unnecessarily complicates the setup by introducing two fields instead of one.