While there are many posts I have seen that talk about expressions supported by 'EAI Data Transformation Engine', I have never seen an attempt to compile a list of supported functions and examples of there uses. So this will be a humble beginning that will hopefully grow over time. Note that these functions are mostly VB so if trying out one that is not listed, start with what is supported in VB. They can also be found in Siebel Bookshelf as Siebel Query Language expressions
Transforming Dates (from 'YYYYMMDD' to 'MM/DD/YYYY'):
Right(Left([Source Field Name],7),2) +"/"+Right([Source Field Name], 2)+"/"+Left([Source Field Name], 4)
Conditional Logic:
IIF([Source Field Name] = "false", "N", "Y")
EAI Lookup for an Inbound Interface:
Extract the file name from a File Path:
Mid([Source Field Name], InStr([Source Field Name], "/", -1) + 1)
Transforming Dates (from 'YYYYMMDD' to 'MM/DD/YYYY'):
Right(Left([Source Field Name],7),2) +"/"+Right([Source Field Name], 2)+"/"+Left([Source Field Name], 4)
Conditional Logic:
IIF([Source Field Name] = "false", "N", "Y")
EAI Lookup for an Inbound Interface:
- EAILookupSiebel("XXX",[Source Field Name])
- XXX is the Type in the EAI Lookup table. This needs also needs to be setup as a value under the EAI_LOOKUP_MAP_TYPE LOV type.
- IIF([Source Field Name] IS NULL, "", EAILookupSiebel("XXX",[Source Field Name]))
- EAILookupSiebel fails if no value is found so minimize this possibility unless an exception is desired
Extract the file name from a File Path:
Mid([Source Field Name], InStr([Source Field Name], "/", -1) + 1)