Article Details
| Id: | 20028 |
| Product: | finPOWER Connect |
| Type: | FIX |
| Version: | 4.00.02 |
| Opened: | 16/03/2023 |
| Closed: | 16/03/2023 |
| Released: | 27/06/2023 |
| Job: | J030687 |
finAccountClients.AddUnknownClient fails with "Key not specified" error
The Business Layer function finAccountClients.AddUnknownClient may fail with a "Key not specified" error.
The following code demonstrates this:
Dim Account As finAccountAccount = finBL.CreateAccount()Account.Clients.AddUnknownClient()
Whilst this error will no longer occur, you should always load the Account Type before calling this function.
Dim Account As finAccountAccount = finBL.CreateAccount()Account.Calculation.LoadAccountType("CC")Account.Clients.AddUnknownClient()