Create a new column in salesorder line- / Reserved quantity / and /Backorder Quantity /( Non- editable field)
Create a button on sales order line action pane - / Reserved Quantity/.
After saving the quantity on salesline and pressing your button, system should reserve quantity of selected lines, multi select of line should be allowed:
For eg:
Item A- 10 quantities (SalesLine) [ But only 4 is available physical]. Then
Reserve qty should show 4 quantity and
Backorder qty should show ( Quantity - Reserved qty) =10-4=6
( I am a complete beginner and facing issues while coding the logic for multiple selection of lines and in reservation and then updation in columns , please it's a request if anyone of you could support me with the code that I can run)