CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 128: Certified Platform Developer II

An org has a requirement that an Account must always have one and only one Contact listed as Primary. So selecting one Contact will de-select any others. The client wants a checkbox on the Contact called 'Is Primary' to control this feature. The client also wants to ensure that the last name of every Contact is stored…

Nội dung câu hỏi

An org has a requirement that an Account must always have one and only one Contact listed as Primary. So selecting one Contact will de-select any others. The client wants a checkbox on the Contact called 'Is Primary' to control this feature. The client also wants to ensure that the last name of every Contact is stored entirely in uppercase characters. What is the optimal way to implement these requirements?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Write an after update trigger on Contact for the Is Primary logic and a separate before update trigger on Contact for the last name logic.
  2. B. Write a Validation Rule on the Contact for the Is Primary logic and a before update trigger on Contact for the last name logic.
  3. C. Write an after update trigger on Account for the Is Primary logic and a before update trigger on Contact for the last name logic.
  4. D. Write a single trigger on Contact for both after update and before update and callout to helper classes to handle each set of logic. — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề