Update the new UDF field for the existing Payment Header records with the CC last 4 digits

SOLVED

Hi,

We are working on a requirement, where we have to update the UDF field for the existing Credit Card Payment records with the last 4 digits of CC before the user clears off the CC details. I am trying to code the same in the VBScript, the Post Validate script on CC_Id compiles correctly with no issues, however, it's not executing it correctly on the fly. Any suggestions/recommendations please share. 

Thanks/AJ