Hi Shambhu Rai,
You are getting error as Cannot resolve function ufnGetGlobslSiteIdForTxns
It seems you are calling python function
ufnGetGlobslSiteIdForTxns
before it got created. In Python language we need to create function first and then only we can make a call for it.
Please check below video to understand more.
Hope this helps. Please let me know if any further queries.
Please consider hitting Accept Answer
button. Accepted answers help community as well. Thank you.