Article Details
Id:19222
Product:finPOWER Connect
Type:FIX
Version:3.04.04
Opened:11/05/2022
Closed:11/05/2022
Released:09/06/2022
Job: J028720

Update Requests; finClient.GetPendingUpdateRequests() Causing error in some scenarios

finClient.GetPendingUpdateRequests(contactMethodId As String, ByRef updateRequestDetails As List(Of finUpdateRequestDetail)) As Boolean requires a Contact Method Id to be supplied as it was implemented prior to other Client-based Update Requests being available (there is now Tax Number update and Withholding Tax Details Change available as Update Requests).

As a result, if there were other types of Update Requests pending which weren't Contact Method based, the function would cause an error which stated that the length must be greater than or equal to 1.

This has been fixed, and now this Function will limit its checks to Contact Method or Contact Address Update Requests.

Because of this, the Function has now been overloaded with another version which does not accept a Contact Method Id Parameter. This allows all Update Requests, not just Contact Method Types, to be returned in a collection.