RetailSalesTable::find Method [AX 2012]

Finds the RetailSalesTable record by sales Id.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static RetailSalesTable find(
            SalesId _salesId, 
           [boolean _forUpdate, 
            ConcurrencyModel _concurrencyModel])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RetailSalesTable find(
            SalesId salesid, 
           [boolean _forUpdate, 
            ConcurrencyModel _concurrencyModel])

Run On

Called

Parameters

_salesId
Type: SalesId Extended Data Type
Identification of the order.
_forUpdate
Type: boolean
True if the record is selected for update; otherwise, false.
_concurrencyModel
Type: ConcurrencyModel Enumeration
The default concurrency model to use when reading records.

Return Value

Type: RetailSalesTable Table
The record that is found.

It is faster to use RetailSalesTable::findSalesTable if a caller already has SalesTablebuffer selected to avoid potential RPC for reselecting SalesTable buffer.

Show: