Business Processes and Rules: Siebel eBusiness Application Integration Volume IV > Data Mapping Using Scripts > EAI Value Maps >

CSSEAIValueMap Translate Method


The CSSEAIValueMap object has one method: Translate. The Translate method takes one argument, as follows:

Translate (key)

The Translate method looks up the key value in the EAI Value Map and returns the translated value. The EAIGetValueMap call establishes the set of mappings for the translation using the type and direction arguments. The call looks for the key in either the Siebel Value column or in the External System Value column, depending on the value of the type argument.

If there is no mapping, an empty string is returned.

If a nonempty string does not have a mapping, the unmappedKeyHandler value specified in the call to the EAIGetValueMap function is used to determine the translation.


 Business Processes and Rules: Siebel eBusiness Application Integration Volume IV 
 Published: 18 April 2003