Following is the way to do inventory reservation / allocation in Dynamics AX : After sales order creation user go on the inventoryàreservation to reserve the quantity.
This process decreases the on-hand inventory.
The value to be allocated is filled for each order one by one in the below column highlighted in red
For our requirement, we have created a new form which will fetch all sales order with “open status” and their details for a delivery date and will Auto-Populate the Allocated quantity column highlighted in red (analogous to reservation column in above figure) Both the grids in below figure are displayed from two temporary tables in which values fetched from salesline and salestable are stored. Allocated quantity is populated automatically as per the rules selected (first-come first serve , fair share , manual ) Now after user clicks on “confirm inventory Allocation” button same process should happen as it would be after putting quantity in “Reservation column” in the existing AX inventory reservation but for all the sales order orders at a time.