Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the ItemId for the specified distinct product released in the given data area.
Syntax
client server public static ItemId findItemIdForDistinctProduct(DataAreaId _dataAreaId, EcoResDistinctProduct _distinctProduct)
Run On
Called
Parameters
- _dataAreaId
Type: DataAreaId Extended Data Type
The data area to find the item ID.
- _distinctProduct
Type: EcoResDistinctProduct Table
The distinct product for which to find the item ID.
Return Value
Type: ItemId Extended Data Type
The item ID that is found.
Remarks
This method hides the complex logic of handling a EcoResDistinctProduct record may be either a EcoResDistinctProductVariant record or just a EcoResDistinctProduct record.
Note: the specified distinct product must have been released.