RetailStockCountLine::findByRecId Method [AX 2012]

Finds the record in the RetailStockCountLine table with the specified record ID value.

client server public static RetailStockCountLine findByRecId(
    RetailReferenceNo _referenceNo, 
    RecId _recId, 
   [boolean _forUpdate])

Run On



Type: RetailReferenceNo Extended Data Type
The reference number of stock count line.
Type: RecId Extended Data Type
The record ID of the selected record.
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.

Return Value

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