NEW3.02.03 · Released 22 November 2019
NEWfinPOWER Connect
Released in
3.02.03
22 November 2019
- Opened16 Sep
- Closed25 Sep
- Released22 Nov
Article 16381
Job J022942
Business Layer; GetPendingUpdateRequests function has been added to finClient
The following new Function has been added to the finClient Class:
- GetPendingUpdateRequests
This can be used to retrieve any Pending Update Requests which are saved within the Client's Logs.
Additionally a new Class finUpdateRequestDetail has been added, and a list of objects of this type are returned by the above Function to access Pending Update Requests. Requests can be Approved or Declined directly from this new Class.
Sample Code:
Public Function Main(parameters As ISKeyValueList) As BooleanDim Client As finClientDim UpdateRequestDetail As finUpdateRequestDetailDim UpdateRequestDetails As List(Of finUpdateRequestDetail)' Assume SuccessMain = True' InitialiseClient = finBL.CreateClient()' Load Client and retrieve informationIf Client.Load("C10005") ThenIf Client.GetPendingUpdateRequests("EMAIL", UpdateRequestDetails) ThenFor Each UpdateRequestDetail In UpdateRequestDetails' Code goes hereNextElseMain = FalseEnd IfElseMain = FalseEnd IfEnd Function