`tabStock Ledger Entry`.`voucher_no` as "Delivery Note:Link/Delivery Note:100",
`tabStock Ledger Entry`.`item_code` as "Item Code:Link/Item:80",
`tabStock Ledger Entry`.`batch_no`,
`tabStock Ledger Entry`.`warehouse`,
`tabStock Ledger Entry`.`actual_qty`,
`tabStock Ledger Entry`.`stock_uom`,
`tabStock Ledger Entry`.`qty_after_transaction`,
(SELECT `tabDelivery Note`.`customer_name` FROM `tabDelivery Note` WHERE `tabDelivery Note`.`naming_series` = `tabStock Ledger Entry`.`voucher_no`) AS Customer
This works to display most of the data perfectly fine.
I have a few questions:
1. can I make the link open in a new window? and if so how
2. the stock UOM isn't showing for some reason, it shows fine on the Stock Ledger master report, is there another field I should be using here?
3. how do I pull the Customer name (final line in the select query) Basically I want to display the name of the customer on each line. This requires getting the Customer Name from the delivery note which is linked in the query as `voucher_no`. I need this to happen on each result line.
4. how can I add a filter so that the item and voucher_type can be selected by the user? I'm assuming something has to go in the JS section? I don't want to have to add a customer report for every product!
I'll be using the method in #3 to pull in a number of other bits of linked data from customer files and delivery notes as well.
Many Thanks
Paul
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
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.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
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.
`tabStock Ledger Entry`.`voucher_no` as "Delivery Note:Link/Delivery Note:100",
`tabStock Ledger Entry`.`item_code` as "Item Code:Link/Item:80",
`tabStock Ledger Entry`.`batch_no`,
`tabStock Ledger Entry`.`warehouse`,
`tabStock Ledger Entry`.`actual_qty`,
`tabStock Ledger Entry`.`stock_uom`,
`tabStock Ledger Entry`.`qty_after_transaction`,
(SELECT `tabDelivery Note`.`customer_name` FROM `tabDelivery Note` WHERE `tabDelivery Note`.`naming_series` = `tabStock Ledger Entry`.`voucher_no`) AS Customer
This works to display most of the data perfectly fine.
I have a few questions:
1. can I make the link open in a new window? and if so how
Thats not so easy - the entire "desk" is basically one page.
2. the stock UOM isn't showing for some reason, it shows fine on the Stock Ledger master report, is there another field I should be using here?
can you define the type as in:
as "Stock UOM:Link/UOM:80"
3. how do I pull the Customer name (final line in the select query) Basically I want to display the name of the customer on each line. This requires getting the Customer Name from the delivery note which is linked in the query as `voucher_no`. I need this to happen on each result line.
you go this :)
4. how can I add a filter so that the item and voucher_type can be selected by the user? I'm assuming something has to go in the JS section? I don't want to have to add a customer report for every product!
I'll be using the method in #3 to pull in a number of other bits of linked data from customer files and delivery notes as well.
Many Thanks
Paul
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
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.
`tabStock Ledger Entry`.`voucher_no` as "Delivery Note:Link/Delivery Note:100",
`tabStock Ledger Entry`.`item_code` as "Item Code:Link/Item:80",
`tabStock Ledger Entry`.`batch_no`,
`tabStock Ledger Entry`.`warehouse`,
`tabStock Ledger Entry`.`actual_qty`,
`tabStock Ledger Entry`.`stock_uom`,
`tabStock Ledger Entry`.`qty_after_transaction`,
(SELECT `tabDelivery Note`.`customer_name` FROM `tabDelivery Note` WHERE `tabDelivery Note`.`naming_series` = `tabStock Ledger Entry`.`voucher_no`) AS Customer
This works to display most of the data perfectly fine.
I have a few questions:
1. can I make the link open in a new window? and if so how
Thats not so easy - the entire "desk" is basically one page.
2. the stock UOM isn't showing for some reason, it shows fine on the Stock Ledger master report, is there another field I should be using here?
can you define the type as in:
as "Stock UOM:Link/UOM:80"
made no change, it's strange because it is bringing in some UOMs, just not all, and the ones it is bringing in are wrong. It's showing Nos instead of Cans.
3. how do I pull the Customer name (final line in the select query) Basically I want to display the name of the customer on each line. This requires getting the Customer Name from the delivery note which is linked in the query as `voucher_no`. I need this to happen on each result line.
you go this :)
4. how can I add a filter so that the item and voucher_type can be selected by the user? I'm assuming something has to go in the JS section? I don't want to have to add a customer report for every product!
I'll be using the method in #3 to pull in a number of other bits of linked data from customer files and delivery notes as well.
Many Thanks
Paul
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
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 assuming you mean a github repository, in which case I don't have one I'm afraid. I'm making these code changes in the "Query" type report generator when logged in as Administrator.
I have a support package and you have my access details so please login with them to check. The JS side doesn't seem to change anything which is strange since I thought it would at least do something (like break it) if it was incorrect.
The company is Nutriacare.
Thanks
Paul
On Tuesday, 23 September 2014 20:26:17 UTC+12, rushabh wrote: