EcoResProduct::findByProductNumber Method
Finds the specified record in the EcoResProduct table.
Syntax
client server public static EcoResProduct findByProductNumber(EcoResProductNumber _productNumber, [boolean _forUpdate])
Run On
Called
Parameters
- _productNumber
Type: EcoResProductNumber Extended Data Type
The number of the product to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: EcoResProduct Table
A record in the EcoResProduct table; otherwise, an empty record.
Remarks
This method uses the EcoResProductIdentifier table to find a product with a given product number.