自分たちでカスタマイズする場合にはぜひ押さえておきたいのがフィールドの属性情報についてです。下記の表は、VtigerCRMの標準フィールドとカスタムフィールドの属性情報のサンプルになります。

カスタムフィールドの属性情報

フィールドタイプ長さ小数点桁数UIタイプtypeofdataDBカラムタイプ必須項目
テキスト1001V~O~LE~100varchar(100)No
テキスト1001V~M~LE~100varchar(100)YES
テキスト251V~O~LE~25varchar(25)No
テキスト251V~M~LE~25varchar(25)YES
整数1007NN~O~10,0decimal(11,0)No
整数1007NN~M~10,0decimal(11,0)YES
少数付き整数737NN~O~7,3decimal(11,3)No
少数付き整数737NN~M~7,3decimal(11,3)YES
パーセント9N~O~2~2decimal(5,2)No
パーセント9N~M~2~2decimal(5,2)YES
通貨10271N~O~10,2decimal(13,2)No
通貨10071N~M~10,0decimal(11,0)YES
日付5D~OdateNo
日付5D~MdateYES
メール13E~Ovarchar(50)No
メール13E~Mvarchar(50)YES
電話11V~Ovarchar(30)No
電話11V~Mvarchar(30)YES
定義リスト(Picklist)15V~Ovarchar(255)No
定義リスト(Picklist)15V~Mvarchar(255)YES
URL17V~Ovarchar(255)No
URL17V~Mvarchar(255)YES
チェックボックス56C~Ovarchar(3)No
チェックボックス56C~Mvarchar(3)YES
テキストエリア21V~OtextNo
テキストエリア21V~MtextYES
複数選択コンボボックス33V~OtextNo
複数選択コンボボックス33V~MtextYES
Skype85V~Ovarchar(255)No
Skype85V~Mvarchar(255)YES

UIタイプ別の標準フィールドの属性情報

例) カラム名 / テーブルフィールド名フィールドラベルUIタイプTYPEOFDATADBカラムタイプ必須項目
Text box
tickersymbol / vtiger_accounttickersymbolTicker Symbol1V~Ovarchar(30)No
noofemployees / vtiger_leaddetailsnoofemployeesNo Of Employees1I~O  (??? text)int(50)No
qtyinstock / vtiger_productsqtyinstockQty In Stock1NN~O (??? text)decimal(25,3)No
qty_per_unit / vtiger_serviceqty_per_unitNo of Units1N~O (??? text)decimal(11,2)No
subject / vtiger_servicecontractssubjectSubject1V~Mvarchar(100)YES
Text box, mandatory entry
time_start / vtiger_activitytime_startTime Start2T~Mvarchar(50)YES
time_end / vtiger_activitytime_endEnd Time2T~Ovarchar(50)No
accountname / vtiger_accountaccountnameAccount Name2V~Mvarchar(100)YES
activitytype / vtiger_activityactivitytypeActivtiy Type2V~Ovarchar(200)No
Text box with Inheritance
accesskey / vtiger_usersaccesskeyWebservice Access Key3V~Ovarchar(36)No
Text box with Inheritance, mandatory entry
account_no / vtiger_accountaccount_noAccount No4V~Ovarchar(100)No
Date
enddate / vtiger_projecttaskenddateEnd Date5D~0~OTH~GE~startdate~Start Date 
[0 Null is a possible typo]
dateNo
dateinservice / vtiger_assetsdateinserviceDate in Service5D~M~OTH~GE~dateinservice~Date in ServicedateYES
datesold / vtiger_assetsdatesoldDate Sold5D~M~OTH~GE~datesold~Date SolddateYES
sales_start_date / vtiger_servicesales_start_dateSales Start Date5D~OdateNo
sales_end_date / vtiger_servicesales_end_dateSales End Date5D~O~OTH~GE~sales_start_date~Sales Start DatedateNo
expiry_date / vtiger_serviceexpiry_dateSupport Expiry Date5D~O~OTH~GE~start_date~Start DatedateNo
support_end_date / vtiger_customerdetailssupport_end_dateSupport End Date5D~O~OTH~GE~support_start_date~Support Start DatedateNo
end_period / vtiger_invoice_recurring_infoend_periodEnd Period5D~O~OTH~G~start_period~Start PerioddateNo
Date, default to currenttime
date_start / vtiger_activitydate_startStart Date & Time6DT~M~time_startdateYES
date_start / vtiger_activitydate_startDate & Time Sent6DT~M~time_start~Time StartdateYES
Number box
employees / vtiger_accountemployeesEmployees7I~Oint(10)No
total_units / vtiger_servicecontractstotal_unitsTotal Units7V~Odecimal(5,2)No
json encoded string
to_email / vtiger_emaildetailssaved_toidTo8V~MtextYES
cc_email / vtiger_emaildetailsccemailCc8V~OtextNo
Percent
probability / vtiger_potentialprobabilityProbability9N~Odecimal(7,3)No
progress / vtiger_servicecontractsprogressProgress9N~O~2~2decimal(5,2)No
general relate field, for relating entities
sc_related_to / vtiger_servicecontractssc_related_toRelated to10V~Oint(11)No
product / vtiger_assetsproductProduct Name10V~Mint(19)YES
Phone
phone / vtiger_accountphonePhone11V~Ovarchar(30)No
OrgUnit pickbox  / Organization multiselect pickbox
from_email / vtiger_emaildetailsfrom_emailFrom12V~Mvarchar(50)YES
EMail
email / vtiger_contactdetailsemailEmail13E~Ovarchar(100)No
Picklist
activitytype / vtiger_activityactivitytypeActivity Type15V~Mvarchar(200)YES
industry / vtiger_accountindustryindustry15V~Ovarchar(200)No
Picklist, mandatory entry  ???
recurringtype / vtiger_activityrecurringtypeRecurrence16O~Ovarchar(200)No
duration_minutes / vtiger_activityduration_minutesDuration Minutes16T~Ovarchar(200)No
reminder_interval / vtiger_usersreminder_intervalReminder Interval16V~Ovarchar(100)No
URL
website  / vtiger_accountwebsiteWebsite17V~Ovarchar(100)No
Textarea with colspan=2
commentcontent / vtiger_modcommentscommentcontentComment19V~MtextYES
description / vtiger_crmentitydescriptionDescription19V~OtextNo
Textarea with colspan=2, mandatory entry
question / vtiger_faqquestionQuestion20V~MtextYES
Textarea
message / vtiger_smsnotifiermessagemessage21V~MtextYES
bill_street / vtiger_accountbilladsbill_streetBilling Address21V~Ovarchar(250)No
Textarea, mandatory entry
title / vtiger_troubleticketsticket_titleTitle22V~Mvarchar(255)YES
Date
closingdate / vtiger_potentialclosingdateExpected Close Date23D~MdateYES
due_date / vtiger_activitydue_dateDue Date23D~M~OTH~GE~date_start~Start Date & TimedateYES
due_date / vtiger_servicecontractsdue_dateDue Date23D~OdateNo
targetenddate / vtiger_projecttargetenddateTarget End Date23D~0~OTH~GE~startdate~Start Date
[0 Null is a possible typo]
dateNo
Textarea, mandatory entry
bill_street / vtiger_quotesbilladsbill_streetBilling Address24V~Mvarchar(250)YES
25, 26, 27,28 ??? missing entries at http://wiki.vtiger.com/index.php/Ui_types
access_count /  vtiger_email_trackaccess_countAccess Count25V~Oint(11)No
folderid / vtiger_notesfolderidFolder Name26V~Oint(19)No
filelocationtype / vtiger_notesfilelocationtypeDownload Type27V~Ovarchar(5)No
filename / vtiger_notesfilenameFile Name28V~Ovarchar(200)No
Time left
reminder_time / vtiger_activity_reminderreminder_timeSend Reminder30I~Oint(11)No
No sample for UITYPE 31-50 in the SQL table: vtiger_field
Popup select box for account and contact addresses
accountid / vtiger_contactdetailsaccountidAccount Name51I~Oint(19)No
Picklist for username entries
handler / vtiger_serviceassigned_user_idOwner52I~Oint(11)No
smcreatorid / vtiger_crmentitycreatorCreator52V~Oint(19)No
User picklist
smownerid / vtiger_crmentityassigned_user_idAssigned To53V~Mint(19)YES
Salutation type picklist
salutation / vtiger_leaddetailssalutationtypeSalutation55V~Ovarchar(200)No
firstname / vtiger_leaddetailsfirstnameFirst Name55V~Ovarchar(40)No
Salutation (for last name)
lastname / vtiger_leaddetailslastnameLast Name255V~Mvarchar(80)YES
Checkbox
donotcall / vtiger_contactdetailsdonotcallDo Not Call56C~Ovarchar(3)No
discontinued / vtiger_productsdiscontinuedProduct Active56V~Oint(1)No
Contacts popup select box
contactid / vtiger_salesordercontact_idContact Name57I~Oint(19)No
Campaign popup select box
campaignid / vtiger_potentialcampaignidCampaign Source58N~Oint(19)No
Product non-editable capture, popup picklist
product_id / vtiger_campaignproduct_idProduct59I~Oint(19)No
Attachments, file selection box 
name / vtiger_attachmentsfilenameAttachment61V~Ovarchar(255)No
Duration minutes picklist – different typeofdata for the tab_id: 9 and 16 ???
duration_hours / vtiger_activity (16)duration_hoursDuration63I~Mvarchar(200)No
duration_hours / vtiger_activity (9)duration_hoursDuration63T~Ovarchar(200)No
Names out of entities popup picklist
crmid / vtiger_seactivityrelparent_idRelated To66I~Oint(19)No
Names out of entities popup picklist
parent_id / vtiger_troubleticketsparent_idRelated To68I~Ovarchar(100)No
Products attachments
imagename / vtiger_productsvtiger_productsProduct Image69V~OtextNo
Date (for the created and modified date & time)
createdtime / vtiger_crmentitycreatedtimeCreated Time70T~OdatetimeNo
createdtime / vtiger_crmentitycreatedtimeCreated Time70V~O (??? for tab_id: 32 – ServiceContracts)datetimeNo
Currency
annualrevenue /  vtiger_accountannual_revenueAnnual Revenue71I~Oint(19)No
unit_price / vtiger_serviceunit_pricePrice71N~Odecimal(25,2) No
Popup select box for Accounts, mandatory entry [Calls JS function to auto fill billing and shipping address fields. Contact pop-up limited to only contacts related to the selected Account]
accountid / vtiger_quotesaccount_idAccount Name73I~Mint(19)YES
Vendor name
vendor_id / vtiger_productsvendor_idVendor Name75I~Oint(11)No
Potential popup picklist
potentialid / vtiger_quotespotential_idPotential Name76I~Oint(19)No
Picklist for secondary username entries
inventorymanager / vtiger_quotesassigned_user_id1Inventory Manager77I~Oint(19)No
Quote popup picklist
quoteid / vtiger_salesorderquote_idQuote Name78I~Oint(19)No
Sales order popup picklist
salesorderid / vtiger_invoicesalesorder_idSales Order80I~Oint(19)No
Vendor name, mandatory entry
vendorid / vtiger_purchaseordervendor_idVendor Name81I~Mint(19)YES
Tax in Inventory
taxclass / vtiger_productstaxclassTax Class83V~Ovarchar(200)No
Role name popup picklist, mandatory entry
roleid / vtiger_user2roleroleidRole98V~Mvarchar(255)YES
Password, mandatory entry
user_password / vtiger_usersuser_passwordPassword99P~Mvarchar(30)YES
User capture popup picklist
reports_to_id / vtiger_usersreports_to_idReports To101V~Ovarchar(36)No
EMail, mandatory entry
email1 / vtiger_usersemail1Email104E~Mvarchar(100)YES
User image
imagename / vtiger_usersimagenameUser Image105V~Ovarchar(250)No
Text box, mandatory entry
user_name / vtiger_usersuser_nameUser Name106V~Mvarchar(255)YES
Non editable picklist
status / vtiger_usersstatusStatus115V~Ovarchar(25)No
Currency in user details
currency_id / vtiger_userscurrency_idCurrency116I~Oint(19)No
hour_format / vtiger_usershour_formatCalendar Hour Format116V~Ovarchar(30)No
??? – Currency in modules – missing entries at http://wiki.vtiger.com/index.php/Ui_types
currency_id / vtiger_pricebookcurrency_idCurrency117I~Mint(19)YES
currency_id / vtiger_invoicecurrency_idCurrency117I~Oint(19)No
Admin toggle, checkbox
is_admin / vtiger_usersis_adminAdmin156V~Ovarchar(3)No
Email, Popup picklist
idlistsi / vtiger_emaildetailsparent_idParent ID357V~OtextNo

上記資料のソースは以下になります。

https://theknowledgeadda.com/vtiger-custom-fields-uitype-sql-data-column-list