This question has been flagged
1 Reply
11854 Views

Hi Everyone !

I am creating a salary rule which includes an input field , as I create the rule having python code like (inputs.FSAL.amount), but when I generate a payslip for the same salary rule this input field is not showing on the payslip. Is it here any error in the rule for input or something else.

Thanks in advance

Avatar
Discard
Best Answer

Hello,

It's really hard to understand your problem based on information your provided but I would try to answer which steps you need to take care,

- configure Amount Type = Python Code in your salary rule, code should be, result = inputs.yourcode.amount

- 'yourcode' should be configured in field Code in the list of Inputs on the same salary rule

- add this salary rule in your salary structure

- once you create any payslip and choose employee, you will see that the Other Inputs list on payslip is auto populated and you can enter Amount.

Regards


Avatar
Discard