MOC for leave type

SOLVED

Good day!

We make use of the Leave module. I have set up my leave to account for leave expiry. This is done by moving the leave to a new line that then expires after six months.

I am having trouble with the MOC to pay out the leave that is still available. In the MOC, I can only get the earning linked to a leave line, but I need it to link to a leave type, so that the correct leave line is used for available leave.

Kindly assist?

Top Replies