Adobe Commerce Architect Master AD0-E722 Question # 6 Topic 1 Discussion

Adobe Commerce Architect Master AD0-E722 Question # 6 Topic 1 Discussion

AD0-E722 Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

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?


A.

Create anew class as a preference for Magento\inventoryShipping\piugin\Sales\shipment\AssignSourceCodeToShipmentPlugin to set the lowest-cost warehouse on a shipment.


B.

Create a new class implementing Magento\invtntorysourceSelectionApi\Modei\sourceSelectioninterfacece. which returns open warehouses sorted by cost.


C.

Create an after plugin OnHagento\InventoryDistanceBasedSourceSelection\Hodel\Algorithms\DistanceBasedAlgorithto sortto Warehouse sources by cost


Get Premium AD0-E722 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.