Main tab: set the 'Origin' value to 'Black.
Met tab: no editing required (there is no Encounter o Location value specific to traded Pokémon)
Stats and Attacks tab: no editing required
OT/Misc tab: set the Trainer's Name, ID, SID and Gender to something different than your own. If you want your Pokémon to seem traded from a specific Trainer, set these four values accordingly.