Reserved quantity

Hello! I have a question concerning item reservation.

I have a sales order with some lines in it. One of the items was manually reserved for certain site and warehouse. How can I get that reserved quantity by code?

Thanks in advance!

InventUpd_Reservation::updateReserveBuffer(salesLine, -SalesLine.QtyOrdered);

May be I formulated my question incorrectly.

User entered sales line with qty ==15 and then manually reserved 8 from a warehouse. I need to know how many pcs he reserved manually (literally, to get that he reserved 8 pcs).

I don’t think any such functionality hidden behind it, but you can consult developer to modify the screen in the way, so that you can get to know how much pieces are reserved manually or code.

Out of interest why do you need to know this?