Customize print


I want to create custom print format that i need to retrieve customer details such as customer contact , how can i do that ? is there any example of code ?

for example i want to get customer contacts thats for shipping


Create a new Print Format.

Customer contact info is already loaded in the fields…

Hi Rusabh,

i wonder is there a way i can print all the variable in the doc variable ?
im googling it for a while but it always giving me an error , what is doc variable ? its not a mapping and not a dict ?


Check the DocType Fields Table for all the properties.