Calling apex function

This is what I needed…thanks.