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

Called

Parameters

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