Article Details
Id:15117
Product:finPOWER Connect
Type:FIX
Version:3.01.00
Opened:14/12/2017
Closed:18/12/2017
Released:23/02/2018
Job: J020015

Updated error message when record cannot be loaded by Pk

When loading a record, and that record cannot be loaded the error includes "Failed to load [Name] '[Id]'.", e.g. "Failed to load Account 'L10000'.".

However, when loading by the record's Primary Key the message is "Failed to load Account 1234.". It is not clear that it was being loaded by the Primary Key. Therefore the message has been updated to "Failed to load Account using Primary Key 1234.".

Note, one reason an Account record cannot be loaded is the User's Group filters out the Account. However, Account loaded by an invalid External Id doesn't return the correct error message. The message notes "Failed to load Account using External Id 'ExternalId'. Record not found.". It should state "Failed to load Account using External Id '[ExternalId]'. You do not have permission to load this record.".