It depends on which program you are trying to earn the 100K bonus in. For AAdvantage, the credit you get the credit for the airline for which it is ticketed even if it is operated by another oneWorld carrier. ie, If I took the AY flight operated by BA, I'll get AY credit on the AAdvantage 100K bonus. Whereas I don't believe I'll get IB credit if I took an IB flight operated by a non-oneWorld carrier.