Share via


Ledger::current Method

Retrieves the ID of the primary ledger that is used by the current company.

Syntax

client server public static LedgerRecId current()

Run On

Called

Return Value

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

See Also

Reference

Ledger Table