In default case module i want to default admin user in ASSIGNED to field for all user. Can anyone guide me for the same.
Hi,
To clarify, you Want the default value for “Assigned to” on a case to be ‘Admin’ ?
If so, You could do this through Logic Hooks.
You can find how to set up a logic hook from the SugarCRM dev guide: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_6.5/Module_Framework/Logic_Hooks/Introduction/
I also made a post detailing how to create a logic hook here: https://suitecrm.com/forum/advanced-opensales-workflow-portal-support/6307-custom-action#22654
During this process, you will create a function. Inside this function, enter the code:
if (empty($bean->fetched_row)){
$bean->assigned_user_id = “1”;
}
If this isn’t your issue, Could you clarify your issue further?
Alternatively, if you want more clarification on how to create a logic hook, feel free to ask!