Guest User

Untitled

a guest
Feb 9th, 2022
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. <?php
  2. // created: 2022-02-07 04:04:07
  3. $searchFields['Accounts'] = array (
  4. 'name' =>
  5. array (
  6. 'query_type' => 'default',
  7. ),
  8. 'account_type' =>
  9. array (
  10. 'query_type' => 'default',
  11. 'options' => 'account_type_dom',
  12. 'template_var' => 'ACCOUNT_TYPE_OPTIONS',
  13. ),
  14. 'industry' =>
  15. array (
  16. 'query_type' => 'default',
  17. 'options' => 'industry_dom',
  18. 'template_var' => 'INDUSTRY_OPTIONS',
  19. ),
  20. 'annual_revenue' =>
  21. array (
  22. 'query_type' => 'default',
  23. ),
  24. 'address_street' =>
  25. array (
  26. 'query_type' => 'default',
  27. 'db_field' =>
  28. array (
  29. 0 => 'billing_address_street',
  30. 1 => 'shipping_address_street',
  31. ),
  32. ),
  33. 'address_city' =>
  34. array (
  35. 'query_type' => 'default',
  36. 'db_field' =>
  37. array (
  38. 0 => 'billing_address_city',
  39. 1 => 'shipping_address_city',
  40. ),
  41. 'vname' => 'LBL_CITY',
  42. ),
  43. 'address_state' =>
  44. array (
  45. 'query_type' => 'default',
  46. 'db_field' =>
  47. array (
  48. 0 => 'billing_address_state',
  49. 1 => 'shipping_address_state',
  50. ),
  51. 'vname' => 'LBL_STATE',
  52. ),
  53. 'address_postalcode' =>
  54. array (
  55. 'query_type' => 'default',
  56. 'db_field' =>
  57. array (
  58. 0 => 'billing_address_postalcode',
  59. 1 => 'shipping_address_postalcode',
  60. ),
  61. 'vname' => 'LBL_POSTAL_CODE',
  62. ),
  63. 'address_country' =>
  64. array (
  65. 'query_type' => 'default',
  66. 'db_field' =>
  67. array (
  68. 0 => 'billing_address_country',
  69. 1 => 'shipping_address_country',
  70. ),
  71. 'vname' => 'LBL_COUNTRY',
  72. ),
  73. 'rating' =>
  74. array (
  75. 'query_type' => 'default',
  76. ),
  77. 'phone' =>
  78. array (
  79. 'query_type' => 'default',
  80. 'db_field' =>
  81. array (
  82. 0 => 'phone_office',
  83. 1 => 'bonus_phone_1_c',
  84. ),
  85. 'vname' => 'LBL_ANY_PHONE',
  86. ),
  87. 'bonus_phone_1_c' =>
  88. array (
  89. 'query_type' => 'default',
  90. 'force_unifiedsearch' => true,
  91. 'source' => 'custom_fields',
  92. ),
  93. 'validuntil' =>
  94. array (
  95. 'query_type' => 'default',
  96. 'db_field' =>
  97. array (
  98. 0 => 'valid_until_vivliothiki_c',
  99. 1 => 'valid_until_inwritten_c',
  100. ),
  101. 'vname' => 'LBL_VALID_UNTIL',
  102. ),
  103. 'valid_until_vivliothiki_c' =>
  104. array (
  105. 'query_type' => 'default',
  106. ),
  107. 'valid_until_inwritten_c' =>
  108. array (
  109. 'query_type' => 'default',
  110. ),
  111. 'email' =>
  112. array (
  113. 'query_type' => 'default',
  114. 'operator' => 'subquery',
  115. 'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE',
  116. 'db_field' =>
  117. array (
  118. 0 => 'id',
  119. ),
  120. 'vname' => 'LBL_ANY_EMAIL',
  121. ),
  122. 'optinprimary' =>
  123. array (
  124. 'type' => 'enum',
  125. 'options' => 'email_confirmed_opt_in_dom',
  126. 'query_type' => 'default',
  127. 'operator' => 'subquery',
  128. 'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND eabr.primary_address = \'1\' AND ea.confirm_opt_in LIKE',
  129. 'db_field' =>
  130. array (
  131. 0 => 'id',
  132. ),
  133. 'vname' => 'LBL_OPT_IN_FLAG_PRIMARY',
  134. ),
  135. 'website' =>
  136. array (
  137. 'query_type' => 'default',
  138. ),
  139. 'ownership' =>
  140. array (
  141. 'query_type' => 'default',
  142. ),
  143. 'employees' =>
  144. array (
  145. 'query_type' => 'default',
  146. ),
  147. 'sic_code' =>
  148. array (
  149. 'query_type' => 'default',
  150. ),
  151. 'ticker_symbol' =>
  152. array (
  153. 'query_type' => 'default',
  154. ),
  155. 'current_user_only' =>
  156. array (
  157. 'query_type' => 'default',
  158. 'db_field' =>
  159. array (
  160. 0 => 'assigned_user_id',
  161. ),
  162. 'my_items' => true,
  163. 'vname' => 'LBL_CURRENT_USER_FILTER',
  164. 'type' => 'bool',
  165. ),
  166. 'assigned_user_id' =>
  167. array (
  168. 'query_type' => 'default',
  169. ),
  170. 'range_date_entered' =>
  171. array (
  172. 'query_type' => 'default',
  173. 'enable_range_search' => true,
  174. 'is_date_field' => true,
  175. ),
  176. 'start_range_date_entered' =>
  177. array (
  178. 'query_type' => 'default',
  179. 'enable_range_search' => true,
  180. 'is_date_field' => true,
  181. ),
  182. 'end_range_date_entered' =>
  183. array (
  184. 'query_type' => 'default',
  185. 'enable_range_search' => true,
  186. 'is_date_field' => true,
  187. ),
  188. 'range_date_modified' =>
  189. array (
  190. 'query_type' => 'default',
  191. 'enable_range_search' => true,
  192. 'is_date_field' => true,
  193. ),
  194. 'start_range_date_modified' =>
  195. array (
  196. 'query_type' => 'default',
  197. 'enable_range_search' => true,
  198. 'is_date_field' => true,
  199. ),
  200. 'end_range_date_modified' =>
  201. array (
  202. 'query_type' => 'default',
  203. 'enable_range_search' => true,
  204. 'is_date_field' => true,
  205. ),
  206. 'favorites_only' =>
  207. array (
  208. 'query_type' => 'format',
  209. 'operator' => 'subquery',
  210. 'checked_only' => true,
  211. 'subquery' => 'SELECT favorites.parent_id FROM favorites
  212. WHERE favorites.deleted = 0
  213. and favorites.parent_type = \'Accounts\'
  214. and favorites.assigned_user_id = \'{1}\'',
  215. 'db_field' =>
  216. array (
  217. 0 => 'id',
  218. ),
  219. ),
  220. 'billing_address_state' =>
  221. array (
  222. 'query_type' => 'default',
  223. ),
  224. 'billing_address_country' =>
  225. array (
  226. 'query_type' => 'default',
  227. ),
  228. 'shipping_address_state' =>
  229. array (
  230. 'query_type' => 'default',
  231. ),
  232. 'shipping_address_street' =>
  233. array (
  234. 'query_type' => 'default',
  235. ),
  236. 'shipping_address_country' =>
  237. array (
  238. 'query_type' => 'default',
  239. ),
  240. 'shipping_address_city' =>
  241. array (
  242. 'query_type' => 'default',
  243. ),
  244. 'date_entered' =>
  245. array (
  246. 'query_type' => 'default',
  247. ),
  248. 'date_modified' =>
  249. array (
  250. 'query_type' => 'default',
  251. ),
  252. 'shipping_address_postalcode' =>
  253. array (
  254. 'query_type' => 'default',
  255. ),
  256. );
Advertisement
Add Comment
Please, Sign In to add comment