Vtiger ABMS legacy UI Type

  1. Bảng UIType đầy đủ
  2.  
  3. 📝 Text/String Fields
  4. ┌────────┬───────────────────┬───────────────────────────────┬────────────┐
  5. │ UIType │ Tên │ Mô tả │ Reference? │
  6. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  7. │ 1 │ Text │ Trường văn bản ngắn (VARCHAR) │ ❌ │
  8. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  9. │ 2 │ Time │ Trường thời gian │ ❌ │
  10. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  11. │ 4 │ Auto-generated │ Số tự động (ví dụ: mã record) │ ❌ │
  12. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  13. │ 13 │ Email │ Địa chỉ email │ ❌ │
  14. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  15. │ 17 │ URL │ Liên kết web │ ❌ │
  16. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  17. │ 19 │ Text Area (Large) │ Văn bản dài │ ❌ │
  18. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  19. │ 21 │ TextArea │ Văn bản nhiều dòng │ ❌ │
  20. ├────────┼───────────────────┼───────────────────────────────┼────────────┤
  21. │ 85 │ Skype │ Skype ID │ ❌ │
  22. └────────┴───────────────────┴───────────────────────────────┴────────────┘
  23. 🔢 Number Fields
  24. ┌────────┬──────────────────────┬───────────────────────────────┬────────────┐
  25. │ UIType │ Tên │ Mô tả │ Reference? │
  26. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  27. │ 5 │ Date │ Ngày tháng │ ❌ │
  28. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  29. │ 6 │ DateTime │ Ngày giờ │ ❌ │
  30. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  31. │ 7 │ Decimal/Integer │ Số thập phân hoặc số nguyên │ ❌ │
  32. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  33. │ 9 │ Percent │ Phần trăm │ ❌ │
  34. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  35. │ 11 │ Phone │ Số điện thoại │ ❌ │
  36. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  37. │ 14 │ Time │ Thời gian │ ❌ │
  38. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  39. │ 70 │ CreatedTime/DateTime │ Thời gian tạo │ ❌ │
  40. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  41. │ 71 │ Currency │ Tiền tệ │ ❌ │
  42. ├────────┼──────────────────────┼───────────────────────────────┼────────────┤
  43. │ 72 │ Currency (Special) │ Tiền tệ đặc biệt (List Price) │ ❌ │
  44. └────────┴──────────────────────┴───────────────────────────────┴────────────┘
  45. ☑️ Selection Fields
  46. ┌────────┬───────────────────────┬──────────────────────────────────┬────────────┐
  47. │ UIType │ Tên │ Mô tả │ Reference? │
  48. ├────────┼───────────────────────┼──────────────────────────────────┼────────────┤
  49. │ 15 │ Picklist (Role-based) │ Dropdown có phân quyền theo Role │ ❌ │
  50. ├────────┼───────────────────────┼──────────────────────────────────┼────────────┤
  51. │ 16 │ Picklist │ Dropdown đơn giản │ ❌ │
  52. ├────────┼───────────────────────┼──────────────────────────────────┼────────────┤
  53. │ 33 │ MultiSelectCombo │ Chọn nhiều giá trị │ ❌ │
  54. ├────────┼───────────────────────┼──────────────────────────────────┼────────────┤
  55. │ 55 │ Salutation │ Xưng hô (Mr, Mrs...) │ ❌ │
  56. ├────────┼───────────────────────┼──────────────────────────────────┼────────────┤
  57. │ 56 │ Checkbox │ Ô đánh dấu (Yes/No) │ ❌ │
  58. └────────┴───────────────────────┴──────────────────────────────────┴────────────┘
  59. 🔗 Reference Fields (Liên kết đến Module khác)
  60. UIType: 10
  61. Tên: Reference (Generic)
  62. Module Target: Nhiều module (cấu hình trong abmsco_fieldmodulerel)
  63. Reference?: ✅ YES
  64. ────────────────────────────────────────
  65. UIType: 51
  66. Tên: Account Reference
  67. Module Target: Accounts
  68. Reference?: ✅ YES
  69. ────────────────────────────────────────
  70. UIType: 52
  71. Tên: User Reference
  72. Module Target: Users (Assigned To)
  73. Reference?: ✅ YES
  74. ────────────────────────────────────────
  75. UIType: 53
  76. Tên: Owner
  77. Module Target: Users (Owner/Assigned To)
  78. Reference?: ✅ YES
  79. ────────────────────────────────────────
  80. UIType: 57
  81. Tên: Contact Reference
  82. Module Target: Contacts
  83. Reference?: ✅ YES
  84. ────────────────────────────────────────
  85. UIType: 58
  86. Tên: Campaign Reference
  87. Module Target: Campaigns
  88. Reference?: ✅ YES
  89. ────────────────────────────────────────
  90. UIType: 59
  91. Tên: Product Reference
  92. Module Target: Products
  93. Reference?: ✅ YES
  94. ────────────────────────────────────────
  95. UIType: 66
  96. Tên: Related To (Multi)
  97. Module Target: Accounts, Contacts...
  98. Reference?: ✅ YES
  99. ────────────────────────────────────────
  100. UIType: 68
  101. Tên: Related To
  102. Module Target: Nhiều module
  103. Reference?: ✅ YES
  104. ────────────────────────────────────────
  105. UIType: 73
  106. Tên: Account (Vendor ctx)
  107. Module Target: Accounts
  108. Reference?: ✅ YES
  109. ────────────────────────────────────────
  110. UIType: 75
  111. Tên: Vendor Reference
  112. Module Target: Vendors
  113. Reference?: ✅ YES
  114. ────────────────────────────────────────
  115. UIType: 76
  116. Tên: Potential Reference
  117. Module Target: Potentials
  118. Reference?: ✅ YES
  119. ────────────────────────────────────────
  120. UIType: 77
  121. Tên: User Reference
  122. Module Target: Users (Reports To)
  123. Reference?: ✅ YES
  124. ────────────────────────────────────────
  125. UIType: 78
  126. Tên: Quote Reference
  127. Module Target: Quotes
  128. Reference?: ✅ YES
  129. ────────────────────────────────────────
  130. UIType: 80
  131. Tên: SalesOrder Reference
  132. Module Target: SalesOrder
  133. Reference?: ✅ YES
  134. ────────────────────────────────────────
  135. UIType: 81
  136. Tên: Vendor Reference
  137. Module Target: Vendors
  138. Reference?: ✅ YES
  139. ────────────────────────────────────────
  140. UIType: 101
  141. Tên: Reference (Custom)
  142. Module Target: Cấu hình riêng
  143. Reference?: ✅ YES
  144. ────────────────────────────────────────
  145. UIType: 1024
  146. Tên: User Reference (Special)
  147. Module Target: Users
  148. Reference?: ✅ YES
  149. 📁 File/Image Fields
  150. ┌────────┬────────────────┬─────────────────┬────────────┐
  151. │ UIType │ Tên │ Mô tả │ Reference? │
  152. ├────────┼────────────────┼─────────────────┼────────────┤
  153. │ 61 │ FileFile attachment │ ❌ │
  154. ├────────┼────────────────┼─────────────────┼────────────┤
  155. │ 69 │ Image │ Hình ảnh │ ❌ │
  156. ├────────┼────────────────┼─────────────────┼────────────┤
  157. │ 83 │ Currency Field │ Giá (ListPrice) │ ❌ │
  158. └────────┴────────────────┴─────────────────┴────────────┘
  159. 🔐 Special/System Fields
  160. ┌────────┬──────────┬───────────────┬────────────┐
  161. │ UIType │ Tên │ Mô tả │ Reference? │
  162. ├────────┼──────────┼───────────────┼────────────┤
  163. │ 98 │ Role │ Role của user │ ❌ │
  164. ├────────┼──────────┼───────────────┼────────────┤
  165. │ 99 │ Password │ Mật khẩu │ ❌ │
  166. └────────┴──────────┴───────────────┴────────────┘
  167. 🏢 ABMS Custom UITypes
  168. ┌─────────────────┬────────────────────┬─────────────────────────────┬────────────┐
  169. │ UIType │ Tên │ Mô tả │ Reference? │
  170. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  171. │ 22 │ InoReferenceSearch │ Tìm kiếm reference đặc biệt │ ❌ │
  172. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  173. │ 30 │ Province │ Tỉnh/Thành phố │ ❌ │
  174. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  175. │ 31 │ District │ Quận/Huyện │ ❌ │
  176. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  177. │ 32 │ Ward │ Phường/Xã │ ❌ │
  178. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  179. │ innocreator │ IncCreator │ Người tạo (custom) │ ✅ YES │
  180. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  181. │ incdatetime │ IncDatetime │ Datetime custom │ ❌ │
  182. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  183. │ innomaskedphone │ InnoMaskedPhone │ SĐT có mask │ ❌ │
  184. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  185. │ innotxteditor │ InnoTxtEditor │ Text editor │ ❌ │
  186. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  187. │ innoupload │ InnoUpload │ Upload file │ ❌ │
  188. ├─────────────────┼────────────────────┼─────────────────────────────┼────────────┤
  189. │ innoaddress │ InnoAddress │ Địa chỉ │ ❌ │
  190. └─────────────────┴────────────────────┴─────────────────────────────┴────────────┘
  191. ---
  192. 📌 Tóm tắt Reference UITypes
  193.  
  194. public static $referenceUitypes = array(
  195. 51, // Accounts
  196. 52, // Users
  197. 53, // Users (Owner)
  198. 57, // Contacts
  199. 58, // Campaigns
  200. 59, // Products
  201. 73, // Accounts
  202. 75, // Vendors
  203. 66, // Multi-module
  204. 81, // Vendors
  205. 76, // Potentials
  206. 78, // Quotes
  207. 80, // SalesOrder
  208. 68, // Multi-module
  209. 10, // Generic Reference
  210. 1024 // Users (Special)
  211. );
  212.  
  213. Các Reference UIType là những trường lưu ID của record từ module khác, cho phép tạo
  214. liên kết giữa các module trong hệ thống CRM.

Leave a Reply

You must be logged in to post a comment.