RetailListing::findActiveByItemIdAndDateRange Method [AX 2012]

Finds the specified record in the RetailListing table.

client server public static RetailListing findActiveByItemIdAndDateRange(
    CatalogRefRecId _catalogId, 
    RefRecId _channelId, 
    ItemId _itemId, 
    date _startDate, 
    date _endDate, 
   [boolean _forUpdate])

Run On

Called

Parameters

_catalogId
Type: CatalogRefRecId Extended Data Type
The catalogId of the record to find
_channelId
Type: RefRecId Extended Data Type
The channelId of the record to find
_itemId
Type: ItemId Extended Data Type
The ItemId of the record to find
_startDate
Type: date
The start date of the record to find
_endDate
Type: date
The end date of the record to find
_forUpdate
Type: boolean
Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: RetailListing Table
A record in the RetailListing table; otherwise, an empty record.
Show: