Miles earning on ANA

Could someone with better knowledge of the FC rules than I please tell me the answer to this
I had M fare tickets paid in cash and upgraded these to G tickets in UC for a flight for two people.
The flight has now been re-booked into ANA (Z fare) following the canceling of the flight..
Will we still get the 12,440 miles per person for the M fare after we fly on ANA? Or will we get awarded points based on flying with a partner airliner or (hopefully not) nowt whatsoever?
Thanks.

I had M fare tickets paid in cash and upgraded these to G tickets in UC for a flight for two people.
The flight has now been re-booked into ANA (Z fare) following the canceling of the flight..
Will we still get the 12,440 miles per person for the M fare after we fly on ANA? Or will we get awarded points based on flying with a partner airliner or (hopefully not) nowt whatsoever?
Thanks.