RetailDiscountOffer::find Method
Finds a specified record in the RetailDiscountOffer table.
Syntax
client server public static RetailDiscountOffer find(RetailDiscountOfferId _offerId, [boolean _forUpdate])
Run On
Called
Parameters
- _offerId
Type: RetailDiscountOfferId Extended Data Type
The offer number of the discount.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: RetailDiscountOffer Table
A record in the RetailDiscountOffer table; otherwise, an empty record.