I have an idea that using export functionality or saved search is a better idea. The thing is, I want to export a large number of records and there is no track of which custom fields or standard fields were used in those records. I want to get all body fields and line fields of every sublist for the record, hence thought of creating a script