Ledger::primaryForLegalEntity Method
Gets the PrimaryForLegalEntity value of the specified Ledger record.
Syntax
client server public static RefRecId primaryForLegalEntity([LedgerRecId _ledgerRecId])
Run On
Called
Parameters
- _ledgerRecId
Type: LedgerRecId Extended Data Type
The Ledger record ID; optional.
Return Value
Type: RefRecId Extended Data Type
The legal entity reference of the Ledger record.