7

Wouldn't it be wonderful to have a TESTFIELD message readable for human beings?

I as a developer love those messages because they tell me what and where the problem is, but for users is kind of unreadable.


I suggest an overload for TESTFIELD method, something like:


Customer.TESTFIELD(Address,'The customer %1 needs to have populated field %2')


In bold, the new overload... we developers can throw the error message understandable for the user, and Microsoft should do a very serious revision on all error messages they through... Some of them are cryptographic.

Category: Development
STATUS DETAILS
Completed
Ideas Administrator

Thank you for your feedback. It seems that requested feature has meanwhile been made available through ErrorInfo on the TestField method. <For more information, see: Record.TestField(Any, Code, ErrorInfo) Method - Business Central | Microsoft Learn. 

 

Sincerely, 

Jens Møller-Pedersen

Microsoft