OverdueJournalSettings_W::canTransactionBePosted Method
Method validates if transaction can be posted or settled.
Syntax
client server public static boolean canTransactionBePosted(
CustVendTrans _custVendTrans,
TransDate _transDate,
DueDate _dueDate,
[TransDate _settlementDate])
Run On
Called
Parameters
- _custVendTrans
Type: CustVendTrans Map
CustVendTrans record.
- _transDate
Type: TransDate Extended Data Type
Transaction date.
- _dueDate
Type: DueDate Extended Data Type
Due date.
- _settlementDate
Type: TransDate Extended Data Type
Date of settlement; Optional.
Return Value
Type: boolean
true if transaction can be posted. Otherwise false.
Remarks
Transaction can be posted only if it must not present at last overdue debt journal(it doesn't become overdue straight after posting).
Settlement can be made only if it doesn't change balance of transactions, which are present at the last journal.