Previous Topic

Book Contents

Book Index

Next Topic

unit conversion
  • Functionality

    This function will return a converted value of the value entered as first parameter, the conversion being based on Unit Conversion between Unit From (second parameter) and Unit To (third parameter) defined in the Unit Type object type.

  • Arguments

    unitConversion(Value, String aUnit From, String aUnit To)

  • Return

    A double value.

  • Condition

    Tables AMA_UNITTYPE, AMA_UNIT, AMA_UNITCONV must be available.

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()

getValuesetTranslation

if, case and coalesce

trimLeft

isValid

max

min

month

round

size

substring

sum

trim

trimRight

replaceFromEnd

translate

valueset

year