Share via


MCRGiftCardSerialTemplate::findActive Method

Returns the appropriate template given the passed in date parameter.

Syntax

client server public static MCRGiftCardSerialTemplate findActive(StartDate _date, [boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    If true the MCRGiftCardSerialTemplate record is returned for update; otherwise, the MCRGiftCardSerialTemplate record is not returned for update.

Return Value

Type: MCRGiftCardSerialTemplate Table
The MCRGiftCardSerialTemplate record that was found based on passed in parameters.

Remarks

If no record is found that matched the given date, this method will return the latest template according to the FromDate field.

See Also

Reference

MCRGiftCardSerialTemplate Table