How to save a New Print Format with Dynamic Body?

Hi,

I have tried to create a new print format for Delivery Notes.Now I
have changed the headers etc with what I wanted and it is coming good
as I wanted. But the only problem I am facing is that the body of the
customized format is not dynamic. By dynamic I mean that whenever I
change the fields to display in the Delivery Note Detail doc type the
fields on the body of the standard formats change.

Now I have copied the same standard format and made a new one without
changing the HTML code of the new format but still only those fields
are visible in the new format which are listed in the body with the
HTML code. Is it possible to link the new formats’ body to the doc
type so that they are not hard coded into the format but are dynamic
for the format.

Hi Aditya,

Dynamic print format, as you want, will come if you will use standard print format. You can change print heading there by selecting print heading from 'more info' tab.

If you create a customized print format then it will show the fields as you mention in code. It won't be dynamic as you say.



Regards,
Ashwini Vartak.

--------------------------------------------------------------
Web Notes Technologies Pvt. Ltd.
PH:- +91-22-65100278 / 26513122 / 65265364

www.erpnext.com



A better way to manage your business - Rs 299/month


On Sun, Nov 21, 2010 at 7:19 PM, Aditya Duggal <ad…@rigpl.com> wrote:

Hi,

I have tried to create a new print format for Delivery Notes.Now I
have changed the headers etc with what I wanted and it is coming good
as I wanted. But the only problem I am facing is that the body of the
customized format is not dynamic. By dynamic I mean that whenever I
change the fields to display in the Delivery Note Detail doc type the
fields on the body of the standard formats change.

Now I have copied the same standard format and made a new one without
changing the HTML code of the new format but still only those fields
are visible in the new format which are listed in the body with the
HTML code. Is it possible to link the new formats' body to the doc
type so that they are not hard coded into the format but are dynamic
for the format.



--