Re: help with the bean
One quick thing you can do to see all the information stored in the bean is, somewhere in a logic hook, put the line:
PHP Code:
$GLOBALS['log']->fatal(print_r($bean,true));
Then, execute the logic hook (perform a save if its before/after_save, etc) and go to your sugarcrm.log in your base folder. Depending on what your log level is, there may or may not be a lot of useless information in here, but you'll find all the bean data in plain text form in there.
I'm using fatal() in this case because its pretty much always visible, but its more correct to use info() or debug() and change your log settings to that level.
Just a warning tho, its a lot of information.
Robert Beckman
Software Engineer
Mirth Corporation
Bookmarks