Originally Posted by
MarkY123
I think it's the operating carrier that matter; if the flight is operated by Qatar, the partner rules apply (i.e. you will earn miles based on the distance flown etc.)
No no, flight number is all that matters (marketing carrier).
On the above example PHL-ORD-DOH would earn based on the fare (AA flight numbers) while DOH-SEZ would earn based on distance (QR flight number).