瀏覽代碼

Enable item drill down from inventory change report

Neal Wilson 10 年之前
父節點
當前提交
7afb87fb51
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      config/Reports/invchange.xml

+ 3
- 1
config/Reports/invchange.xml 查看文件

@@ -195,7 +195,9 @@
195 195
 				refresh();
196 196
 			});
197 197
 			view.scriptLinkClicked.connect(function(url) {
198
-				print(url);
198
+				var itemReport = createReport("itemtransactions.xml");
199
+				var sIB = findChildObject(itemReport, 'item');
200
+				sIB.currentIndex = sIB.findData(url);
199 201
 			});
200 202
 		]]>
201 203
 	</program>

Loading…
取消
儲存