So a flight from purchased on AC.com, say, YVR-LHR-CPT with an AC plane on the first leg and a BA plane on the second, will only earn you Star points on the YVR-LHR leg?
It's a question that I'd pondered myself many times, particularly as AC.com frequently doesn't offer options using LH and never offers SAA onward from Heathrow.