I would like to know the syntax of multiplying a wage type by -1 whenever it is available in the payslip.
This wage type is a deduction one, but it is available in the payroll results with a positive sign (standard behavior).
The required scenario is to multiply this wage type by -1 as it appears in the Deductions section in the payslip.
Are you really looking for this?
If pa0008-lgart eq <wage_type>.
value = value * -1.