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

  • _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.

See Also

Reference

EcoResProduct Table