Article Details
| Id: | 16381 |
| Product: | finPOWER Connect |
| Type: | NEW |
| Version: | 3.02.03 |
| Opened: | 16/09/2019 |
| Closed: | 25/09/2019 |
| Released: | 22/11/2019 |
| 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