Originally Posted by
mahasamatman
Existence of the codeshare is not sufficient. For example, there is a UA codeshare for NH's YVR-HND, but it's not bookable without a US add-on, so United will return the native NH flight number.
Fair enough, but in that case there’s also not a choice to be made.