UnitOfMeasureConversionCache::flushOnConversionChanged Method
Flushes the unit of measure conversion cache when a conversion is inserted, updated or deleted.
Syntax
server public static void flushOnConversionChanged(
UnitOfMeasureFromRecId _fromUnitOfMeasure,
UnitOfMeasureToRecId _toUnitOfMeasure,
EcoResProductRecId _product)
Run On
Server
Parameters
- _fromUnitOfMeasure
Type: UnitOfMeasureFromRecId Extended Data Type
- _toUnitOfMeasure
Type: UnitOfMeasureToRecId Extended Data Type
- _product
Type: EcoResProductRecId Extended Data Type
Remarks
Deletes all cached conversions that have the _fromUnitOfMeasure or _toUnitOfMeasure units of measure as from or to unit of measure conversion parameter.