Public List getReservableHierarchyListTopDown() Here I am including the two complex ones.
There are a few methods we need to override. The instantiation of the class is done using the SysExtension framework (if you want to read more about SysExtension framework it is well covered here: The Microsoft Dynamics AX 2012 extension framework – Part 1.Īll we need to do is to add a new value to the WHSReservationHierarchyLevelStrategyType enum and decorate our class with an attribute: Ĭlass WhsReservationLevelStrategyAllAboveStatu extends WHSReservationHierarchyLevelStrategy Our new strategy called AllAboveStatus will be added to the hierarchy by extending the WHSReservationHierarchyLevelStrategy class. The purpose of this strategy is to ensure that we reserve all the dimensions above the Inventory status but not the inventory status itself. To achieve this, we are going to introduce a new reservation strategy. Therefore the decision about what qualities to ship can only be postponed until the point in time where the load is released to the warehouse. In order to create work all dimensions above the location must be specified on the load lines. The challenge is to postpone the reservation of specific qualities (inventory statuses) but still allow some orders to select specific qualities. To have as much stock available for customers that request a specific quality the company wants to postpone the decision about which qualities are used for the orders were no special quality is requested. Normally the company sells whatever qualities are available, but for a few special customers, the quality needs to be selected during order taking, which means the sales order taker needs to able to select the inventory status. We are going to imagine that a company is selling an item in different qualities and is using the inventory status to reflect the quality.
#SL CACHE VIEWER MIRRIE CODE#
The code in this blog is provided “as-is”. The code snippets are written for Microsoft Dynamics AX 2012 R3 CU 11, but can be easily ported to the to the latest version of Dynamics 365 for Operations If the reservation of warehouse management enabled items is not fresh in your memory, take a look at Controlling reservations for warehouse management enabled items (WHS) – Part 1.
In this blog post we are going to go into details about how you can gain more control of your reservations by introducing a new reservation strategy.