EPR u8销售发货单 SQL语句视图

今日长缨在手,何时缚住苍龙。这篇文章主要讲述EPR u8销售发货单 SQL语句视图相关的知识,希望能为你提供帮助。
【通过SQL查询 ERP用户销售出库单】
create   view view_erpfh as   
【EPR u8销售发货单 SQL语句视图】select 销售出库单 as 单据名称,b.cItemCode as 项目编号,b.cName as 项目名称,b.cItemCName as 项目大类,b.cDefine22   as 执行主体,
b.cDefine23 软件或硬件,b.cDefine24 as 税,b.cDefine25 as 业务类型,c.cInvCode as 产品编码,c.cInvName as 产品名称,sum(b.iQuantity) as 数量,b.iPrice as 合计
from rdrecords32 b
left join Inventory c
on c.cInvCode=b.cInvCode

group by   b.iPrice ,b.cDefine22 ,
b.cDefine23 ,b.cDefine24 ,b.cDefine25 ,b.cItemCode ,b.cName ,b.cItemCName ,c.cInvCode,c.cInvName 

    推荐阅读