Article Details
Id:20094
Product:finPOWER Connect
Type:NEW
Version:4.00.02
Opened:23/03/2023
Closed:23/03/2023
Released:27/06/2023
Job: J030749

finAccountTransactionFunctions; added UpdateDateCleared

A new function UpdateDateCleared has been added to finAccountTransactionFunctions.

This allows you to update the Date Cleared on a non-Bank Account Transaction.

Note, it will fail for Bank Transactions, instead you should use finBankTransactionFunctions.UpdateDateCleared.

The following code demonstrates this new function.

Success = finBL.AccountTransactionFunctions.UpdateDateCleared(123456, finBL.TimeZoneFunctions.GetCurrentDatabaseDate.AddDays(2))