Article Details
Id:17019
Product:finPOWER Connect
Type:NEW
Version:3.03.02
Opened:15/05/2020
Closed:02/06/2020
Released:02/07/2020
Job: J024241

Update Requests; Helper functions added to create Account / Client Update Request Logs

The following helper functions have been added to create Account and Client Update Request Logs:

  • finBL.UpdateRequestUtilities.CreateUpdateRequestAccountLog()
  • finBL.UpdateRequestUtilities.CreateUpdateRequestClientLog()

Both functions accept either an Account / Client Id or Pk, the collection of Update Requests (finUpdateRequests) and a number of other details about the Log.

This will mean that the creation of Update Request Logs will be a one-liner in Script code.

Note: If the finUpdateRequests object has items which are not applicable for the creation function (e.g. passing Client-based Update Requests to CreateUpdateRequestAccountLog()) then these items will be omitted from the created Log. The function will not error in this case, unless there are zero Update Requests to process once the invalid items have been removed.