hello people, how are you? i have a before save hook for Accounts module, and need to get the account id before save it.
How can i do this? Any suggerence?
Thanks!!
hello people, how are you? i have a before save hook for Accounts module, and need to get the account id before save it.
How can i do this? Any suggerence?
Thanks!!
echo $bean->id;
Farkhad Rakhimzhanov
E-mail: farkhad@gmail.com
Skype: rakikama
SuperTimesheet and Invoicing — timesheet tool with invoicing for SugarCRM.
Book time against Cases, Project Tasks and Projects.
Create invoice regarding booked time, print it in PDF or HTML,
customize template as you like.
thanks a lot!
Originally Posted by Superman
I'm working with this method of retrieving the record id to no avail:
I've tried:
andCode:$contact = new Contact(); $contact->first_name = @$_REQUEST['first_name']; ... $contactid=echo $contact->id;
neither return any value.Code:$contact = new Contact(); $contact->first_name = @$_REQUEST['first_name']; ... $contactid=$contact->id;
I wonder what I'm doing incorrectly.
thanks for your help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks