def currencyInverseFormat = {currencyString, index = false, nullDefVal = null->
xxx
}
|
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
|
"CurrencyIsoCode": "currencyInverseFormat(payload.fields.core_cost, 0)",
"SVMXC__Product_Cost__c": "currencyInverseFormat(payload.fields.core_cost, 1)"
|
Original Fields
|
Transformed Fields
|
||
|---|---|---|---|
|
Name
|
Value
|
Name
|
Value
|
|
core_cost
|
USD 123.45
|
CurrencyIsoCode
|
USD
|
|
SVMXC__Product_Cost__c
|
123.45
|
||