How does the Hours * Rate calculation rule work for elements?
If you leave the input value for hours blank for the employee, the payroll process calculates the number of hours based on the employee's work schedule.
On the Element Entries task, if you enter 0 for the input value, then it calculates no hours and the pay value is 0.