Print Format for Journal Voucher

Hi all. I want to print Journal Voucher and when popup show I have three select:
+ Standard
+ Cheque Printing Format
+ Payment Receipt Voucher
I found 2 print format is: "Cheque Printing Format" and "Payment Receipt Voucher". but it's missing data.
Remaining "standard" I not found. So I create a new print format but I don't know how to get data Journal Entries.
I try use code:

https://gist.github.com/lxthien/f407205adc84a5e37f49

but not display result. How to I can display data to new print format. Thank you very much!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
how does your si_std function get executed?

On Friday, October 11, 2013 1:47:01 PM UTC+5:30, th...@saigontechnology.vn wrote:
Hi all. I want to print Journal Voucher and when popup show I have three select:
+ Standard
+ Cheque Printing Format
+ Payment Receipt Voucher
I found 2 print format is: "Cheque Printing Format" and "Payment Receipt Voucher". but it's missing data.
Remaining "standard" I not found. So I create a new print format but I don't know how to get data Journal Entries.
I try use code:


but not display result. How to I can display data to new print format. Thank you very much!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
Thank rushabh. I created it. But I have problem is: How to set column "Account Blance" after two column "Debit" and "Credit". 
Because default column "Account Balance" stand in the middle two column "Debit" and "Credit".
This is my file print format.
https://gist.github.com/lxthien/d9354689723d2f419b2c
Thank!

On Friday, October 11, 2013 3:17:01 PM UTC+7, th...@saigontechnology.vn wrote:
Hi all. I want to print Journal Voucher and when popup show I have three select:
+ Standard
+ Cheque Printing Format
+ Payment Receipt Voucher
I found 2 print format is: "Cheque Printing Format" and "Payment Receipt Voucher". but it's missing data.
Remaining "standard" I not found. So I create a new print format but I don't know how to get data Journal Entries.
I try use code:


but not display result. How to I can display data to new print format. Thank you very much!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
Account Balance column should not appear in between debit and credit columns. Can you please raise an github issue for this? That way you will get a notification when we will fix it.

On 14-Oct-2013, at 9:58 AM, th...@saigontechnology.vn wrote:

Thank rushabh. I created it. But I have problem is: How to set column "Account Blance" after two column "Debit" and "Credit". 
Because default column "Account Balance" stand in the middle two column "Debit" and "Credit".
This is my file print format.
Thank!

On Friday, October 11, 2013 3:17:01 PM UTC+7, th...@saigontechnology.vn wrote:
Hi all. I want to print Journal Voucher and when popup show I have three select:
+ Standard
+ Cheque Printing Format
+ Payment Receipt Voucher
I found 2 print format is: "Cheque Printing Format" and "Payment Receipt Voucher". but it's missing data.
Remaining "standard" I not found. So I create a new print format but I don't know how to get data Journal Entries.
I try use code:


but not display result. How to I can display data to new print format. Thank you very much!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

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



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
This is all code in my new print format.
https://gist.github.com/lxthien/6970994
I want to set column "account balance" stand behind "Debit" and "credit". but when I print a file journal voucher, column "account balance" always stand in the middle 2 column "Debit" and "credit".
(file attach)

On Friday, October 11, 2013 3:17:01 PM UTC+7, th...@saigontechnology.vn wrote:
Hi all. I want to print Journal Voucher and when popup show I have three select:
+ Standard
+ Cheque Printing Format
+ Payment Receipt Voucher
I found 2 print format is: "Cheque Printing Format" and "Payment Receipt Voucher". but it's missing data.
Remaining "standard" I not found. So I create a new print format but I don't know how to get data Journal Entries.
I try use code:


but not display result. How to I can display data to new print format. Thank you very much!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
Code seems okay, but I am unable to see why the columns are not ordered. are you printing the right Print Format? Please check the print_table function for details.


On Monday, October 14, 2013 10:36:13 AM UTC+5:30, th...@saigontechnology.vn wrote:
This is all code in my new print format.
I want to set column "account balance" stand behind "Debit" and "credit". but when I print a file journal voucher, column "account balance" always stand in the middle 2 column "Debit" and "credit".
(file attach)

On Friday, October 11, 2013 3:17:01 PM UTC+7, th...@saigontechnology.vn wrote:
Hi all. I want to print Journal Voucher and when popup show I have three select:
+ Standard
+ Cheque Printing Format
+ Payment Receipt Voucher
I found 2 print format is: "Cheque Printing Format" and "Payment Receipt Voucher". but it's missing data.
Remaining "standard" I not found. So I create a new print format but I don't know how to get data Journal Entries.
I try use code:


but not display result. How to I can display data to new print format. Thank you very much!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

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