LedgerJournalTrans.checkVoucherNotUsedDataSource Method
Determines if the voucher is being used by a different ledgerJournalTrans row on a form's datasource that is not in the database.
Syntax
public boolean checkVoucherNotUsedDataSource([Voucher _voucher])
Run On
ClientOrServer
Parameters
- _voucher
Type: Voucher Extended Data Type
The voucher number in use; optional.
Return Value
Type: boolean
false if the voucher is in use; otherwise, true.