<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating Logic Hooks for SugarCRM 5</title>
	<atom:link href="http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/</link>
	<description>Good code is its own best documentation</description>
	<lastBuildDate>Sat, 07 Jan 2012 23:03:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Popup Data Picker - SugarCRM Forums</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-33712</link>
		<dc:creator>Popup Data Picker - SugarCRM Forums</dc:creator>
		<pubDate>Thu, 29 Dec 2011 01:22:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-33712</guid>
		<description>[...] Popup Data Picker    You can take a look at this blog Creating Logic Hooks for SugarCRM 5 &#124; Redink Design to check how to use/create [...]</description>
		<content:encoded><![CDATA[<p>[...] Popup Data Picker    You can take a look at this blog Creating Logic Hooks for SugarCRM 5 | Redink Design to check how to use/create [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: govinda</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-21296</link>
		<dc:creator>govinda</dc:creator>
		<pubDate>Wed, 06 Apr 2011 18:23:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-21296</guid>
		<description>Has anyone got working demo of this script $to is still not working on my side. It would be great if anyone posts.

thanks</description>
		<content:encoded><![CDATA[<p>Has anyone got working demo of this script $to is still not working on my side. It would be great if anyone posts.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: govinda khatiwada</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-21225</link>
		<dc:creator>govinda khatiwada</dc:creator>
		<pubDate>Tue, 05 Apr 2011 19:53:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-21225</guid>
		<description>Hi, Admin here is the result of  print_r ($bean). Can you guide me further ? 

aCase Object ( [field_name_map] =&gt; Array ( [id] =&gt; Array ( [name] =&gt; id [vname] =&gt; LBL_ID [type] =&gt; id [required] =&gt; 1 [reportable] =&gt; 1 [comment] =&gt; Unique identifier ) [name] =&gt; Array ( [name] =&gt; name [vname] =&gt; LBL_SUBJECT [type] =&gt; name [dbType] =&gt; varchar [len] =&gt; 255 [audited] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; The short description of the bug [merge_filter] =&gt; selected [required] =&gt; 1 [importable] =&gt; required ) [date_entered] =&gt; Array ( [name] =&gt; date_entered [vname] =&gt; LBL_DATE_ENTERED [type] =&gt; datetime [group] =&gt; created_by_name [comment] =&gt; Date record created ) [date_modified] =&gt; Array ( [name] =&gt; date_modified [vname] =&gt; LBL_DATE_MODIFIED [type] =&gt; datetime [group] =&gt; modified_by_name [comment] =&gt; Date record last modified ) [modified_user_id] =&gt; Array ( [name] =&gt; modified_user_id [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_MODIFIED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [group] =&gt; modified_by_name [dbType] =&gt; id [reportable] =&gt; 1 [comment] =&gt; User who last modified record ) [modified_by_name] =&gt; Array ( [name] =&gt; modified_by_name [vname] =&gt; LBL_MODIFIED_NAME [type] =&gt; relate [reportable] =&gt; [source][/source] =&gt; non-db [rname] =&gt; user_name [table] =&gt; users [id_name] =&gt; modified_user_id [module] =&gt; Users [link] =&gt; modified_user_link [duplicate_merge] =&gt; disabled ) [created_by] =&gt; Array ( [name] =&gt; created_by [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_CREATED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [dbType] =&gt; id [group] =&gt; created_by_name [comment] =&gt; User who created record ) [created_by_name] =&gt; Array ( [name] =&gt; created_by_name [vname] =&gt; LBL_CREATED [type] =&gt; relate [reportable] =&gt; [link] =&gt; created_by_link [rname] =&gt; user_name [source][/source] =&gt; non-db [table] =&gt; users [id_name] =&gt; created_by [module] =&gt; Users [duplicate_merge] =&gt; disabled [importable] =&gt; false ) [description] =&gt; Array ( [name] =&gt; description [vname] =&gt; LBL_DESCRIPTION [type] =&gt; text [comment] =&gt; Full text of the note [rows] =&gt; 6 [cols] =&gt; 80 ) [deleted] =&gt; Array ( [name] =&gt; deleted [vname] =&gt; LBL_DELETED [type] =&gt; bool [default] =&gt; 0 [reportable] =&gt; [comment] =&gt; Record deletion indicator ) [created_by_link] =&gt; Array ( [name] =&gt; created_by_link [type] =&gt; link [relationship] =&gt; cases_created_by [vname] =&gt; LBL_CREATED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source][/source] =&gt; non-db ) [modified_user_link] =&gt; Array ( [name] =&gt; modified_user_link [type] =&gt; link [relationship] =&gt; cases_modified_user [vname] =&gt; LBL_MODIFIED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source][/source] =&gt; non-db ) [assigned_user_id] =&gt; Array ( [name] =&gt; assigned_user_id [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [vname] =&gt; LBL_ASSIGNED_TO_ID [group] =&gt; assigned_user_name [type] =&gt; relate [table] =&gt; users [module] =&gt; Users [reportable] =&gt; 1 [isnull] =&gt; false [dbType] =&gt; id [audited] =&gt; 1 [comment] =&gt; User ID assigned to record [duplicate_merge] =&gt; disabled ) [assigned_user_name] =&gt; Array ( [name] =&gt; assigned_user_name [link] =&gt; assigned_user_link [vname] =&gt; LBL_ASSIGNED_TO_NAME [rname] =&gt; user_name [type] =&gt; relate [reportable] =&gt; [source][/source] =&gt; non-db [table] =&gt; users [id_name] =&gt; assigned_user_id [module] =&gt; Users [duplicate_merge] =&gt; disabled ) [assigned_user_link] =&gt; Array ( [name] =&gt; assigned_user_link [type] =&gt; link [relationship] =&gt; cases_assigned_user [vname] =&gt; LBL_ASSIGNED_TO_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source][/source] =&gt; non-db [duplicate_merge] =&gt; enabled [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [table] =&gt; users ) [case_number] =&gt; Array ( [name] =&gt; case_number [vname] =&gt; LBL_NUMBER [type] =&gt; int [len] =&gt; 11 [required] =&gt; 1 [auto_increment] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; Visual unique identifier [duplicate_merge] =&gt; disabled [disable_num_format] =&gt; 1 ) [type] =&gt; Array ( [name] =&gt; type [vname] =&gt; LBL_TYPE [type] =&gt; enum [options] =&gt; case_type_dom [len] =&gt; 255 [comment] =&gt; The type of issue (ex: issue, feature) [merge_filter] =&gt; enabled ) [status] =&gt; Array ( [name] =&gt; status [vname] =&gt; LBL_STATUS [type] =&gt; enum [options] =&gt; case_status_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The status of the case ) [priority] =&gt; Array ( [name] =&gt; priority [vname] =&gt; LBL_PRIORITY [type] =&gt; enum [options] =&gt; case_priority_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The priority of the case ) [resolution] =&gt; Array ( [name] =&gt; resolution [vname] =&gt; LBL_RESOLUTION [type] =&gt; text [comment] =&gt; The resolution of the case ) [work_log] =&gt; Array ( [name] =&gt; work_log [vname] =&gt; LBL_WORK_LOG [type] =&gt; text [comment] =&gt; Free-form text used to denote activities of interest ) [account_name] =&gt; Array ( [name] =&gt; account_name [rname] =&gt; name [id_name] =&gt; account_id [vname] =&gt; LBL_ACCOUNT_NAME [type] =&gt; relate [link] =&gt; accounts [table] =&gt; accounts [join_name] =&gt; accounts [isnull] =&gt; true [module] =&gt; Accounts [dbType] =&gt; varchar [len] =&gt; 100 [source][/source] =&gt; non-db [unified_search] =&gt; 1 [comment] =&gt; The name of the account represented by the account_id field [required] =&gt; 1 [importable] =&gt; required ) [account_name1] =&gt; Array ( [name] =&gt; account_name1 [source][/source] =&gt; non-db [type] =&gt; text [len] =&gt; 100 [importable] =&gt; false ) [account_id] =&gt; Array ( [name] =&gt; account_id [type] =&gt; relate [dbType] =&gt; id [rname] =&gt; id [module] =&gt; Accounts [id_name] =&gt; account_id [reportable] =&gt; [vname] =&gt; LBL_ACCOUNT_ID [audited] =&gt; 1 [massupdate] =&gt; [comment] =&gt; The account to which the case is associated ) [tasks] =&gt; Array ( [name] =&gt; tasks [type] =&gt; link [relationship] =&gt; case_tasks [source][/source] =&gt; non-db [vname] =&gt; LBL_TASKS ) [notes] =&gt; Array ( [name] =&gt; notes [type] =&gt; link [relationship] =&gt; case_notes [source][/source] =&gt; non-db [vname] =&gt; LBL_NOTES ) [meetings] =&gt; Array ( [name] =&gt; meetings [type] =&gt; link [relationship] =&gt; case_meetings [bean_name] =&gt; Meeting [source][/source] =&gt; non-db [vname] =&gt; LBL_MEETINGS ) [emails] =&gt; Array ( [name] =&gt; emails [type] =&gt; link [relationship] =&gt; emails_cases_rel [source][/source] =&gt; non-db [vname] =&gt; LBL_EMAILS ) [calls] =&gt; Array ( [name] =&gt; calls [type] =&gt; link [relationship] =&gt; case_calls [source][/source] =&gt; non-db [vname] =&gt; LBL_CALLS ) [bugs] =&gt; Array ( [name] =&gt; bugs [type] =&gt; link [relationship] =&gt; cases_bugs [source][/source] =&gt; non-db [vname] =&gt; LBL_BUGS ) [contacts] =&gt; Array ( [name] =&gt; contacts [type] =&gt; link [relationship] =&gt; contacts_cases [source][/source] =&gt; non-db [vname] =&gt; LBL_CONTACTS ) [accounts] =&gt; Array ( [name] =&gt; accounts [type] =&gt; link [relationship] =&gt; account_cases [link_type] =&gt; one [side] =&gt; right [source][/source] =&gt; non-db [vname] =&gt; LBL_ACCOUNT ) [project] =&gt; Array ( [name] =&gt; project [type] =&gt; link [relationship] =&gt; projects_cases [source][/source] =&gt; non-db [vname] =&gt; LBL_PROJECTS ) ) [id] =&gt; 6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e [date_modified] =&gt; 2011-04-05 20:04:43 [modified_user_id] =&gt; 1 [assigned_user_id] =&gt; 1 [case_number] =&gt; 51 [resolution] =&gt; you case has been solved. with best regards support team [description] =&gt; new case to be closed later on [name] =&gt; new case to be closed later on [status] =&gt; Closed [priority] =&gt; P1 [created_by] =&gt; 1 [created_by_name] =&gt; govinda khatiwada [modified_by_name] =&gt; admin [bug_id] =&gt; [account_name] =&gt; govinda [account_id] =&gt; 70dcdd28-b353-9091-3d63-4d9a0d5bd819 [contact_id] =&gt; [task_id] =&gt; [note_id] =&gt; [meeting_id] =&gt; [call_id] =&gt; [email_id] =&gt; [assigned_user_name] =&gt; govinda khatiwada [account_name1] =&gt; [table_name] =&gt; cases [rel_account_table] =&gt; accounts_cases [rel_contact_table] =&gt; contacts_cases [module_dir] =&gt; Cases [object_name] =&gt; Case [importable] =&gt; 1 [emailSubjectMacro] =&gt; [CASE:%1] [additional_column_fields] =&gt; Array ( [0] =&gt; bug_id [1] =&gt; assigned_user_name [2] =&gt; assigned_user_id [3] =&gt; contact_id [4] =&gt; task_id [5] =&gt; note_id [6] =&gt; meeting_id [7] =&gt; call_id [8] =&gt; email_id ) [relationship_fields] =&gt; Array ( [account_id] =&gt; accounts [bug_id] =&gt; bugs [task_id] =&gt; tasks [note_id] =&gt; notes [meeting_id] =&gt; meetings [call_id] =&gt; calls [email_id] =&gt; emails ) [new_schema] =&gt; 1 [db] =&gt; MysqlManager Object ( [dbType] =&gt; mysql [backendFunctions:protected] =&gt; Array ( [free_result] =&gt; mysql_free_result [close] =&gt; mysql_close [row_count] =&gt; mysql_num_rows [affected_row_count] =&gt; mysql_affected_rows ) [helper] =&gt; MysqlHelper Object ( [db] =&gt; MysqlManager Object *RECURSION* [bean] =&gt; ) [tableName:protected] =&gt; [database] =&gt; Resource id #77 [dieOnError:protected] =&gt; [encode:protected] =&gt; 1 [query_time:protected] =&gt; 0.000765085220337 [lastmysqlrow:protected] =&gt; -1 [last_error:protected] =&gt; [lastResult:protected] =&gt; Array ( ) [preparedTokens:protected] =&gt; Array ( ) [count_id] =&gt; [references] =&gt; 29 [lastsql] =&gt; SELECT date_modified FROM cases WHERE id=&#039;6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e&#039; AND modified_user_id != &#039;1&#039; AND (modified_user_id != &#039;1&#039; OR date_modified &gt; DATE_FORMAT(&#039;2011-04-05 20:04:20&#039;, &#039;%Y-%m-%d %H:%i:%s&#039;)) ) [new_with_id] =&gt; [disable_vardefs] =&gt; [new_assigned_user_name] =&gt; [processed_dates_times] =&gt; Array ( [id] =&gt; 1 [name] =&gt; 1 [date_entered] =&gt; 1 [date_modified] =&gt; 1 [modified_user_id] =&gt; 1 [modified_by_name] =&gt; 1 [created_by] =&gt; 1 [created_by_name] =&gt; 1 [description] =&gt; 1 [deleted] =&gt; 1 [created_by_link] =&gt; 1 [modified_user_link] =&gt; 1 [assigned_user_id] =&gt; 1 [assigned_user_name] =&gt; 1 [assigned_user_link] =&gt; 1 [case_number] =&gt; 1 [type] =&gt; 1 [status] =&gt; 1 [priority] =&gt; 1 [resolution] =&gt; 1 [work_log] =&gt; 1 [account_name] =&gt; 1 [account_name1] =&gt; 1 [account_id] =&gt; 1 [tasks] =&gt; 1 [notes] =&gt; 1 [meetings] =&gt; 1 [emails] =&gt; 1 [calls] =&gt; 1 [bugs] =&gt; 1 [contacts] =&gt; 1 [accounts] =&gt; 1 [project] =&gt; 1 ) [process_save_dates] =&gt; 1 [save_from_post] =&gt; 1 [duplicates_found] =&gt; [dbManager] =&gt; MysqlManager Object ( [dbType] =&gt; mysql [backendFunctions:protected] =&gt; Array ( [free_result] =&gt; mysql_free_result [close] =&gt; mysql_close [row_count] =&gt; mysql_num_rows [affected_row_count] =&gt; mysql_affected_rows ) [helper] =&gt; MysqlHelper Object ( [db] =&gt; MysqlManager Object *RECURSION* [bean] =&gt; ) [tableName:protected] =&gt; [database] =&gt; Resource id #77 [dieOnError:protected] =&gt; [encode:protected] =&gt; 1 [query_time:protected] =&gt; 0.000765085220337 [lastmysqlrow:protected] =&gt; -1 [last_error:protected] =&gt; [lastResult:protected] =&gt; Array ( ) [preparedTokens:protected] =&gt; Array ( ) [count_id] =&gt; [references] =&gt; 29 [lastsql] =&gt; SELECT date_modified FROM cases WHERE id=&#039;6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e&#039; AND modified_user_id != &#039;1&#039; AND (modified_user_id != &#039;1&#039; OR date_modified &gt; DATE_FORMAT(&#039;2011-04-05 20:04:20&#039;, &#039;%Y-%m-%d %H:%i:%s&#039;)) ) [deleted] =&gt; 0 [update_date_modified] =&gt; 1 [update_modified_by] =&gt; 1 [update_date_entered] =&gt; [set_created_by] =&gt; 1 [team_set_id] =&gt; [ungreedy_count] =&gt; [field_defs] =&gt; Array ( [id] =&gt; Array ( [name] =&gt; id [vname] =&gt; LBL_ID [type] =&gt; id [required] =&gt; 1 [reportable] =&gt; 1 [comment] =&gt; Unique identifier ) [name] =&gt; Array ( [name] =&gt; name [vname] =&gt; LBL_SUBJECT [type] =&gt; name [dbType] =&gt; varchar [len] =&gt; 255 [audited] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; The short description of the bug [merge_filter] =&gt; selected [required] =&gt; 1 [importable] =&gt; required ) [date_entered] =&gt; Array ( [name] =&gt; date_entered [vname] =&gt; LBL_DATE_ENTERED [type] =&gt; datetime [group] =&gt; created_by_name [comment] =&gt; Date record created ) [date_modified] =&gt; Array ( [name] =&gt; date_modified [vname] =&gt; LBL_DATE_MODIFIED [type] =&gt; datetime [group] =&gt; modified_by_name [comment] =&gt; Date record last modified ) [modified_user_id] =&gt; Array ( [name] =&gt; modified_user_id [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_MODIFIED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [group] =&gt; modified_by_name [dbType] =&gt; id [reportable] =&gt; 1 [comment] =&gt; User who last modified record ) [modified_by_name] =&gt; Array ( [name] =&gt; modified_by_name [vname] =&gt; LBL_MODIFIED_NAME [type] =&gt; relate [reportable] =&gt; [source][/source] =&gt; non-db [rname] =&gt; user_name [table] =&gt; users [id_name] =&gt; modified_user_id [module] =&gt; Users [link] =&gt; modified_user_link [duplicate_merge] =&gt; disabled ) [created_by] =&gt; Array ( [name] =&gt; created_by [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_CREATED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [dbType] =&gt; id [group] =&gt; created_by_name [comment] =&gt; User who created record ) [created_by_name] =&gt; Array ( [name] =&gt; created_by_name [vname] =&gt; LBL_CREATED [type] =&gt; relate [reportable] =&gt; [link] =&gt; created_by_link [rname] =&gt; user_name [source][/source] =&gt; non-db [table] =&gt; users [id_name] =&gt; created_by [module] =&gt; Users [duplicate_merge] =&gt; disabled [importable] =&gt; false ) [description] =&gt; Array ( [name] =&gt; description [vname] =&gt; LBL_DESCRIPTION [type] =&gt; text [comment] =&gt; Full text of the note [rows] =&gt; 6 [cols] =&gt; 80 ) [deleted] =&gt; Array ( [name] =&gt; deleted [vname] =&gt; LBL_DELETED [type] =&gt; bool [default] =&gt; 0 [reportable] =&gt; [comment] =&gt; Record deletion indicator ) [created_by_link] =&gt; Array ( [name] =&gt; created_by_link [type] =&gt; link [relationship] =&gt; cases_created_by [vname] =&gt; LBL_CREATED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source][/source] =&gt; non-db ) [modified_user_link] =&gt; Array ( [name] =&gt; modified_user_link [type] =&gt; link [relationship] =&gt; cases_modified_user [vname] =&gt; LBL_MODIFIED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source][/source] =&gt; non-db ) [assigned_user_id] =&gt; Array ( [name] =&gt; assigned_user_id [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [vname] =&gt; LBL_ASSIGNED_TO_ID [group] =&gt; assigned_user_name [type] =&gt; relate [table] =&gt; users [module] =&gt; Users [reportable] =&gt; 1 [isnull] =&gt; false [dbType] =&gt; id [audited] =&gt; 1 [comment] =&gt; User ID assigned to record [duplicate_merge] =&gt; disabled ) [assigned_user_name] =&gt; Array ( [name] =&gt; assigned_user_name [link] =&gt; assigned_user_link [vname] =&gt; LBL_ASSIGNED_TO_NAME [rname] =&gt; user_name [type] =&gt; relate [reportable] =&gt; [source][/source] =&gt; non-db [table] =&gt; users [id_name] =&gt; assigned_user_id [module] =&gt; Users [duplicate_merge] =&gt; disabled ) [assigned_user_link] =&gt; Array ( [name] =&gt; assigned_user_link [type] =&gt; link [relationship] =&gt; cases_assigned_user [vname] =&gt; LBL_ASSIGNED_TO_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source][/source] =&gt; non-db [duplicate_merge] =&gt; enabled [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [table] =&gt; users ) [case_number] =&gt; Array ( [name] =&gt; case_number [vname] =&gt; LBL_NUMBER [type] =&gt; int [len] =&gt; 11 [required] =&gt; 1 [auto_increment] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; Visual unique identifier [duplicate_merge] =&gt; disabled [disable_num_format] =&gt; 1 ) [type] =&gt; Array ( [name] =&gt; type [vname] =&gt; LBL_TYPE [type] =&gt; enum [options] =&gt; case_type_dom [len] =&gt; 255 [comment] =&gt; The type of issue (ex: issue, feature) [merge_filter] =&gt; enabled ) [status] =&gt; Array ( [name] =&gt; status [vname] =&gt; LBL_STATUS [type] =&gt; enum [options] =&gt; case_status_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The status of the case ) [priority] =&gt; Array ( [name] =&gt; priority [vname] =&gt; LBL_PRIORITY [type] =&gt; enum [options] =&gt; case_priority_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The priority of the case ) [resolution] =&gt; Array ( [name] =&gt; resolution [vname] =&gt; LBL_RESOLUTION [type] =&gt; text [comment] =&gt; The resolution of the case ) [work_log] =&gt; Array ( [name] =&gt; work_log [vname] =&gt; LBL_WORK_LOG [type] =&gt; text [comment] =&gt; Free-form text used to denote activities of interest ) [account_name] =&gt; Array ( [name] =&gt; account_name [rname] =&gt; name [id_name] =&gt; account_id [vname] =&gt; LBL_ACCOUNT_NAME [type] =&gt; relate [link] =&gt; accounts [table] =&gt; accounts [join_name] =&gt; accounts [isnull] =&gt; true [module] =&gt; Accounts [dbType] =&gt; varchar [len] =&gt; 100 [source][/source] =&gt; non-db [unified_search] =&gt; 1 [comment] =&gt; The name of the account represented by the account_id field [required] =&gt; 1 [importable] =&gt; required ) [account_name1] =&gt; Array ( [name] =&gt; account_name1 [source][/source] =&gt; non-db [type] =&gt; text [len] =&gt; 100 [importable] =&gt; false ) [account_id] =&gt; Array ( [name] =&gt; account_id [type] =&gt; relate [dbType] =&gt; id [rname] =&gt; id [module] =&gt; Accounts [id_name] =&gt; account_id [reportable] =&gt; [vname] =&gt; LBL_ACCOUNT_ID [audited] =&gt; 1 [massupdate] =&gt; [comment] =&gt; The account to which the case is associated ) [tasks] =&gt; Array ( [name] =&gt; tasks [type] =&gt; link [relationship] =&gt; case_tasks [source][/source] =&gt; non-db [vname] =&gt; LBL_TASKS ) [notes] =&gt; Array ( [name] =&gt; notes [type] =&gt; link [relationship] =&gt; case_notes [source][/source] =&gt; non-db [vname] =&gt; LBL_NOTES ) [meetings] =&gt; Array ( [name] =&gt; meetings [type] =&gt; link [relationship] =&gt; case_meetings [bean_name] =&gt; Meeting [source][/source] =&gt; non-db [vname] =&gt; LBL_MEETINGS ) [emails] =&gt; Array ( [name] =&gt; emails [type] =&gt; link [relationship] =&gt; emails_cases_rel [source][/source] =&gt; non-db [vname] =&gt; LBL_EMAILS ) [calls] =&gt; Array ( [name] =&gt; calls [type] =&gt; link [relationship] =&gt; case_calls [source][/source] =&gt; non-db [vname] =&gt; LBL_CALLS ) [bugs] =&gt; Array ( [name] =&gt; bugs [type] =&gt; link [relationship] =&gt; cases_bugs [source][/source] =&gt; non-db [vname] =&gt; LBL_BUGS ) [contacts] =&gt; Array ( [name] =&gt; contacts [type] =&gt; link [relationship] =&gt; contacts_cases [source][/source] =&gt; non-db [vname] =&gt; LBL_CONTACTS ) [accounts] =&gt; Array ( [name] =&gt; accounts [type] =&gt; link [relationship] =&gt; account_cases [link_type] =&gt; one [side] =&gt; right [source][/source] =&gt; non-db [vname] =&gt; LBL_ACCOUNT ) [project] =&gt; Array ( [name] =&gt; project [type] =&gt; link [relationship] =&gt; projects_cases [source][/source] =&gt; non-db [vname] =&gt; LBL_PROJECTS ) ) [custom_fields] =&gt; DynamicField Object ( [use_existing_labels] =&gt; [module] =&gt; Cases [bean] =&gt; aCase Object *RECURSION* ) [column_fields] =&gt; Array ( [0] =&gt; id [1] =&gt; name [2] =&gt; date_entered [3] =&gt; date_modified [4] =&gt; modified_user_id [5] =&gt; modified_by_name [6] =&gt; created_by [7] =&gt; created_by_name [8] =&gt; description [9] =&gt; deleted [10] =&gt; created_by_link [11] =&gt; modified_user_link [12] =&gt; assigned_user_id [13] =&gt; assigned_user_name [14] =&gt; assigned_user_link [15] =&gt; case_number [16] =&gt; type [17] =&gt; status [18] =&gt; priority [19] =&gt; resolution [20] =&gt; work_log [21] =&gt; account_name [22] =&gt; account_name1 [23] =&gt; account_id [24] =&gt; tasks [25] =&gt; notes [26] =&gt; meetings [27] =&gt; emails [28] =&gt; calls [29] =&gt; bugs [30] =&gt; contacts [31] =&gt; accounts [32] =&gt; project ) [list_fields] =&gt; Array ( [0] =&gt; id [1] =&gt; priority [2] =&gt; status [3] =&gt; name [4] =&gt; account_name [5] =&gt; case_number [6] =&gt; account_id [7] =&gt; assigned_user_name [8] =&gt; assigned_user_id ) [current_notify_user] =&gt; [fetched_row] =&gt; Array ( [id] =&gt; 6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e [name] =&gt; new case to be closed later on [date_entered] =&gt; 2011-04-04 18:27:35 [date_modified] =&gt; 2011-04-05 20:04:20 [modified_user_id] =&gt; 1 [created_by] =&gt; 1 [description] =&gt; new case to be closed later on [deleted] =&gt; 0 [assigned_user_id] =&gt; 1 [case_number] =&gt; 51 [type] =&gt; Administration [status] =&gt; New [priority] =&gt; P1 [resolution] =&gt; you case has been solved. with best regards support team [work_log] =&gt; [account_id] =&gt; 70dcdd28-b353-9091-3d63-4d9a0d5bd819 ) [layout_def] =&gt; [force_load_details] =&gt; [optimistic_lock] =&gt; 1 [disable_custom_fields] =&gt; [number_formatting_done] =&gt; [process_field_encrypted] =&gt; [acltype] =&gt; module [additional_meta_fields] =&gt; Array ( ) [special_notification] =&gt; [in_workflow] =&gt; [listview_inner_join] =&gt; Array ( ) [required_fields] =&gt; Array ( [name] =&gt; 1 [account_name] =&gt; 2 ) [acl_fields] =&gt; 1 [logicHookDepth] =&gt; Array ( [before_retrieve] =&gt; 1 [after_retrieve] =&gt; 1 [before_save] =&gt; 1 ) [created_by_link] =&gt; [modified_user_link] =&gt; [assigned_user_link] =&gt; [type] =&gt; Administration [work_log] =&gt; [tasks] =&gt; [notes] =&gt; [meetings] =&gt; [emails] =&gt; [calls] =&gt; [bugs] =&gt; [contacts] =&gt; [accounts] =&gt; [project] =&gt; [relDepth] =&gt; 0 [rel_fields_before_value] =&gt; Array ( [account_id] =&gt; 70dcdd28-b353-9091-3d63-4d9a0d5bd819 [bug_id] =&gt; [task_id] =&gt; [note_id] =&gt; [meeting_id] =&gt; [call_id] =&gt; [email_id] =&gt; ) [old_modified_by_name] =&gt; govinda khatiwada )</description>
		<content:encoded><![CDATA[<p>Hi, Admin here is the result of  print_r ($bean). Can you guide me further ? </p>
<p>aCase Object ( [field_name_map] =&gt; Array ( [id] =&gt; Array ( [name] =&gt; id [vname] =&gt; LBL_ID [type] =&gt; id [required] =&gt; 1 [reportable] =&gt; 1 [comment] =&gt; Unique identifier ) [name] =&gt; Array ( [name] =&gt; name [vname] =&gt; LBL_SUBJECT [type] =&gt; name [dbType] =&gt; varchar [len] =&gt; 255 [audited] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; The short description of the bug [merge_filter] =&gt; selected [required] =&gt; 1 [importable] =&gt; required ) [date_entered] =&gt; Array ( [name] =&gt; date_entered [vname] =&gt; LBL_DATE_ENTERED [type] =&gt; datetime [group] =&gt; created_by_name [comment] =&gt; Date record created ) [date_modified] =&gt; Array ( [name] =&gt; date_modified [vname] =&gt; LBL_DATE_MODIFIED [type] =&gt; datetime [group] =&gt; modified_by_name [comment] =&gt; Date record last modified ) [modified_user_id] =&gt; Array ( [name] =&gt; modified_user_id [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_MODIFIED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [group] =&gt; modified_by_name [dbType] =&gt; id [reportable] =&gt; 1 [comment] =&gt; User who last modified record ) [modified_by_name] =&gt; Array ( [name] =&gt; modified_by_name [vname] =&gt; LBL_MODIFIED_NAME [type] =&gt; relate [reportable] =&gt;
<pre class="brush: plain;">[/source] =&gt; non-db [rname] =&gt; user_name [table] =&gt; users [id_name] =&gt; modified_user_id [module] =&gt; Users [link] =&gt; modified_user_link [duplicate_merge] =&gt; disabled ) [created_by] =&gt; Array ( [name] =&gt; created_by [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_CREATED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [dbType] =&gt; id [group] =&gt; created_by_name [comment] =&gt; User who created record ) [created_by_name] =&gt; Array ( [name] =&gt; created_by_name [vname] =&gt; LBL_CREATED [type] =&gt; relate [reportable] =&gt; [link] =&gt; created_by_link [rname] =&gt; user_name [source]</pre>
<p> =&gt; non-db [table] =&gt; users [id_name] =&gt; created_by [module] =&gt; Users [duplicate_merge] =&gt; disabled [importable] =&gt; false ) [description] =&gt; Array ( [name] =&gt; description [vname] =&gt; LBL_DESCRIPTION [type] =&gt; text [comment] =&gt; Full text of the note [rows] =&gt; 6 [cols] =&gt; 80 ) [deleted] =&gt; Array ( [name] =&gt; deleted [vname] =&gt; LBL_DELETED [type] =&gt; bool [default] =&gt; 0 [reportable] =&gt; [comment] =&gt; Record deletion indicator ) [created_by_link] =&gt; Array ( [name] =&gt; created_by_link [type] =&gt; link [relationship] =&gt; cases_created_by [vname] =&gt; LBL_CREATED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User
<pre class="brush: plain;">[/source] =&gt; non-db ) [modified_user_link] =&gt; Array ( [name] =&gt; modified_user_link [type] =&gt; link [relationship] =&gt; cases_modified_user [vname] =&gt; LBL_MODIFIED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source]</pre>
<p> =&gt; non-db ) [assigned_user_id] =&gt; Array ( [name] =&gt; assigned_user_id [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [vname] =&gt; LBL_ASSIGNED_TO_ID [group] =&gt; assigned_user_name [type] =&gt; relate [table] =&gt; users [module] =&gt; Users [reportable] =&gt; 1 [isnull] =&gt; false [dbType] =&gt; id [audited] =&gt; 1 [comment] =&gt; User ID assigned to record [duplicate_merge] =&gt; disabled ) [assigned_user_name] =&gt; Array ( [name] =&gt; assigned_user_name [link] =&gt; assigned_user_link [vname] =&gt; LBL_ASSIGNED_TO_NAME [rname] =&gt; user_name [type] =&gt; relate [reportable] =&gt;
<pre class="brush: plain;">[/source] =&gt; non-db [table] =&gt; users [id_name] =&gt; assigned_user_id [module] =&gt; Users [duplicate_merge] =&gt; disabled ) [assigned_user_link] =&gt; Array ( [name] =&gt; assigned_user_link [type] =&gt; link [relationship] =&gt; cases_assigned_user [vname] =&gt; LBL_ASSIGNED_TO_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source]</pre>
<p> =&gt; non-db [duplicate_merge] =&gt; enabled [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [table] =&gt; users ) [case_number] =&gt; Array ( [name] =&gt; case_number [vname] =&gt; LBL_NUMBER [type] =&gt; int [len] =&gt; 11 [required] =&gt; 1 [auto_increment] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; Visual unique identifier [duplicate_merge] =&gt; disabled [disable_num_format] =&gt; 1 ) [type] =&gt; Array ( [name] =&gt; type [vname] =&gt; LBL_TYPE [type] =&gt; enum [options] =&gt; case_type_dom [len] =&gt; 255 [comment] =&gt; The type of issue (ex: issue, feature) [merge_filter] =&gt; enabled ) [status] =&gt; Array ( [name] =&gt; status [vname] =&gt; LBL_STATUS [type] =&gt; enum [options] =&gt; case_status_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The status of the case ) [priority] =&gt; Array ( [name] =&gt; priority [vname] =&gt; LBL_PRIORITY [type] =&gt; enum [options] =&gt; case_priority_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The priority of the case ) [resolution] =&gt; Array ( [name] =&gt; resolution [vname] =&gt; LBL_RESOLUTION [type] =&gt; text [comment] =&gt; The resolution of the case ) [work_log] =&gt; Array ( [name] =&gt; work_log [vname] =&gt; LBL_WORK_LOG [type] =&gt; text [comment] =&gt; Free-form text used to denote activities of interest ) [account_name] =&gt; Array ( [name] =&gt; account_name [rname] =&gt; name [id_name] =&gt; account_id [vname] =&gt; LBL_ACCOUNT_NAME [type] =&gt; relate [link] =&gt; accounts [table] =&gt; accounts [join_name] =&gt; accounts [isnull] =&gt; true [module] =&gt; Accounts [dbType] =&gt; varchar [len] =&gt; 100
<pre class="brush: plain;">[/source] =&gt; non-db [unified_search] =&gt; 1 [comment] =&gt; The name of the account represented by the account_id field [required] =&gt; 1 [importable] =&gt; required ) [account_name1] =&gt; Array ( [name] =&gt; account_name1 [source]</pre>
<p> =&gt; non-db [type] =&gt; text [len] =&gt; 100 [importable] =&gt; false ) [account_id] =&gt; Array ( [name] =&gt; account_id [type] =&gt; relate [dbType] =&gt; id [rname] =&gt; id [module] =&gt; Accounts [id_name] =&gt; account_id [reportable] =&gt; [vname] =&gt; LBL_ACCOUNT_ID [audited] =&gt; 1 [massupdate] =&gt; [comment] =&gt; The account to which the case is associated ) [tasks] =&gt; Array ( [name] =&gt; tasks [type] =&gt; link [relationship] =&gt; case_tasks
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_TASKS ) [notes] =&gt; Array ( [name] =&gt; notes [type] =&gt; link [relationship] =&gt; case_notes [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_NOTES ) [meetings] =&gt; Array ( [name] =&gt; meetings [type] =&gt; link [relationship] =&gt; case_meetings [bean_name] =&gt; Meeting
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_MEETINGS ) [emails] =&gt; Array ( [name] =&gt; emails [type] =&gt; link [relationship] =&gt; emails_cases_rel [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_EMAILS ) [calls] =&gt; Array ( [name] =&gt; calls [type] =&gt; link [relationship] =&gt; case_calls
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_CALLS ) [bugs] =&gt; Array ( [name] =&gt; bugs [type] =&gt; link [relationship] =&gt; cases_bugs [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_BUGS ) [contacts] =&gt; Array ( [name] =&gt; contacts [type] =&gt; link [relationship] =&gt; contacts_cases
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_CONTACTS ) [accounts] =&gt; Array ( [name] =&gt; accounts [type] =&gt; link [relationship] =&gt; account_cases [link_type] =&gt; one [side] =&gt; right [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_ACCOUNT ) [project] =&gt; Array ( [name] =&gt; project [type] =&gt; link [relationship] =&gt; projects_cases
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_PROJECTS ) ) [id] =&gt; 6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e [date_modified] =&gt; 2011-04-05 20:04:43 [modified_user_id] =&gt; 1 [assigned_user_id] =&gt; 1 [case_number] =&gt; 51 [resolution] =&gt; you case has been solved. with best regards support team [description] =&gt; new case to be closed later on [name] =&gt; new case to be closed later on [status] =&gt; Closed [priority] =&gt; P1 [created_by] =&gt; 1 [created_by_name] =&gt; govinda khatiwada [modified_by_name] =&gt; admin [bug_id] =&gt; [account_name] =&gt; govinda [account_id] =&gt; 70dcdd28-b353-9091-3d63-4d9a0d5bd819 [contact_id] =&gt; [task_id] =&gt; [note_id] =&gt; [meeting_id] =&gt; [call_id] =&gt; [email_id] =&gt; [assigned_user_name] =&gt; govinda khatiwada [account_name1] =&gt; [table_name] =&gt; cases [rel_account_table] =&gt; accounts_cases [rel_contact_table] =&gt; contacts_cases [module_dir] =&gt; Cases [object_name] =&gt; Case [importable] =&gt; 1 [emailSubjectMacro] =&gt; [CASE:%1] [additional_column_fields] =&gt; Array ( [0] =&gt; bug_id [1] =&gt; assigned_user_name [2] =&gt; assigned_user_id [3] =&gt; contact_id [4] =&gt; task_id [5] =&gt; note_id [6] =&gt; meeting_id [7] =&gt; call_id [8] =&gt; email_id ) [relationship_fields] =&gt; Array ( [account_id] =&gt; accounts [bug_id] =&gt; bugs [task_id] =&gt; tasks [note_id] =&gt; notes [meeting_id] =&gt; meetings [call_id] =&gt; calls [email_id] =&gt; emails ) [new_schema] =&gt; 1 [db] =&gt; MysqlManager Object ( [dbType] =&gt; mysql [backendFunctions:protected] =&gt; Array ( [free_result] =&gt; mysql_free_result [close] =&gt; mysql_close [row_count] =&gt; mysql_num_rows [affected_row_count] =&gt; mysql_affected_rows ) [helper] =&gt; MysqlHelper Object ( [db] =&gt; MysqlManager Object *RECURSION* [bean] =&gt; ) [tableName:protected] =&gt; [database] =&gt; Resource id #77 [dieOnError:protected] =&gt; [encode:protected] =&gt; 1 [query_time:protected] =&gt; 0.000765085220337 [lastmysqlrow:protected] =&gt; -1 [last_error:protected] =&gt; [lastResult:protected] =&gt; Array ( ) [preparedTokens:protected] =&gt; Array ( ) [count_id] =&gt; [references] =&gt; 29 [lastsql] =&gt; SELECT date_modified FROM cases WHERE id='6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e' AND modified_user_id != '1' AND (modified_user_id != '1' OR date_modified &gt; DATE_FORMAT('2011-04-05 20:04:20', '%Y-%m-%d %H:%i:%s')) ) [new_with_id] =&gt; [disable_vardefs] =&gt; [new_assigned_user_name] =&gt; [processed_dates_times] =&gt; Array ( [id] =&gt; 1 [name] =&gt; 1 [date_entered] =&gt; 1 [date_modified] =&gt; 1 [modified_user_id] =&gt; 1 [modified_by_name] =&gt; 1 [created_by] =&gt; 1 [created_by_name] =&gt; 1 [description] =&gt; 1 [deleted] =&gt; 1 [created_by_link] =&gt; 1 [modified_user_link] =&gt; 1 [assigned_user_id] =&gt; 1 [assigned_user_name] =&gt; 1 [assigned_user_link] =&gt; 1 [case_number] =&gt; 1 [type] =&gt; 1 [status] =&gt; 1 [priority] =&gt; 1 [resolution] =&gt; 1 [work_log] =&gt; 1 [account_name] =&gt; 1 [account_name1] =&gt; 1 [account_id] =&gt; 1 [tasks] =&gt; 1 [notes] =&gt; 1 [meetings] =&gt; 1 [emails] =&gt; 1 [calls] =&gt; 1 [bugs] =&gt; 1 [contacts] =&gt; 1 [accounts] =&gt; 1 [project] =&gt; 1 ) [process_save_dates] =&gt; 1 [save_from_post] =&gt; 1 [duplicates_found] =&gt; [dbManager] =&gt; MysqlManager Object ( [dbType] =&gt; mysql [backendFunctions:protected] =&gt; Array ( [free_result] =&gt; mysql_free_result [close] =&gt; mysql_close [row_count] =&gt; mysql_num_rows [affected_row_count] =&gt; mysql_affected_rows ) [helper] =&gt; MysqlHelper Object ( [db] =&gt; MysqlManager Object *RECURSION* [bean] =&gt; ) [tableName:protected] =&gt; [database] =&gt; Resource id #77 [dieOnError:protected] =&gt; [encode:protected] =&gt; 1 [query_time:protected] =&gt; 0.000765085220337 [lastmysqlrow:protected] =&gt; -1 [last_error:protected] =&gt; [lastResult:protected] =&gt; Array ( ) [preparedTokens:protected] =&gt; Array ( ) [count_id] =&gt; [references] =&gt; 29 [lastsql] =&gt; SELECT date_modified FROM cases WHERE id='6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e' AND modified_user_id != '1' AND (modified_user_id != '1' OR date_modified &gt; DATE_FORMAT('2011-04-05 20:04:20', '%Y-%m-%d %H:%i:%s')) ) [deleted] =&gt; 0 [update_date_modified] =&gt; 1 [update_modified_by] =&gt; 1 [update_date_entered] =&gt; [set_created_by] =&gt; 1 [team_set_id] =&gt; [ungreedy_count] =&gt; [field_defs] =&gt; Array ( [id] =&gt; Array ( [name] =&gt; id [vname] =&gt; LBL_ID [type] =&gt; id [required] =&gt; 1 [reportable] =&gt; 1 [comment] =&gt; Unique identifier ) [name] =&gt; Array ( [name] =&gt; name [vname] =&gt; LBL_SUBJECT [type] =&gt; name [dbType] =&gt; varchar [len] =&gt; 255 [audited] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; The short description of the bug [merge_filter] =&gt; selected [required] =&gt; 1 [importable] =&gt; required ) [date_entered] =&gt; Array ( [name] =&gt; date_entered [vname] =&gt; LBL_DATE_ENTERED [type] =&gt; datetime [group] =&gt; created_by_name [comment] =&gt; Date record created ) [date_modified] =&gt; Array ( [name] =&gt; date_modified [vname] =&gt; LBL_DATE_MODIFIED [type] =&gt; datetime [group] =&gt; modified_by_name [comment] =&gt; Date record last modified ) [modified_user_id] =&gt; Array ( [name] =&gt; modified_user_id [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_MODIFIED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [group] =&gt; modified_by_name [dbType] =&gt; id [reportable] =&gt; 1 [comment] =&gt; User who last modified record ) [modified_by_name] =&gt; Array ( [name] =&gt; modified_by_name [vname] =&gt; LBL_MODIFIED_NAME [type] =&gt; relate [reportable] =&gt; [source]</pre>
<p> =&gt; non-db [rname] =&gt; user_name [table] =&gt; users [id_name] =&gt; modified_user_id [module] =&gt; Users [link] =&gt; modified_user_link [duplicate_merge] =&gt; disabled ) [created_by] =&gt; Array ( [name] =&gt; created_by [rname] =&gt; user_name [id_name] =&gt; modified_user_id [vname] =&gt; LBL_CREATED_ID [type] =&gt; assigned_user_name [table] =&gt; users [isnull] =&gt; false [dbType] =&gt; id [group] =&gt; created_by_name [comment] =&gt; User who created record ) [created_by_name] =&gt; Array ( [name] =&gt; created_by_name [vname] =&gt; LBL_CREATED [type] =&gt; relate [reportable] =&gt; [link] =&gt; created_by_link [rname] =&gt; user_name
<pre class="brush: plain;">[/source] =&gt; non-db [table] =&gt; users [id_name] =&gt; created_by [module] =&gt; Users [duplicate_merge] =&gt; disabled [importable] =&gt; false ) [description] =&gt; Array ( [name] =&gt; description [vname] =&gt; LBL_DESCRIPTION [type] =&gt; text [comment] =&gt; Full text of the note [rows] =&gt; 6 [cols] =&gt; 80 ) [deleted] =&gt; Array ( [name] =&gt; deleted [vname] =&gt; LBL_DELETED [type] =&gt; bool [default] =&gt; 0 [reportable] =&gt; [comment] =&gt; Record deletion indicator ) [created_by_link] =&gt; Array ( [name] =&gt; created_by_link [type] =&gt; link [relationship] =&gt; cases_created_by [vname] =&gt; LBL_CREATED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User [source]</pre>
<p> =&gt; non-db ) [modified_user_link] =&gt; Array ( [name] =&gt; modified_user_link [type] =&gt; link [relationship] =&gt; cases_modified_user [vname] =&gt; LBL_MODIFIED_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User
<pre class="brush: plain;">[/source] =&gt; non-db ) [assigned_user_id] =&gt; Array ( [name] =&gt; assigned_user_id [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [vname] =&gt; LBL_ASSIGNED_TO_ID [group] =&gt; assigned_user_name [type] =&gt; relate [table] =&gt; users [module] =&gt; Users [reportable] =&gt; 1 [isnull] =&gt; false [dbType] =&gt; id [audited] =&gt; 1 [comment] =&gt; User ID assigned to record [duplicate_merge] =&gt; disabled ) [assigned_user_name] =&gt; Array ( [name] =&gt; assigned_user_name [link] =&gt; assigned_user_link [vname] =&gt; LBL_ASSIGNED_TO_NAME [rname] =&gt; user_name [type] =&gt; relate [reportable] =&gt; [source]</pre>
<p> =&gt; non-db [table] =&gt; users [id_name] =&gt; assigned_user_id [module] =&gt; Users [duplicate_merge] =&gt; disabled ) [assigned_user_link] =&gt; Array ( [name] =&gt; assigned_user_link [type] =&gt; link [relationship] =&gt; cases_assigned_user [vname] =&gt; LBL_ASSIGNED_TO_USER [link_type] =&gt; one [module] =&gt; Users [bean_name] =&gt; User
<pre class="brush: plain;">[/source] =&gt; non-db [duplicate_merge] =&gt; enabled [rname] =&gt; user_name [id_name] =&gt; assigned_user_id [table] =&gt; users ) [case_number] =&gt; Array ( [name] =&gt; case_number [vname] =&gt; LBL_NUMBER [type] =&gt; int [len] =&gt; 11 [required] =&gt; 1 [auto_increment] =&gt; 1 [unified_search] =&gt; 1 [comment] =&gt; Visual unique identifier [duplicate_merge] =&gt; disabled [disable_num_format] =&gt; 1 ) [type] =&gt; Array ( [name] =&gt; type [vname] =&gt; LBL_TYPE [type] =&gt; enum [options] =&gt; case_type_dom [len] =&gt; 255 [comment] =&gt; The type of issue (ex: issue, feature) [merge_filter] =&gt; enabled ) [status] =&gt; Array ( [name] =&gt; status [vname] =&gt; LBL_STATUS [type] =&gt; enum [options] =&gt; case_status_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The status of the case ) [priority] =&gt; Array ( [name] =&gt; priority [vname] =&gt; LBL_PRIORITY [type] =&gt; enum [options] =&gt; case_priority_dom [len] =&gt; 25 [audited] =&gt; 1 [comment] =&gt; The priority of the case ) [resolution] =&gt; Array ( [name] =&gt; resolution [vname] =&gt; LBL_RESOLUTION [type] =&gt; text [comment] =&gt; The resolution of the case ) [work_log] =&gt; Array ( [name] =&gt; work_log [vname] =&gt; LBL_WORK_LOG [type] =&gt; text [comment] =&gt; Free-form text used to denote activities of interest ) [account_name] =&gt; Array ( [name] =&gt; account_name [rname] =&gt; name [id_name] =&gt; account_id [vname] =&gt; LBL_ACCOUNT_NAME [type] =&gt; relate [link] =&gt; accounts [table] =&gt; accounts [join_name] =&gt; accounts [isnull] =&gt; true [module] =&gt; Accounts [dbType] =&gt; varchar [len] =&gt; 100 [source]</pre>
<p> =&gt; non-db [unified_search] =&gt; 1 [comment] =&gt; The name of the account represented by the account_id field [required] =&gt; 1 [importable] =&gt; required ) [account_name1] =&gt; Array ( [name] =&gt; account_name1
<pre class="brush: plain;">[/source] =&gt; non-db [type] =&gt; text [len] =&gt; 100 [importable] =&gt; false ) [account_id] =&gt; Array ( [name] =&gt; account_id [type] =&gt; relate [dbType] =&gt; id [rname] =&gt; id [module] =&gt; Accounts [id_name] =&gt; account_id [reportable] =&gt; [vname] =&gt; LBL_ACCOUNT_ID [audited] =&gt; 1 [massupdate] =&gt; [comment] =&gt; The account to which the case is associated ) [tasks] =&gt; Array ( [name] =&gt; tasks [type] =&gt; link [relationship] =&gt; case_tasks [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_TASKS ) [notes] =&gt; Array ( [name] =&gt; notes [type] =&gt; link [relationship] =&gt; case_notes
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_NOTES ) [meetings] =&gt; Array ( [name] =&gt; meetings [type] =&gt; link [relationship] =&gt; case_meetings [bean_name] =&gt; Meeting [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_MEETINGS ) [emails] =&gt; Array ( [name] =&gt; emails [type] =&gt; link [relationship] =&gt; emails_cases_rel
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_EMAILS ) [calls] =&gt; Array ( [name] =&gt; calls [type] =&gt; link [relationship] =&gt; case_calls [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_CALLS ) [bugs] =&gt; Array ( [name] =&gt; bugs [type] =&gt; link [relationship] =&gt; cases_bugs
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_BUGS ) [contacts] =&gt; Array ( [name] =&gt; contacts [type] =&gt; link [relationship] =&gt; contacts_cases [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_CONTACTS ) [accounts] =&gt; Array ( [name] =&gt; accounts [type] =&gt; link [relationship] =&gt; account_cases [link_type] =&gt; one [side] =&gt; right
<pre class="brush: plain;">[/source] =&gt; non-db [vname] =&gt; LBL_ACCOUNT ) [project] =&gt; Array ( [name] =&gt; project [type] =&gt; link [relationship] =&gt; projects_cases [source]</pre>
<p> =&gt; non-db [vname] =&gt; LBL_PROJECTS ) ) [custom_fields] =&gt; DynamicField Object ( [use_existing_labels] =&gt; [module] =&gt; Cases [bean] =&gt; aCase Object *RECURSION* ) [column_fields] =&gt; Array ( [0] =&gt; id [1] =&gt; name [2] =&gt; date_entered [3] =&gt; date_modified [4] =&gt; modified_user_id [5] =&gt; modified_by_name [6] =&gt; created_by [7] =&gt; created_by_name [8] =&gt; description [9] =&gt; deleted [10] =&gt; created_by_link [11] =&gt; modified_user_link [12] =&gt; assigned_user_id [13] =&gt; assigned_user_name [14] =&gt; assigned_user_link [15] =&gt; case_number [16] =&gt; type [17] =&gt; status [18] =&gt; priority [19] =&gt; resolution [20] =&gt; work_log [21] =&gt; account_name [22] =&gt; account_name1 [23] =&gt; account_id [24] =&gt; tasks [25] =&gt; notes [26] =&gt; meetings [27] =&gt; emails [28] =&gt; calls [29] =&gt; bugs [30] =&gt; contacts [31] =&gt; accounts [32] =&gt; project ) [list_fields] =&gt; Array ( [0] =&gt; id [1] =&gt; priority [2] =&gt; status [3] =&gt; name [4] =&gt; account_name [5] =&gt; case_number [6] =&gt; account_id [7] =&gt; assigned_user_name [8] =&gt; assigned_user_id ) [current_notify_user] =&gt; [fetched_row] =&gt; Array ( [id] =&gt; 6f4739fa-5d73-47b6-1e2c-4d9a0d100d8e [name] =&gt; new case to be closed later on [date_entered] =&gt; 2011-04-04 18:27:35 [date_modified] =&gt; 2011-04-05 20:04:20 [modified_user_id] =&gt; 1 [created_by] =&gt; 1 [description] =&gt; new case to be closed later on [deleted] =&gt; 0 [assigned_user_id] =&gt; 1 [case_number] =&gt; 51 [type] =&gt; Administration [status] =&gt; New [priority] =&gt; P1 [resolution] =&gt; you case has been solved. with best regards support team [work_log] =&gt; [account_id] =&gt; 70dcdd28-b353-9091-3d63-4d9a0d5bd819 ) [layout_def] =&gt; [force_load_details] =&gt; [optimistic_lock] =&gt; 1 [disable_custom_fields] =&gt; [number_formatting_done] =&gt; [process_field_encrypted] =&gt; [acltype] =&gt; module [additional_meta_fields] =&gt; Array ( ) [special_notification] =&gt; [in_workflow] =&gt; [listview_inner_join] =&gt; Array ( ) [required_fields] =&gt; Array ( [name] =&gt; 1 [account_name] =&gt; 2 ) [acl_fields] =&gt; 1 [logicHookDepth] =&gt; Array ( [before_retrieve] =&gt; 1 [after_retrieve] =&gt; 1 [before_save] =&gt; 1 ) [created_by_link] =&gt; [modified_user_link] =&gt; [assigned_user_link] =&gt; [type] =&gt; Administration [work_log] =&gt; [tasks] =&gt; [notes] =&gt; [meetings] =&gt; [emails] =&gt; [calls] =&gt; [bugs] =&gt; [contacts] =&gt; [accounts] =&gt; [project] =&gt; [relDepth] =&gt; 0 [rel_fields_before_value] =&gt; Array ( [account_id] =&gt; 70dcdd28-b353-9091-3d63-4d9a0d5bd819 [bug_id] =&gt; [task_id] =&gt; [note_id] =&gt; [meeting_id] =&gt; [call_id] =&gt; [email_id] =&gt; ) [old_modified_by_name] =&gt; govinda khatiwada )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-21222</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 05 Apr 2011 18:54:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-21222</guid>
		<description>&lt;a href=&quot;#comment-21221&quot; rel=&quot;nofollow&quot;&gt;@govinda&lt;/a&gt; 

Check the contents of &#039;Bean&#039;. You will be able to get the customer from there.</description>
		<content:encoded><![CDATA[<p><a href="#comment-21221" rel="nofollow">@govinda</a> </p>
<p>Check the contents of &#8216;Bean&#8217;. You will be able to get the customer from there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: govinda</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-21221</link>
		<dc:creator>govinda</dc:creator>
		<pubDate>Tue, 05 Apr 2011 18:51:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-21221</guid>
		<description>hi,
I am unable to fix the $to[&#039;Mr. Bean&#039;] = ‘mrbean@whatevs.com’;”

to the original customer, I would like to notify the customer instead of custom.

I tried using .
 $to[&#039;Customer&#039;] = (&#039;$email&#039;); this doesnot work neither (&#039;email_address&#039;). Can anyone post what should be there to send to the original client.

thanks</description>
		<content:encoded><![CDATA[<p>hi,<br />
I am unable to fix the $to['Mr. Bean'] = ‘mrbean@whatevs.com’;”</p>
<p>to the original customer, I would like to notify the customer instead of custom.</p>
<p>I tried using .<br />
 $to['Customer'] = (&#8216;$email&#8217;); this doesnot work neither (&#8216;email_address&#8217;). Can anyone post what should be there to send to the original client.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbetancourt</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-7418</link>
		<dc:creator>dbetancourt</dc:creator>
		<pubDate>Wed, 06 Oct 2010 20:29:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-7418</guid>
		<description>For the version 6.0.2 this won&#039;t work due to the call of the function:

/////////////////////////////////////////////////////

 if (!sendSugarPHPMail($to, $subject, $body))

you have to change it to:

 if (!$this-&gt;sendSugarPHPMail($to, $subject, $body))

/////////////////////////////////////////////////////

About the function &#039;sendSugarPHPMail&#039; you have to include the two files:

/////////////////////////////////////////////////////

require_once(&#039;include/SugarPHPMailer.php&#039;);    require_once(&#039;modules/Administration/Administration.php&#039;);

/////////////////////////////////////////////////////

(I say this because some guy in the other post (in the function &#039;sendSugarPHPMail&#039; post) said that it wasn&#039;t necessary to include those files but YOU HAVE TO INCLUDE THEM!) 

If you get errors is because the configuration of the mail and its server.

Hope it helped.</description>
		<content:encoded><![CDATA[<p>For the version 6.0.2 this won&#8217;t work due to the call of the function:</p>
<p>/////////////////////////////////////////////////////</p>
<p> if (!sendSugarPHPMail($to, $subject, $body))</p>
<p>you have to change it to:</p>
<p> if (!$this-&gt;sendSugarPHPMail($to, $subject, $body))</p>
<p>/////////////////////////////////////////////////////</p>
<p>About the function &#8217;sendSugarPHPMail&#8217; you have to include the two files:</p>
<p>/////////////////////////////////////////////////////</p>
<p>require_once(&#8216;include/SugarPHPMailer.php&#8217;);    require_once(&#8216;modules/Administration/Administration.php&#8217;);</p>
<p>/////////////////////////////////////////////////////</p>
<p>(I say this because some guy in the other post (in the function &#8217;sendSugarPHPMail&#8217; post) said that it wasn&#8217;t necessary to include those files but YOU HAVE TO INCLUDE THEM!) </p>
<p>If you get errors is because the configuration of the mail and its server.</p>
<p>Hope it helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Roberts</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-6062</link>
		<dc:creator>Gareth Roberts</dc:creator>
		<pubDate>Mon, 20 Sep 2010 02:57:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-6062</guid>
		<description>Sweet, works fine for 5.5.0.

Thanks,
Gareth</description>
		<content:encoded><![CDATA[<p>Sweet, works fine for 5.5.0.</p>
<p>Thanks,<br />
Gareth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin Surajbali</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-979</link>
		<dc:creator>Ashwin Surajbali</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:49:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-979</guid>
		<description>&lt;blockquote cite=&quot;#comment-content-975&quot;&gt;
&lt;a href=&quot;#comment-975&quot; rel=&quot;nofollow&quot;&gt;Rakesh&lt;/a&gt; :
    neighter error is coming nor email is sending.
The code should be written &amp; instructed properly
  &lt;/blockquote&gt;
Make sure you&#039;re using the email wrapper function, there&#039;s a link at the top of this post.</description>
		<content:encoded><![CDATA[<blockquote cite="#comment-content-975"><p>
<a href="#comment-975" rel="nofollow">Rakesh</a> :<br />
    neighter error is coming nor email is sending.<br />
The code should be written &amp; instructed properly
  </p></blockquote>
<p>Make sure you&#8217;re using the email wrapper function, there&#8217;s a link at the top of this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin Surajbali</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-978</link>
		<dc:creator>Ashwin Surajbali</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:49:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-978</guid>
		<description>&lt;a href=&quot;#comment-1&quot; rel=&quot;nofollow&quot;&gt;@DAniel&lt;/a&gt; 
Please make sure you&#039;re using the email wrapper function.</description>
		<content:encoded><![CDATA[<p><a href="#comment-1" rel="nofollow">@DAniel</a><br />
Please make sure you&#8217;re using the email wrapper function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://redinkdesign.net/open-source/creating-logic-hooks-for-sugarcrm-5/comment-page-1/#comment-975</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Mon, 07 Jun 2010 09:53:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-975</guid>
		<description>neighter error is coming nor email is sending.
The code should be written &amp; instructed properly</description>
		<content:encoded><![CDATA[<p>neighter error is coming nor email is sending.<br />
The code should be written &amp; instructed properly</p>
]]></content:encoded>
	</item>
</channel>
</rss>

