select '正常发货' as [类型],t0.createdby 单号, T2.[CANCELED] 单据状态 ,t0.doclinenum 行号, t0.docdate 日期,t0.cardcode 客户编号,t0.cardname 客户名称, t0.itemcode 料号 ,t0.dscr iption 品名,t0.Currency 币种,t0.rate 汇率,t0.OutQty-t0.InQty 数量,t0.CalcPrice 成本单价,t0.cogsval 成本总额,t0.CostA