Custom Field for Doctype Subscription Plan Detail

I want to fetch cost from subscription plan under subscription plan detail. Below is the way I’m doing this but is not working fetch from. option is working fine.