Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform App Builder All Questions

View all questions & answers for the Certified Platform App Builder exam

Exam Certified Platform App Builder topic 1 question 550 discussion

Actual exam question from Salesforce's Certified Platform App Builder
Question #: 550
Topic #: 1
[All Certified Platform App Builder Questions]

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?

  • A. Create a Text field, then change it to AutoNumber after the migration.
  • B. Create an AutoNumber field and migrate the Invoices in Invoice Number order.
  • C. Create a Text field and mark it as a unique external ID field.
  • D. Create a Text field for the original Invoice Number and an AutoNumber field for the Salesforce Invoice Number.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sfreesway
Highly Voted 1 year, 5 months ago
Selected Answer: A
Answer is A https://developer.salesforce.com/forums/?id=906F0000000DCbOIAW 'If you convert an auto-number field into a text field, the data in that field remains unchanged. Also, you can safely convert a text custom field into an auto-number field without losing your data. Converting an auto-number field into any other data type results in data loss. Auto-number fields can contain a maximum of 30 characters. Before converting a text custom field into an auto-number field, change any records that contain more than 30 characters in that field.'
upvoted 5 times
...
SHK1207
Most Recent 3 months ago
Correct answer is D. D. Create a Text field for the original Invoice Number and an AutoNumber field for the Salesforce Invoice Number: By creating two separate fields, you can preserve the existing Invoice Numbers from the external system and still use Salesforce’s AutoNumber functionality to ensure new Invoice records have unique numbers. The Text field can store the original invoice numbers from the external system, while the AutoNumber field automatically generates unique numbers for new invoices created in Salesforce.
upvoted 1 times
...
Kiki711
3 months, 2 weeks ago
Selected Answer: A
It should be A, coz it clearly states in the question 'After the migration, each new Invoice created in Salesforce must have a unique Invoice Number.' whereas unique external id won't populate automatically and mainly used for matching.
upvoted 1 times
...
Odonke2
1 year, 6 months ago
A "Also, you can safely convert a text custom field into an auto-number field without losing your data."
upvoted 2 times
...
[Removed]
1 year, 7 months ago
Selected Answer: C
In the case of answer A, I think that changing from text type to automatic numbering type will cause data loss
upvoted 2 times
...
[Removed]
1 year, 8 months ago
C. Create a Text field and mark it as a unique external ID field. All other answers don't make sense.
upvoted 4 times
...
wlthorn
1 year, 9 months ago
A. Create a Text field, then change it to AutoNumber after the migration. This option allows the app builder to first migrate the existing Invoice Numbers from the external system, which would be stored in a text field, and then change the field type to an AutoNumber after the migration. This ensures that the existing Invoice Numbers are preserved, and that each new Invoice created in Salesforce will have a unique Invoice Number generated by the AutoNumber field.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...