Call linked docs in print format

Hello.

I’m currently creating new print format for Customer - like a customer card that will be later used with paper documentation.
I was wondering if I could maybe print out some info from other linked docs as well, for instance, Serial No that is linked to particular customer. I was looking through existing print formats and didn’t find anything similar. Can someone please direct me where I could look for an example?
Thanks!

Liga



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi Liga,

You need to create a server-side Print Format for this. Please ask more on the developer forum:

Server side Print Formats are there but not widely used so far. We plan to use them even more in the future. Right now there is just one example:

https://github.com/webnotes/erpnext/blob/master/accounts/Print%20Format/SalesInvoice/SalesInvoice.html

Please see this related post on how to use them:

https://groups.google.com/forum/#!topic/erpnext-developer-forum/1M5y4oQ3U1I

best,
Rushabh


T: @rushabh_mehta

On 15-Jul-2013, at 7:05 PM, Liga Kreicberga <li...@gmail.com> wrote:

Hello.
I'm currently creating new print format for Customer - like a customer card that will be later used with paper documentation.
I was wondering if I could maybe print out some info from other linked docs as well, for instance, Serial No that is linked to particular customer. I was looking through existing print formats and didn't find anything similar. Can someone please direct me where I could look for an example?
Thanks!

Liga



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi Rushab,


Thank you for quick answer. Unfortunately I can not create anything from server side because we use hosted solution. This means that there’s no way to do anything from client side? Maybe I can assign required fields in Customer form. And then print them out?

Thanks!

Liga



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Yes you can create an "HTML" type of field in Customer form and populate it using a custom script that is called when the Customer form is loaded. You might have to look up examples on the developer forum for this.

The other solution is to create a Report that has the data from both the Customer and Serial Number tables.


W: https://erpnext.com
T: @rushabh_mehta

On 16-Jul-2013, at 11:08 AM, Liga Kreicberga <li...@gmail.com> wrote:

Hi Rushab,

Thank you for quick answer. Unfortunately I can not create anything from server side because we use hosted solution. This means that there's no way to do anything from client side? Maybe I can assign required fields in Customer form. And then print them out?

Thanks!

Liga




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.