CreateUOMConversionInput
A conversion to create between two units of the same category.
input CreateUOMConversionInput {
conversionFactor: Float!
formula: String
fromUOMId: String!
toUOMId: String!
}
Fields
CreateUOMConversionInput.conversionFactor ● Float! non-null scalar
Multiply a quantity in the from unit by this to get the quantity in the to unit. The reverse conversion uses 1 divided by it.
CreateUOMConversionInput.formula ● String scalar
Optional formula text to record for the conversion.
CreateUOMConversionInput.fromUOMId ● String! non-null scalar
The ID of the unit to convert from.
CreateUOMConversionInput.toUOMId ● String! non-null scalar
The ID of the unit to convert to. It must be in the same category as the from unit.
Member Of
createUOMConversion mutation