Article Details
Id: | 19452 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 4.00.00 |
Opened: | 10/08/2022 |
Closed: | 16/08/2022 |
Released: | 21/12/2022 |
Job: | J029339 |
New Account and Client; algorithm to generate Next Code updated
The algorithm to generate the Next Code for Accounts and Clients has been updated.
There was the potential for this to error with the message "Failed to save Account. Cannot create next Auto-sequenced Account code."
This could occur under these circumstances:
- The "in memory" Account Type in one finPOWER Connect session (session A) has a Next Code defined
- Another finPOWER Connect session (session B) edits the Account Type and sets the Next Code to <blank>
- The session A User then saves a New Account
- The "in memory" Account Type thinks the Account Type has a Next Code
- But, the Next Code is blank on the database
- The Next Code from the Account Type, read from the database, is <blank> - this causes the error
Now finPOWER Connect will fall back to the next level of auto-sequenced code and correctly generate a Code which means the Save should succeed.