link to settings-module:
INSERT INTO `vtiger_settings_field` (`fieldid`, `blockid`, `name`, `iconpath`, `description`, `linkto`, `sequence`, `active`, `pinned`)
VALUES
(nextfreeid, 8, 'EmailSuite Settings', '', 'EmailSuite Settings', 'index.php?parent=Settings&module=VebSettings&view=List', 9, 0, 0);

the table:
CREATE TABLE `vtiger_veb_settings` (
  `id` int(19) NOT NULL,
  `module` varchar(32) NOT NULL,
  `language` varchar(2) NOT NULL DEFAULT 'nl',
  `description` varchar(256) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  `serialized` text NOT NULL,
  `data` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ALTER TABLE `vtiger_veb_settings`
  ADD UNIQUE KEY `moduleid` (`id`,`module`,`language`) USING BTREE;

ALTER TABLE `vtiger_veb_settings`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT;

the call for all:
Settings_VebSettings_Record_Model::getSettings('VebEmailConsent');

the call for a setting:
Settings_VebSettings_Record_Model::getSetting('VebEmailConsent', 'contacts_remind_tpl_id');

the fields for module:

