Originally Posted by vodkamike
Also, am I correct in thinking that using a codeshare earns you the same miles and points as if you were flying on the codeshare's own metal? (i.e flying an AA codeshare on Qantas metal earns the same as flying on AA Metal)
Yes, that is correct, it's what your ticket says that counts, you fly on a AA flight number, you earn as if it were an AA flight.
If there is no codeshare with AA, you should still be able to fly the route, though only earning 50% miles in L instead of 100% with AA.