RetailStockCountLine::findByItemId Method [AX 2012]

Finds the record in the RetailStockCountLine table that has the specified item ID value.

client server public static RetailStockCountLine findByItemId(
    RetailReferenceNo _referenceNo, 
    ItemId _itemId, 
   [boolean _forUpdate])

Run On



Type: RetailReferenceNo Extended Data Type
The reference number of stock count line.
Type: ItemId Extended Data Type
The item number of selected item in stock count line.
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.