Skip to main content

system.mes.unitOfMeasure.getUnitOfMeasureConversionReferences

Description

Retrieves a list of references to a Unit Of Measure Conversions record by its ID.

Syntax

system.mes.unitOfMeasure.getUnitOfMeasureConversionReferences(id)

Parameters

ParameterTypeDescription
idString (ULID)The ID of the unit of measure conversion to retrieve.

Returns

Returns a list of JSON objects. Each JSON object has the following properties:

NameTypeDescription
tableNameStringThe name of the table that the reference is in.
referencesList<JSON Object>List of JSON objects corresponding to references to the unit of measure conversion.

The JSON Objects in references has the following properties:

NameTypeDescription
fkColNameStringThe name of the foreign key column.
idString (ULID)The ULID of the object that is referencing the unit of measure conversion.

Code Examples

# Retrieve the references for the unit of measure conversion specified
uomc_references = system.mes.unitOfMeasure.getUnitOfMeasureConversionReferences('01JCH4NZH2-C7494ZJT-P52KRZEY')

# Output the unit of measure conversion references
print(uomc_references)