Question 211

A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec__Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following trigger is defined on the account:
trigger ExecOrderTrigger on Account (before insert, before update, after insert, after update){ for (Account accountlnstance: Trigger.New){ if (Trigger . isBefore){ accountlnstance Exec_Count_c += 1; } System, debug (accountlnstance.Exec_Count_c); } }
  • Question 212

    A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records.

    The CalloutUtil. makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error. What should be done to address the problem?
  • Question 213

    A company uses a custom-built enterprise resource planning (ERP) system to handle order management.
    The company wants Sales Reps to know the status of orders so that if a customer calls to ask about their shipment, the Sales Rep can advise the customer about the order's status and tracking number if it is already shipped.
    Which two methods can make this ERP order data visible in Salesforce? (Choose two.)
  • Question 214

    A developer is building a Visualforce page that interacts with external services.
    Which interface should the developer implement to test this functionality? (Choose two.)
  • Question 215

    A developer has created a solution using the SOAP API for authenticating Communities users. What is needed when issuing the login() Call? (Choose two.)