You'd almost need access to Apple's Service Documents for that answer. I'm a qualified ACMT and have been in this situation before.
From memory we were instructed to replace MagSafe first and then Logic Board second. So I was always ordering the right board for the right model.