No AR code exists to teach any move to any Pokémon in Diamond. AR (Action Replay) codes modify memory (items, stats, flags, encounters) but cannot rewrite the game's move-learning logic, which is hardcoded:
Cheating devices can force a move into a slot temporarily, but it's unstable, may corrupt saves, and violates fair play. Legitimate methods:
Play fairly; the challenge is the point.