GeneralJournalEntry::findByReferenceNumber Method
Finds the specified record in the GeneralJournalEntry table.
Syntax
client server public static GeneralJournalEntry findByReferenceNumber(
Voucher _subledgerVoucher,
[boolean _forupdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _subledgerVoucher
Type: Voucher Extended Data Type
The subledger voucher that is associated with the GeneralJournalEntry record.
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when it reads the record; optional.
Return Value
Type: GeneralJournalEntry Table
A record in the GeneralJournalEntry table; otherwise, an empty record.