Based on the information from Walmart's site the code is supposed to be inside the Fallout 4 box. If it is missing, then you should have contacted Walmart. Since it has been "weeks", I am not sure if they can help you.
http://www.walmart.com/ip/Fallout-4-Xbox-One/45611534#about