GeneralJournalEntry::findBySubledgerVoucher Method
Finds the specified GeneralJournalEntry record.
Syntax
client server public static GeneralJournalEntry findBySubledgerVoucher(
Voucher _subledgerVoucher,
DataAreaId _subledgerVoucherDataAreaId,
[boolean _forUpdate])
Run On
Called
Parameters
- _subledgerVoucher
Type: Voucher Extended Data Type
The sub ledger voucher.
- _subledgerVoucherDataAreaId
Type: DataAreaId Extended Data Type
The data area ID of the sub ledger voucher.
- _forUpdate
Type: boolean
A Boolean value that indicates whether the record should be read for update; optional.
Return Value
Type: GeneralJournalEntry Table
A GeneralJournalEntry record; otherwise, an empty record.
Remarks
The record has to be in the current ledger.