I’m try to discover Reporting and Documents in ERPNext … and want to know some things
I try to create my own Print Format … and i already created it ad it is work … i notice that that is method print_item_table responsible for creating Document main table
‘Purchase Order Item’, [// Here specify the table columns to be displayed
‘qty’,
‘description’,
‘item_name’, ‘item_code’, ‘stock_uom’,
‘SR’
], [// Here specify the labels of column headings ‘الكمية’,
‘الوصف’,
‘اسم المنتج’, ‘كود المنتج’,
‘الوحده’,
‘م’
], [// Here specify the column widths ‘5%’,
‘32%’,
‘9%’, ‘9%’, ‘6%’ ] ); // This code takes care of page breaks if(table.appendChild) { out = table.innerHTML; } else { out = ‘’; for(var i=0; i < (table.length-1); i++) { out += table[i].innerHTML + ‘<div style = “page-break-after: always;” <br>class = “page_break”></div><br><div class=“page-settings”></div>’; } out += table[table.length-1].innerHTML; } return out; }, }; </script> <BODY LANG=“en-US” DIR=“LTR”> <script>si_std.print_item_table()</script> </BODY>
it works but the ‘SR’ not appear when i move it from the begin of table … just appear when ‘SR’ is the first column
and could you tell me what is the “blue text” refer to??
–
Note:
If you are posting an issue,
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.
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.
I'm try to discover Reporting and Documents in ERPNext .. and want to know some things
I try to create my own Print Format ... and i already created it ad it is work .. i notice that that is method print_item_table responsible for creating Document main table
'Purchase Order Item', [// Here specify the table columns to be displayed
'qty',
'description',
'item_name', 'item_code', 'stock_uom',
'SR'
], [// Here specify the labels of column headings 'الكمية',
'الوصف',
'اسم المنتج', 'كود المنتج',
'الوحده',
'م'
], [// Here specify the column widths '5%',
'32%',
'9%', '9%', '6%' ] ); // This code takes care of page breaks if(table.appendChild) { out = table.innerHTML; } else { out = ''; for(var i=0; i < (table.length-1); i++) { out += table[i].innerHTML + '<div style = "page-break-after: always;" \ class = "page_break"></div>\ <div class="page-settings"></div>'; } out += table[table.length-1].innerHTML; } return out; }, }; </script> <BODY LANG="en-US" DIR="LTR"> <script>si_std.print_item_table()</script> </BODY>
it works but the 'SR' not appear when i move it from the begin of table .. just appear when 'SR' is the first column
and could you tell me what is the "blue text" refer to??
–
Note:
If you are posting an issue,
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.
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.
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.
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.
it works but the ‘SR’ not appear when i move it from the beginning of table … just appear when ‘SR’ is the first column
–
Note:
If you are posting an issue,
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.
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.
On Monday, August 5, 2013 2:10:26 PM UTC+2, OS_Dev wrote:
ok thanks , will try to use it
and what about SR column
it works but the ‘SR’ not appear when i move it from the beginning of table … just appear when ‘SR’ is the first column
–
Note:
If you are posting an issue,
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.
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.
On Monday, August 5, 2013 2:10:26 PM UTC+2, OS_Dev wrote:
ok thanks , will try to use it
and what about SR column
it works but the 'SR' not appear when i move it from the beginning of table .. just appear when 'SR' is the first column
–
Note:
If you are posting an issue,
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.
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.
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.
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.
On Monday, August 5, 2013 2:10:26 PM UTC+2, OS_Dev wrote:
ok thanks , will try to use it
and what about SR column
it works but the 'SR' not appear when i move it from the beginning of table .. just appear when 'SR' is the first column
–
Note:
If you are posting an issue,
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.
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.