查询所有未审核的出入库单 金蝶.docVIP

  • 136
  • 0
  • 约5.41万字
  • 约 13页
  • 2017-11-27 发布于江苏
  • 举报
set nocount on --查询所有未审核的出入库单 --查询所有未审核的出入库单 select a.Fdate 单据日期,a.fbillno 单据编号,b.fname+单 单据类型, case when fcheckerid is null then 未审核 else 已审核 end 审核状态, case when FCancellation =0 then 正常单据 else 作废单据 end 单据状态,c.Fname 制单人 from icstockbill(出入库单据) a join ictransactiontype b on a.ftrantype(单据类型)=b.fid join t_user c on c.fuserid(无)=a.Fbillerid(制单) where fcheckerid(审核人) is NULL(空) and {From} and {End} FStatus INTEGER 状态

文档评论(0)

1亿VIP精品文档

相关文档