How do I process a deduction based on a percentage of the fixed basic salary

SUGGESTED

Good day

I am trying to set up a new transaction in which I can enter the qty and it will times that quantity by a percentage of the hourly wage I select.

Is there a way to do this?