SalesLine::findSourceDocumentLine Method [AX 2012]

Finds the specified record in the SalesLine table.

client server public static SalesLine findSourceDocumentLine(SourceDocumentLineRefRecId _sourceDocumentLineRefRecId, [boolean _forUpdate])

Run On

Called

Parameters

_sourceDocumentLineRefRecId
Type: SourceDocumentLineRefRecId Extended Data Type
The record ID of the SourceDocumentLine table that is used to find the record.
_forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.

Return Value

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