Share via


InventTable::getDistinctProductRecId Method

Retrieves the record ID of a EcoResDistinctProduct or EcoResDistinctProductVariantrecord.

Syntax

client server public static EcoResDistinctProductRecId getDistinctProductRecId(ItemId _itemId, InventDim _inventDim)

Run On

ClientOrServer

Parameters

  • _inventDim
    Type: InventDim Table
    An InventDim record to use to find a EcoResDistinctProductVariant record.

Return Value

Type: EcoResDistinctProductRecId Extended Data Type
The record ID of a EcoResDistinctProduct or EcoResDistinctProductVariant record if found; otherwise, 0.

Remarks

This method searches for products in the context of the current company.

See Also

Reference

InventTable Table