From 2fbb4923a7aa3022885a7204772d256a0e68d62a Mon Sep 17 00:00:00 2001 From: Pawan Mehta Date: Tue, 20 Feb 2018 12:17:49 +0530 Subject: [PATCH] item balance report (#12983) * item balance report * remove hard coding * Update item_balance.json * Update item_balance.json Change name to "Item Balance (Simple)" * Update item_balance.json --- erpnext/stock/report/item_balance/__init__.py | 0 .../report/item_balance/item_balance.json | 30 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 erpnext/stock/report/item_balance/__init__.py create mode 100644 erpnext/stock/report/item_balance/item_balance.json diff --git a/erpnext/stock/report/item_balance/__init__.py b/erpnext/stock/report/item_balance/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/erpnext/stock/report/item_balance/item_balance.json b/erpnext/stock/report/item_balance/item_balance.json new file mode 100644 index 00000000000..af58fb2c602 --- /dev/null +++ b/erpnext/stock/report/item_balance/item_balance.json @@ -0,0 +1,30 @@ +{ + "add_total_row": 0, + "apply_user_permissions": 1, + "creation": "2018-02-17 19:52:16.370979", + "disabled": 0, + "docstatus": 0, + "doctype": "Report", + "idx": 0, + "is_standard": "Yes", + "modified": "2018-02-19 12:03:53.902167", + "modified_by": "Administrator", + "module": "Stock", + "name": "Item Balance (Simple)", + "owner": "Administrator", + "query": "select a.item_code as \"Item:Link/Item:120\",\n\t a.item_name as \"Item Name::150\",\n\t a.item_group as \"Item Group:Link/Item Group:120\",\n\t a.brand as \"Brand:Link/Brand:120\",\n\t a.description as \"Description::150\",\n\t b.warehouse as \"Warehouse:Link/Warehouse:120\",\n\t b.actual_qty as \"Balance Qty:Float:140\"\n from `tabItem` a left join `tabBin` b\n ON a.item_code = b.item_code", + "ref_doctype": "Bin", + "report_name": "Item Balance (Simple)", + "report_type": "Query Report", + "roles": [ + { + "role": "Sales User" + }, + { + "role": "Purchase User" + }, + { + "role": "Stock User" + } + ] +}