How to reset the auto number in case of multiple tables in an invoice template?

Reply
Highlighted
Jyoti_Sinha Zuora Alumni

Zuora Alumni

Zuora Alumni
Posts: 249
Registered: ‎01-11-2016
Accepted Solution

How to reset the auto number in case of multiple tables in an invoice template?

[ Edited ]

How to reset the auto numbering in case of multiple tables in an invoice template?



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Jyoti_Sinha Zuora Alumni

Zuora Alumni

Zuora Alumni
Posts: 249
Registered: ‎01-11-2016

Re: How to reset the auto number in case of multiple tables in an invoice template?

[ Edited ]

If you are using LISTNUM for generating Auto Numbers in a table and have multiple tables in the template, then in order to reset the numbers for the next table please find below steps.

 

In order to reset the sequence you need to use the mergefield field of the form {LISTNUM \s 0} at the end of each list which resets the value to 0. Resetting number to 0 at this point means that the next time the same numbered style is used, the numbering sequence will restart at 1.

 

I have attached a sample invoice with 2 tables which will help with the understanding.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √