What should the developer use to create the orders in Salesforce?

Universal Containers (UC) has custom Order and Order Line objects that represent orders placed by its customers. A developer has a new requirement that UC's external enterprise resource planning (CRP) system placed by its customers. integrate with Salesforce to create orders for existing customers in Salesforce whenever an ERP system....

July 24, 2023 No Comments READ MORE +

Which two lines must change in the above ode to make the Apex method able to be wired?

A developer created a Lightning web component for the Account record page that displays the five most recently contacted Contacts for an Account. The Apex method, getRecentContacts, returns a list of Contacts and will be wired to a property in the component. Which two lines must change in the above...

July 24, 2023 No Comments READ MORE +

What may have caused this problem?

A developer creates an application event that has triggered an infinite loop. What may have caused this problem?A . The event is fired from a custom renderer. B. An event is fired ‘ontouchend’ and is unhandled. C. The event has multiple registered in the project. D. The event handler calls...

July 23, 2023 No Comments READ MORE +

What is the correct way to fix this?

The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Account are simultaneously updated to be customer. The test method fails at the Line 20 because of too many SOQL queries What is the correct way to fix...

July 23, 2023 No Comments READ MORE +

What is wrong?

Consider the controller code above that is called from a Lightning component and returns data wrapped in a class. Consider the controller code above that is called from a Lightning component and returns data wrapped in a class. The developer verified that the Queries return a single record each and...

July 23, 2023 No Comments READ MORE +

Which component should the developer add to the form to display error messages?

A developer creates a Lightning web component to allow a Contact to be quickly entered-However, error messages are not displayed. Which component should the developer add to the form to display error messages?A . apex:messages B. aura:messages C. lightning-messages D. lightning-errorView AnswerAnswer: C

July 22, 2023 No Comments READ MORE +

What should the developer do to identify the configuration changes that need to be moved into production?

Just prior to a new deployment, the Salesforce Administrator who configured a new order fulfillment process in a developer sandbox suddenly left the company. The users had fully tested all of the changes in the sandbox and signed off on them. Unfortunately, although a Change Set was started, it was...

July 22, 2023 No Comments READ MORE +

What is causing the code coverage problem?

A developer has a Batch Apex process, Batch_Account_Sales, that updates the sales amount for 10,000 Accounts on a nightly basis. The Batch Apex works as designed In the sandbox. However, the developer cannot get code coverage on the Batch Apex class. The test class is below: What is causing the...

July 21, 2023 No Comments READ MORE +

What should the developer do to property test that the correct components display and hide for each scenario?

A developer is writing a Jest for a Lightning web component that conditionally displays child components based on a user’s checkbox selections. What should the developer do to property test that the correct components display and hide for each scenario?A . Reset the DOM after each test with the after...

July 21, 2023 No Comments READ MORE +

What should a developer use to query all Account fields for the Acme account in their sandbox?

What should a developer use to query all Account fields for the Acme account in their sandbox?A . SELECT FROM ACCOUNT WHERE Name = ‘Acme’ LIMIT 1 B. SELECT ALL FROM Account WHERE Name = ‘Acme’ LIMIT 1 C. SELECT FIELDS FROM Account WHERE Name = ‘Acme’ LIMIT 1 D....

July 20, 2023 No Comments READ MORE +