To make Supplier Invoice Number a mandatory field when creating a Purchase, Please follow the steps given below.
Step - 1: Go to Settings.
Step - 2: Go to Preferences, in the Document section click on Purchases option there enable the option Mandatory Supplier Invoice Number click on Save changes.

