RetailDiscountOffer::find Method [AX 2012]

Finds a specified record in the RetailDiscountOffer table.

client server public static RetailDiscountOffer find(RetailDiscountOfferId _offerId, [boolean _forUpdate])

Run On



Type: RetailDiscountOfferId Extended Data Type
The offer number of the discount.
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.