Move managed Account task not updating new personnel number in AD

Hello Experts,

Move Managed account task is not updating new personnel number in ADS record Employeenumber field.

I have included below comments in my code but still Employeenumber  is not updating in ADS.

Is re-apply template only the workaround for such kind of issues?

'$FK(UID_Person).PersonnelNumber$
'$FK(UID_Person)
'$UID_Person$
If Not CBool(Variables("FULLSYNC")) Then
Select Case ($FK(UID_TSBBehavior).ITDataUsage:Int$)
Case 0:'Unmanaged (do not get data from employee)
Case Else:'Managed (fill all possible fields about employee)
Value = $FK(UID_Person).PersonnelNumber$
End Select
End if