I create a script that will create a CSV that lists all the modules, fields, and labels. I needed to provide this information to another team that will be integrating with Sugar and I couldn't find a convenient way to get output all of this. So I created a script based on cron.php that just gathers it together and sends it to a CSV.
To download just go to the root of your Sugar folder and run:
curl https://gist.githubusercontent.com/patpawlowski/10954eaa219e08eb35ac899f9be63bad/raw/f5fe9d26c93598b680a0806a98ce22f33f488ec2/sugar_create_field_list.php > sugar_create_field_list.php
Download and then just run:
This will create a SugarFieldsAndLabels.csv file that looks like the sample below:
There are also parameters on the class to set the output file name as well as modules to include or exclude. If the $ModulesToInclude array is empty then all modules will be included.
private $FileName = 'SugarFieldsAndLabels.csv';
private $ModulesToSkip = array('SugarBox');
private $ModulesToInclude = array('Opportunities','Accounts','RevenueLineItems','TCX_Resources');