def quantityFormat = { amount, unitName, quantityFldId, nullDefVal = null ->
xxx
}
|
Parameter
|
Description
|
Default Values
|
|---|---|---|
|
amount
|
The quantity value.
|
null
|
|
unitName
|
The unit (for example, seconds, meters, kilos, inches that the quantity value is used to specify.
|
null
|
|
quantityFldId
|
UUID of the quantity selected for the field..
|
UUID of the quantity selected for the field.
|
|
nullDefValue
|
Default value of null.
|
null
|
"dev_quantity_field": "periodFormat(fields.Amount__c, fields.Unit__c, 'dd2076b8-c7bf-11e0-b64f-001ec950a80f')",
|
|
In the example, dd2076b8-c7bf-11e0-b64f-001ec950a80f is the UUID of the quantity that is selected for dev_quantity_field, and dd574d5a-c7bf-11e0-b724-001ec950a80f is the UUID of the seconds unit.
|