Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks the vendor account against the vendor hold and also if the account exists.
Syntax
client server public static boolean checkExistAndOpen(
VendAccount _vendAccount,
AmountMST _amountMST,
LedgerTransType _ledgerTransType,
[InvoiceReleaseDate _transDate,
LedgerJournalType _ledgerJournalType])
Run On
Called
Parameters
- _vendAccount
Type: VendAccount Extended Data Type
The vendor account number.
- _amountMST
Type: AmountMST Extended Data Type
The transaction amount.
- _ledgerTransType
Type: LedgerTransType Enumeration
The ledger transaction type.
- _transDate
Type: InvoiceReleaseDate Extended Data Type
The invoice transaction date; optional.
- _ledgerJournalType
Type: LedgerJournalType Enumeration
The parameter holds the ledger journal type; optional.
Return Value
Type: boolean
true if the vendor is not on hold for an Invoice value, a Payment value, or an All; otherwise, false.
Remarks
The vendTable::checkStoppedReleaseDate method returns true if the vendor stopped release date and invoice release date has been expired and not blank when compared with invoice transaction date; otherwise, false.