Mapping Script Error
Hi All,
VB Mapping Script Script:
If varValues(25) = "87071" Then Result = "4020000" Else Result = "5512000" End If
Converted into Jython Mapping Script:
if fdmRow.getString["Account"] = "87071":
fdmResult = "4020000"
else:
fdmResult = "5512000"
but I am getting error message
Executing the script based mapping: '50100001s' (IN)
"2016-07-11 09:12:52,314 ERROR [AIF]: The script based mapping '50100001s' (IN) has failed to compile:
mismatched input 'else' expecting DEDENT (<string>, line 3)"
Please help me on this. and In Vb scripts Varchar(17) what is it in Jython.
Thanks,
Nani.