How to add the sytem-generated DO/Invoice/PO number to custom print format?

The standard formats for all the docs usually have the system-generated document numbers in the header, (for eg. DN-000064).

I use a custom print format for all my PO’s, DN’s and Invoices. So far, I had been modifying the title field with the required number. However, we have decided to do away with manually entering the document names and instead using the system-generated document numbers.

Is there a field which I can use to add the document number to the print format? I have been unable to find one so far. I’d appreciate any help on this.

Try {{ doc.name }}

1 Like

Thanks! And it seems to work, but only if I put it in the Header Section. Is it possible to create a custom field for this?