Cancel a Disbursement.

Status must be either 'Hold' or 'Pending'.

Syntax

finAccountFunctions.DisbursementCancel(accountPk, disbursementPk, [warning])

Parameters

NameTypeOptionalByRefDescription
accountPk Integer The Primary Key of the Account the Disbursement is linked to.
disbursementPk Integer The Primary Key of the Disbursement to update.
warning String Optional ByRef Even if the function returns True, a warning message may still be generated, e.g. via the "ExecuteCommitPost" script event.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finAccountFunctions
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0