Need to Update only Quantity field of salesline

Hi All,

I need to update the quantity field of the salesline on sales order confirmation page using BOF. When I tried, it didn’t get the reference of the only record for which I have to execute update. Could anybody please help here, on how to get the reference of a single record ? or how to update only quantity field of the table?

So what you have tried?