Make sure you read about the custom field configuration first.
This type of data source helps you obtain the values which will populate the custom field, using SIL scripts.
...
Data may come from actual databases (using for instance the sql routine) or from files, legacy systems, etc . The script will bring you the results you need for your custom field.
...
You can find out more about using this type of data source from our Examples and Option Type pages.