Posts

Showing posts with the label auto-number

Salesforce Fact #10 | record name field

The record name field acts like a unique field. The possible data types are text or auto-number. When the field is of text type, the field is required while entering data through the UI. But it is optional while inserting data through API or import tool. If we do not provide a value for this field, it will store the record Id of the record. When the field is of auto-number type, we specify the pattern. We can also reset the numbering so that it again starts from the first value. To do this, first we need to convert the type to text and again convert it to auto-number.