LedgerAllocation::existsForMainAccountAndLegalEntity Method
Determines whether the specified record in the LedgerAllocation table exists.
Syntax
server public static boolean existsForMainAccountAndLegalEntity(RefRecId _mainAccount, RefRecId _legalEntity)
Run On
Server
Parameters
- _mainAccount
Type: RefRecId Extended Data Type
The record ID of the related MainAccount record.
- _legalEntity
Type: RefRecId Extended Data Type
The record ID of the related CompanyInfo record.
Return Value
Type: boolean
true if the specified record exists; otherwise, false.