I would like to configure certain fields as mandatory on the Customer, Vendor, and Item cards in Business Central.
I came across the "Configuration Template" feature—could this be used to enforce mandatory fields? I’ve been testing it, but I keep encountering errors. My goal is to ensure that specific fields must be filled in before the card can be closed or saved. In other words, I want to prevent records from being created if any of the required fields are left blank.
To work around this, I tried setting a default value like <>''
to avoid blank entries. However, when I create a new customer and close the page, the system still creates the customer with <>'' as the name. I also tried using a default like "CANNOT BE BLANK", but it still allows the creation of a customer with a blank name.
Additionally, I tested a few third-party apps, but they all allow saving the customer even when mandatory fields are empty. I do receive an error message, but if I close the card or Business Central, the customer is still created with blank fields.
Is there a recommended way to enforce mandatory fields at the card level, or perhaps a better approach than what I’ve tried?