Skip to main content

UOMConversion

A conversion between two units of the same category. Creating one also creates the reverse conversion.

type UOMConversion {
conversionFactor: Float!
createdAt: DateTime!
deletedAt: DateTime
deletedBy: String
enteredBy: String!
formula: String
fromUOM: UnitOfMeasure!
fromUOMId: ID!
id: ID!
inverseFactorId: String
isActive: Boolean!
organizationId: String!
toUOM: UnitOfMeasure!
toUOMId: ID!
updatedAt: DateTime!
updatedBy: String!
}

Fields​

UOMConversion.conversionFactor ● Float! non-null scalar​

Multiply a quantity in the from unit by this to get the quantity in the to unit.

UOMConversion.createdAt ● DateTime! non-null scalar​

When the record was created.

UOMConversion.deletedAt ● DateTime scalar​

When the record was deleted. Empty while the record is live.

UOMConversion.deletedBy ● String scalar​

The ID of the user who deleted the record.

UOMConversion.enteredBy ● String! non-null scalar​

The ID of the user who created the record.

UOMConversion.formula ● String scalar​

Optional formula text recorded for the conversion.

UOMConversion.fromUOM ● UnitOfMeasure! non-null object​

The unit converted from.

UOMConversion.fromUOMId ● ID! non-null scalar​

The ID of the unit converted from.

UOMConversion.id ● ID! non-null scalar​

The unique ID of this record.

UOMConversion.inverseFactorId ● String scalar​

The ID of the reverse conversion that was created with this one.

UOMConversion.isActive ● Boolean! non-null scalar​

Whether the record is active.

UOMConversion.organizationId ● String! non-null scalar​

The ID of the organization the record belongs to.

UOMConversion.toUOM ● UnitOfMeasure! non-null object​

The unit converted to.

UOMConversion.toUOMId ● ID! non-null scalar​

The ID of the unit converted to.

UOMConversion.updatedAt ● DateTime! non-null scalar​

When the record was last changed.

UOMConversion.updatedBy ● String! non-null scalar​

The ID of the user who last changed the record.

Returned By​

createUOMConversion mutation ● getUOMConversion query ● getUOMConversions query

Member Of​

UnitOfMeasure object