I am getting an error when trying to run a translation script for customers in Integration Manager. I need the script for a cash receipts map. I cannot use SmartConnect for this because of the way they need to apply the documents.
Here is the script I am using. I keep getting an error (Error Compiling Script 'For Field Customer ID' Line 2: - Expected 'End') and am not sure what I am missing. Any suggestions?
If (sCUST = "701") then CurrentField = "701A"
Else (if (sCUST = "704") then CurrentField = "704A"
Else (if (sCUST = "707") then CurrentField = "707A"
Else (if (sCUST = "708") then CurrentField = "DoNotUse"
Else (if (sCUST = "713") then CurrentField = "713A"
Else (if (sCUST = "714") then CurrentField = "714A"
Else CurrentField = ("Vantage Cash Receipts Header.Customer ID")))))
End if
*This post is locked for comments
I have the same question (0)