infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
xlateStrReplace 0 1 error
Stewart
Getting the following error when using STRING XLT xlateStrReplace. Any suggestions?
MESSAGE 1
Tcl callout error
xlateStrReplace 0 1:
errorCode: NONE
errorInfo:
bad type "st": must be c, d, v, or x
while executing
"xpmstore $xlateId $outAdd $outType [string replace $inValue $_first $_last $_newStr]"
(procedure "xlateStrReplace" line 24)
invoked from within
"xlateStrReplace 0 1"
<End of errorInfo>
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Did you provide a new string? It looks like all you provided was the _first and _last.
Stewart
Same when this is included.
MESSAGE 1
Tcl callout error
xlateStrReplace 0 1 A:
errorCode: NONE
errorInfo:
bad type "st": must be c, d, v, or x
while executing
"xpmstore $xlateId $outAdd $outType [string replace $inValue $_first $_last $_newStr]"
(procedure "xlateStrReplace" line 24)
invoked from within
"xlateStrReplace 0 1 A"
<End of errorInfo>
Stewart
I saw where this had been posted a couple of times when I searched and it wasn’t answered in any of the threads. I tested in 6.1, 6.2 and 19.1.2 and only saw this error in 6.1. In order to get around this I used a copy and a Tcl pre proc
set xlateOutVals [string replace $xlateInVals 0 1]
Ben Ware
What was your source value?
Stewart
It was an account number in the format of XX00000000
0(0).PID(0).#18(0).[0]