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