Tuesday, 3 July 2018

How to block inventory in ax D365 / AX7

In Dynamics AX if we want to block inventory for certain item, we have an out of the box form which caters this need and blocks the inventory.














Now the impact of any inventory blocking for an item can be observed in the 'On-hand inventory' :






































We take a test item T1001. Currently the situation of On-hand inventory has 4 reserved quantity and we would like to block more inventory.

We simply add a record in the Inventory blocking screen mentioned before:











After creating a record with quantity 5, our on-hand inventory will reserve 5 quantity for this item:









Now if we want to unblock the inventory we simply update the quantity.
For example we want to unblock 2 quantity out of 5 that we blocked. So we update the blocking quantity to 3:











Following impact will be on our on-hand inventory now:









To do this by code, we simply create a table record for InventBlocking table:


How to block inventory in ax D365 / AX7

In Dynamics AX if we want to block inventory for certain item, we have an out of the box form which caters this need and blocks the inventor...