Previous Topic

Book Contents

Book Index

Next Topic

getValuesetTranslation
  • Functionality

    Tests whether the attribute’s value range is determined by a value set (fixed / object valueset). If so, the translated label is returned according to language settings of the user.

    Relation valuesets are handled by the function 'getAuditedValueRelation' due to the underlying defined relation.

  • Arguments

    getValuesetTranslation(botypeName,attrName,value)

    botypeName: The name of the source object type (String).

    attrName: The name of the (maybe structured) attribute of the source object type (String).

    value: The string representation of the attribute value (String).

  • Return

    String: The translated label of fixed/object valuessets (String)

  • Examples

    Fixed Valueset:

    getValuesetTranslation('Person','title','Mrs' returns 'Fr.' (user uses German language)

    Object Valueset:

    getValuesetTranslation('Planposition','salestaxtype','US_CA_6.25') returns

    'US California Reduced 6.25%' (user uses English language)

See Also

Available Functions

cast

countService

countService2

currencyConversion

cmp

dayOfMonth

ge (greater or equals than), ge_

gt (greater than), gt_

le (less or equals than), le_

lt (less than), lt_

eq (equals), eq_ and cmp

ne_

evalCondition

evalExpression

pyeval

not

isNull

Null

getAttributeTranslation

getAuditedBOTranslation

getAuditedValueRelation

getBOTypeTranslation

getCurrentDate

getCurrentTime

getCurrentTimeStamp

getCurrentUserld

getMaximalTimeStamp

getMaximalDate

getParameter

getPicture()

if, case and coalesce

trimLeft

isValid

max

min

month

round

size

substring

sum

trim

trimRight

replaceFromEnd

unit conversion

translate

valueset

year