SugarCRM Get Activities Example