Skip to content Skip to main navigation Skip to footer

Using Quote Line Item Number field

Example Use Case:

-I’m using the field {!Quote.r.QuoteLineItems.LineNumber} in my template but it has leading zeros, so it displays in the document like this:  00000008. So I wanted to know if I could use a type of format command to remove the leading zeros so it will just show as: 8.

Feedback:

Quote Line Item Number is standard Salesforce autonumber field. By default, autonumber is configured so it has leading zeroes.
So, there are two options to resolve:
  1. Change display format of Quote Line Item Number so it does not have leading zeroes
  2. Create formula field that will contain only numeric value of the field and then merge that formula field.