PDII Exam Question 36

A business currently has a labor-intensive process to manually upload orders from an external OMS.
Accounts must be exported to get IDs to link the orders. Which two recommendations should make this process more efficient?
  • PDII Exam Question 37

    A developer creates an application event that has triggered an infinite loop. What may have caused this problem?
  • PDII Exam Question 38

    The test method calls an @future method that increments a value. The assertion is failing because the value equals 0. What is the optimal way to fix this?
    Java
    @isTest
    static void testIncrement() {
    Account acct = new Account(Name = 'Test', Number_Of_Times_Viewed__c = 0); insert acct; AuditUtil.incrementViewed(acct.Id); // This is the @future method Account acctAfter = [SELECT Number_Of_Times_Viewed__c FROM Account WHERE Id = :acct.Id][0]; System.assertEquals(1, acctAfter.Number_Of_Times_Viewed__c);
    }
  • PDII Exam Question 39

    A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that aggregates data from all of these contact records. This calculation needs to run once a day after business hours. Which two steps should a developer take to accomplish this?
  • PDII Exam Question 40

    Universal Containers wants to develop a recruiting app for iOS and Android via the standard Salesforce mobile app. It has a custom user interface design and offline access is not required. What is the recommended approach to develop the app?