Sales invoice items table bonus column

how to make bonus column in sales invoice items table effect in stock quantity.
Thanks in advance.

You can do it by going to customisation form of sales invoice

at first its not from sales invoice it must be done from sales invoice item
but the problem is that it take the bonus in cost not in the items quantity
i want to add it as a column in sales invoice item table and make it discount from warehouse item quantity.