HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Task #301068
open销售报表的功能需求:查看某段时间内所有客户的消费详情, 无论是来自Sale Invoice 还是来自 POS.
0%
Description
需求:
查看某段时间内所有客户的消费详情, 无论是来自Sale Invoice 还是来自 POS.
结果示意图:
Date From : 2014-01-01 Date to: 2014-03-10
Customer001
ProductCode ProductName Qty Amount
010010011 Spoon 10 4000
010010012 Fork 20 5000
Customer2:
ProductCode ProductName Qty Amount
030010011 Glass Cup 5 2000
030010012 Wine Cup 7 1000
上述示意图的意思为:
从2014年 1月1日开始, 到 2014年 3月 10日为止,
名称为 Customer001 的客户 购买了
1) 10个 编号为 010010011,名称为Spoon 的产品,总金额4000;
2) 20个编号为 010010012名称为Fork的产品, 总金额为 5000
名称为 Customer002 的客户 购买了:
1) 5个编号为 030010011 名称为 Glass Cup的产品,总金额2000
2) 7个编号为 030010012 名称为 Wine Cup 的产品,总金额为1000
如果不能开发上述功能, 希望可以提供获取 上述数据的 sql语句.
Files
No data to display