Share via


Ledger::findLedgerRecIdByLegalEntity Method

Gets the ID of the primary ledger that is associated with the legal entity.

Syntax

client server public static LedgerRecId findLedgerRecIdByLegalEntity(LegalEntityRecId _legalEntityRecId)

Run On

Called

Parameters

Return Value

Type: LedgerRecId Extended Data Type
The ID of the ledger; otherwise, 0.

See Also

Reference

Ledger Table