×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Marco Matta
Added: Aug 27, 2021 1:10 PM
Modified: Aug 27, 2021 2:36 PM
Views: 3463
Tags: sugarcrm
  1. <?php
  2.  
  3. $dictionary['<module singular>']['fields']['example_c']['name'] = 'example_c';
  4. $dictionary['<module singular>']['fields']['example_c']['vname'] = 'LBL_EXAMPLE_C';
  5. $dictionary['<module singular>']['fields']['example_c']['type'] = 'varchar';
  6. $dictionary['<module singular>']['fields']['example_c']['enforced'] = '';
  7. $dictionary['<module singular>']['fields']['example_c']['dependency'] = '';
  8. $dictionary['<module singular>']['fields']['example_c']['required'] = false;
  9. $dictionary['<module singular>']['fields']['example_c']['massupdate'] = '0';
  10. $dictionary['<module singular>']['fields']['example_c']['default'] = '';
  11. $dictionary['<module singular>']['fields']['example_c']['no_default'] = false;
  12. $dictionary['<module singular>']['fields']['example_c']['comments'] = 'Example Varchar Vardef';
  13. $dictionary['<module singular>']['fields']['example_c']['help'] = '';
  14. $dictionary['<module singular>']['fields']['example_c']['importable'] = 'true';
  15. $dictionary['<module singular>']['fields']['example_c']['duplicate_merge'] = 'disabled';
  16. $dictionary['<module singular>']['fields']['example_c']['duplicate_merge_dom_value'] = '0';
  17. $dictionary['<module singular>']['fields']['example_c']['audited'] = false;
  18. $dictionary['<module singular>']['fields']['example_c']['reportable'] = true;
  19. $dictionary['<module singular>']['fields']['example_c']['unified_search'] = false;
  20. $dictionary['<module singular>']['fields']['example_c']['merge_filter'] = 'disabled';
  21. $dictionary['<module singular>']['fields']['example_c']['calculated'] = false;
  22. $dictionary['<module singular>']['fields']['example_c']['len'] = '255';
  23. $dictionary['<module singular>']['fields']['example_c']['size'] = '20';
  24. $dictionary['<module singular>']['fields']['example_c']['id'] = 'example_c';
  25. $dictionary['<module singular>']['fields']['example_c']['custom_module'] = '';
  26. //required to create the field in the _cstm table
  27. $dictionary['<module singular>']['fields']['example_c']['source'] = 'custom_fields';