Hey
I am using calculated fields to convert inches to cm and vice versa on a lot of different measurements. I am just wondering if I am able to put a variable name when called the methodName so I wouldn't need to create a bunch of methods for each separate one.
Example
"UsrLengthCM": {
dataValueType: Terrasoft.DataValueType.FLOAT,
dependencies: [
{
columns: ["UsrLengthInches"],
methodName: "calculateInchesToCM"
}
]
},
do something like this is what I want
"UsrLengthCM": {
dataValueType: Terrasoft.DataValueType.FLOAT,
dependencies: [
{
columns: ["UsrLengthInches"],
methodName: calculateInchesToCM("UsrLengthCM")
}
]
},
to make it easier when using this.set