Don't you need to have your BP scanned upon boarding for the system to recognize that you were on the flight?
Scan your Y boarding pass by the gate so you get the milage, then use your J boarding pass on the plane to get to your seat.