As mentioned in the release notes for 7.7.1 SugarQuery::joinRaw() has been deprecated. The method is still in the 7.8 Documentation: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.8/Data_Framework/Database/SugarQuery…