To make a field mandatory/Required

Dear community!

I would like to set “Validity date” field in “sales order details” as mandatory in order to get message if the field is left empty. How I can do it through properties or set up, without a code.

Thanks!

If the field is mandatory forever in all the conditions then you need to be setting the Mandatory property of the field to Yes (at table level). If the field is not always mandatory and condition specific then you need to be having your logic to make it mandatory on validateWrite method.