Document autogenerated numbered field in PDF Letter Template

Is there a way to insert into a PDF Template (Letter - Contacts) an auto generated number such as aos_invoice_number, so that a letter contains an autogenerated progressive and non editable numbered field?

thanks in advcance

Sorry this is not standard functionality at moment. It could be custom coded but it would take somebody who knew what they were doing. :unsure:

1)You could install this AutoIncrement field from
2) Make the newly created field visible in detail view only of the module you are making the template
3) Map new field in your PDF template, no coding required as long as this works.

!!!download this TODAY because after tomorrow SugarForge is being taken down by sugar.

Hope this helps