But there may be no other flight number to reference. In fact, the pseudo-codeshare/wet lease carrier may not even have an assigned IATA code (e.g. Ted, PSA, Piedmont).
Ah, sorry. I misunderstood the term "wet lease." After reading up on it more, then yes, your way makes sense.
What I meant to say is that for a "true codeshare"--i.e. booking a flight through DL but flying a leg on AS--I will put the AS flight on my FlightMemory. For a regional feeder carrier codesharing under a major airline (i.e. an F8 flight marketed by DL), I'll put the F8 flight number on my FlightMemory.