This is an curious passage to me, that seems at first to agree that Jesus retained His Omniscience because at first
“Yeshua saw Natan’el coming toward him and remarked about him, “Here’s a true son of Isra’el — nothing false in him!” Natan’el said to him, “How do you know me?” Yeshua answered him, “Before Philip called you, when you were under the fig tree, I saw you.”” Yochanan (Jhn) 1:47-48 CJB
So whilst the text doesn’t explain by what means Jesus saw Nathaniel, whether physically, or in the spirit through some vision
“Natan’el said, “Rabbi, you are the Son of God! You are the King of Isra’el!”” Yochanan (Jhn) 1:49 CJB
Why then does Jesus sound shocked and/or surprised. He says
“Yeshua answered him, “you believe all this just because I told you I saw you under the fig tree? You will see greater things than that!”” Yochanan (Jhn) 1:50 CJB
Why so surprised if you already knew who your disciples were going to be and prayed all night to know which twelve disciples to choose and where to find them?