What is this:
Whether the placement is assigned to a certain internal grade.
Value will be returned:
Y - if the placement is configured to be a particular internal grade within the payroll period.
N - if the placement has no internal grade defined, or not any of the internal grade within the payroll period.
Company want to give $1000 bonus for internal grade "G8" only, and you don't want to add bonus for those staffs manually in payroll, you can have pay type for Bonus and set a formula like this:
IIF ('[AT_INTERNAL_GRADE(G8)]'='Y', 1000,0)
It will return "Y" if the staff has internal grade "G8" by the end of the payroll period.
If "Y", there will be $1000 entitled to this staff if his internal grade is "G8", and 0 if his grade is not "G8",
You can also use | to check for multiple internal grades. For example,