Build formula in Salary component using HR setting

Hi,
I have some additional HR settings proper to my client to add in the HR setting doctype, how to use the same in the salary component formula?

In other words do salary component formula can read HR setting doctype fields.

Thanks
Nofal

If the additional fields are added to the Employee docType, you should be able to access them just by typing the field name (not label) straight into the formula.

Hi;
Actually additional fields are in the HR settings only, they are cross employees

Ah, you did say that. I can’t find any documentation on how to access other docTypes. The only two that I have success with are the Employee and the Salary Structure Assignment. I have only just started using ERPnext so I cant help much more. The Formula feature looks really good but the documentation seems very inadequate to make the most of it.

1 Like