currencyInverseFormat
def currencyInverseFormat = {currencyString, index = false, nullDefVal = null->
xxx
}
Inversely transforms currencyString to currency values.
Parameter
Description
Values
currencyString
Currency string.
Amount in integers with or without decimals.
index
Index of elements in currency strings.
0: currency ISO code.
1: currency amount value.
nullDefVal
Null value.
Default value: null
Example
"CurrencyIsoCode": "currencyInverseFormat(payload.fields.core_cost, 0)",
"SVMXC__Product_Cost__c": "currencyInverseFormat(payload.fields.core_cost, 1)"
Sample Transform
Original Fields
Transformed Fields
Name
Value
Name
Value
core_cost
USD 123.45
CurrencyIsoCode
USD
SVMXC__Product_Cost__c
123.45
For more information:
Was this helpful?