Check the fare basis and make sure the Orbitz itnerary is eligible for miles.
As far as the AA challenge goes, it is based on points. You only earn 50% points per mile flown on most discounted economy fares with a minimum of 50%. Your itinerary should allow you to complete the gld challenge.