Given the following trigger implementation:
trigger leadTrigger on Lead (before update){
final ID BUSINESS_RECORDTYPEID = ‘012500000009Qad’;
for(Lead thisLead : Trigger.new){
if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){
thisLead.RecordTypeId = BUSINESS_RECORDTYPEID;
}
}
}
The developer receives deployment errors every time a deployment is attempted from Sandbox to Production.
What should the developer do to ensure a successful deployment?
A . Ensure BUSINESS_RECORDTYPEID is retrieved using Schema.Describe calls.
B . Ensure a record type with an ID of BUSINESS_RECORDTYPEID exists on Production prior to deployment.
C . Ensure BUSINESS_RECORDTYPEID is pushed as part of the deployment components.
D . Ensure the deployment is validated by a System Admin user on Production.
Answer: B
Latest PDI Dumps Valid Version with 191 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund