How to retrieve consultation notes?

I am saving data for notes in my database. Data comes from Notes section which has action description type =PRE-Retained | Appointment Notes so further there is tab whe you click notes link of specific type : SALES | PRE Retained Appointment Notes . I want to fetch Consultation notes . Any help on this to retrieve ?

Notes ->
PRE-Retained | Appointment Notes ->
SALES | PRE Retained Appointment Notes ->
Consultation Notes

You will first need to look for the database names (see image below) under Admin->Settings and then clicking ‘Go’ in the Custom Fields category. You will then see a link for the database names:


precede that with an underscore in your return fields list and it will return the custom field value.

Thank you that was helpful