A developer creates an Apex Trigger with the following code block:List customers = new List();For (Order__c o: trigger.new){Account a = [SELECT Id, Is_Customer__c FROM Account WHERE Id = :o.Customer__c];a.Is_Customer__c = true;customers.add(a);}Database.update(customers, false);The developer tests the code using Apex Data Loader and successfully loads 10 Orders. Then, the developer loads 150 Orders.How many Orders are successfully loaded when the developer attempts to load the 150 Orders? DiscussA. 0B. 1C. 150D. 100

Respuesta :

Answer:

A. 0

Explanation:

In the given problem, the developer tried to create a code that could give an exact number of orders when the necessary parameters are inputted. However, when the developed code was tested, it only gave 10 orders. The developer tried to load a higher number of orders which the code could not perform, thus the number of orders loaded will be 0.

ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE