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
- Open Customize Form for the DocType, for example Stock Entry.
- Open the field, for example Default Source Warehouse.
- In Default, enter the value. For a Link field, enter the exact name of the linked document. For a Check field, enter
1or0. - Select Update.
New documents get the default. Existing documents do not change.
TIP
For a Date field, enter Today to use the current date.