Article Details
Id:21723
Product:finPOWER Connect
Type:NEW
Version:4.01.02
Opened:29/07/2024
Closed:29/08/2024
Released:12/09/2024
Job: J033979

Account Suspension; Additional Permission Keys added

The following Permission Keys have been added:

  • Account.SuspensionUpdate.CreditReporting
  • Account.SuspensionUpdate.Documents
  • Account.SuspensionUpdate.Interest
  • Account.SuspensionUpdate.Other
  • Account.SuspensionUpdate.OverdueRules
  • Account.SuspensionUpdate.StandardTransactions
  • Account.SuspensionUpdate.Withdrawals

The existing Permission Key, Account.SuspensionUpdate, has become the folder in which these new Permission Keys can be found, and still performs its existing function of controlling whether a User can Suspend at all; i.e. a User must have this Permission Key granted before any of the new ones have any effect.

For Users which are denied one of these new Permission Keys, they will still potentially have access to the Suspension wizard, but the item they do not have Permission for will be disabled.

The following Suspension items are only available for update if the Account.SuspensionUpdate.Interest Permission Key is allowed:

  • Default Interest
  • Default Fees
  • Facility Fee (if configured)

From a Business Layer perspective, the following helper functions have been added to finAccountFunctions which will help Scripts determine if a user can update any Suspensions.

Public Function UserCanUpdateAccountSuspensions(Optional account As finAccount = Nothing) As Boolean
Public Function UserCanUpdateAccountSuspensions(accountId As String, ByRef canUpdateSuspensions As Boolean) As Boolean

finAccount also has a similar new helper function:

Public Function CanUpdateSuspensions(Optional ByRef message As String = "") As Boolean

The existing ExecuteClear() function in finAccountSuspensionUpdate has been updated and now returns an optional warning which will include details about any suspensions which could not be cleared due to Permissions. The new function definition is:

Public Function ExecuteClear(Optional ByRef warning As String = "") As Boolean

Running this function will update anything it can, and report on anything it cannot. As it always attempts to update suspensions, it reports back warnings rather than failing the function completely.

Using the Clear button in the Account Suspension summary block now references this new warning, and will display it to the User if a warning is present after clearing suspensions.

The following Summary Block has been updated:

  • Account_Suspension
    • Version: 1.06 (29/07/2024)