LedgerMatrixLine_CN::findbyMainAccount Method
Finds the specified record in the LedgerMatrixLine_CN table.
Syntax
client server public static LedgerMatrixLine_CN findbyMainAccount(
RefRecId _ledgerMatrixTable,
RefRecId _mainAccountRecId,
[boolean _forupdate])
Run On
Called
Parameters
- _ledgerMatrixTable
Type: RefRecId Extended Data Type
The record ID of the LedgerMatrixTable_CN record to find.
- _mainAccountRecId
Type: RefRecId Extended Data Type
The record ID of the MainAccount record to find.
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: LedgerMatrixLine_CN Table
The specified record in the LedgerMatrixLine_CN table; otherwise, an empty record.