BankLCImportMargin::existVoucher Method
Checks whether a margin with the specified voucher exists.
Syntax
client server public static boolean existVoucher(
BankLCRefRecId _bankLCImportRefRecId,
LedgerJournalId _ledgerJournalId,
Voucher _voucher,
TransDate _transDate)
Run On
Called
Parameters
- _bankLCImportRefRecId
Type: BankLCRefRecId Extended Data Type
The record ID of bank letter of credit import line.
- _ledgerJournalId
Type: LedgerJournalId Extended Data Type
The name of the ledger journal.
- _voucher
Type: Voucher Extended Data Type
The number of the posted voucher.
- _transDate
Type: TransDate Extended Data Type
The transaction date of the posted voucher.
Return Value
Type: boolean
true if a margin with the specified voucher exists; otherwise, false.