Set a default value for a field ​

A default value fills a field in every new document. Users can still change it. For example, you can set Default Source Warehouse to Stores - ETL in every new Stock Entry.

Prerequisites ​

  • The System Manager role.

Set the default ​

  1. Open Customize Form for the DocType, for example Stock Entry.
  2. Open the field, for example Default Source Warehouse.
  3. In Default, enter the value. For a Link field, enter the exact name of the linked document. For a Check field, enter 1 or 0.
  4. Select Update.

New documents get the default. Existing documents do not change.

TIP

For a Date field, enter Today to use the current date.