So SE isn't helpful saying that it is a Sony code so talk to Sony. :/

Anyway, I tried going to my brother's place and I added my account to his PS4. I went into my library and the main game client and beta version were there. So to my surprise, download option was there for the main client and it worked. Looks as if when I upgraded it automatically added the game to my library for future d/l, without me inputting any code.
*Note that when I upgraded, I was still on the beta client version and stayed with that since there was no need to un-install and install the main client (according SE at the time).*

When I chose the game from the library it reads download and I can even purchase it for $29.99. lol
Normally when you purchase a digital copy, the purchase option disappears, which is why I wasn't sure if I had to repurchase the game, or not, since on my PS4 (at my place) it only gives me the option to purchase because it is already installed.

So all is good.

Anyway, thanks everyone for your input.