LPS-32400 - Allow custom fields to be generated in fuction conversion