PO Number in Print Format for Purchase Order

I am creating a new Print Format for Purchase Order and I am unable to add the PO Number to it to be shown in the print. I have tried adding series through drag but that didn’t seem to work. Am I missing something?

Regards,
Mayank Agarwal

Hi Mayank,

Please share your code.

Regards,
Saurabh

Hi Mayank,

PO Number will be automatically shown. Did you try seeing the Print Format
in action?

Never mind sorted it out by adding a custom HTML with {{ doc.name }}.

Thanks for your help.