Valid AD0-E722 Dumps shared by ExamDiscuss.com for Helping Passing AD0-E722 Exam! ExamDiscuss.com now offer the newest AD0-E722 exam dumps, the ExamDiscuss.com AD0-E722 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com AD0-E722 dumps with Test Engine here:
A client has multiple warehouses where orders can be fulfilled. The cost of shipping goods from each warehouse varies by day, due to the number of workers available. The Architect needs to make sure that when an order is shipped, it is shipped from the lowest cost warehouse that is open. How should this functionality be implemented?
Correct Answer: B
Explanation According to the Adobe Commerce documentation, the Source Selection Interface is the main interface for implementing custom source selection algorithms. The interface defines a method called execute(), which takes a list of items to be shipped and a stock ID as parameters, and returns a SourceSelectionResultInterface object, which contains the recommended sources and quantities for each item. The Architect can create a new class that implements this interface and provides the logic for finding the lowest-cost warehouse that is open for each item. The Architect can then register the new class as an option for the source selection algorithm in the di.xml file of the custom module. References: Source Selection Algorithm | Adobe Commerce Developer Guide Source Selection Interface | Adobe Commerce Developer Guide