I want to add Custom field "Overtime" and need to use it along with other salary components formula

I was trying to setup Payroll Salary structure.
I need to add one more field “Overtime” and should be able to use its value in Salary Component.

I’ve to add new Salary component Incentives which should be calculated as (wage/6) * overtime
For accepting Overtime value, I’ve added a new custom field over_time (field name) and tried to fetch its data into the salary component Incentives by giving formula as base/6 * over_time

But it is not working. Please tell anybody how i can achieve this ??

Welcome to ERPNext!

Please share details and pointers, the more the better for all to comment and learn.

That’s the community contribution deal here thanks :wink: