2007年8月2日

存货核算中的后进先出

摘要: SET QUOTED_IDENTIFIER ON GOSET ANSI_NULLS ON GOALTER proc CaculateProfit_LIFOas/* drop table #tbl drop table #tbl2 drop table #tblInput*/--后进先出型declare @期初时间 datetime, @期初数量 int,... 阅读全文

posted @ 2007-08-02 17:05 Neo0820 阅读(467) 评论(0) 推荐(0)

存货核算中的先进先出

摘要: SET QUOTED_IDENTIFIER ON GOSET ANSI_NULLS ON GOALTER proc CaculateProfit_FIFOas /*drop table #tbldrop table #tbl2*/ declare @期初时间 datetime, @期初数量 int, @期初单价 decimal(12,4) ... 阅读全文

posted @ 2007-08-02 11:05 Neo0820 阅读(459) 评论(0) 推荐(0)

存货核算中的加权平均

摘要: SET QUOTED_IDENTIFIER ON GOSET ANSI_NULLS ON GOALTER proc CaculateProfit_JiaQuanPingJunas--加权平均--创建虚拟表--1.计算出所有的进货成本/* drop table #tbl drop table #tbl2*/declare @期初数量 int, @期初单价 decima... 阅读全文

posted @ 2007-08-02 11:02 Neo0820 阅读(616) 评论(0) 推荐(0)

导航