|
|
|
materialconsumption -- 材料消耗表
zhu @ 2009-6-15 15:52:00
- CREATE TABLE [materialconsumption](
- [ID] integer identity(1,1) not null CONSTRAINT [PK_materialconsumption] PRIMARY KEY,
- [period] varchar(8) not null,
- [Qtyo] float not null,
- [Qtyc] float not null,
- [GoodsID] varchar(50) null,
- [CPrice] money NOT NULL default 0,
- [preQtyc] float not null,
- [preCPrice] money NOT NULL default 0,
- [S1] varchar(20) null,
- [S2] varchar(100) null,
- [S3] varchar(200) null,
- [I1] INTEGER null,
- [I2] INTEGER null,
- [I3] INTEGER null
- );
说明:
此表用于记录1月到当前月的材料的消耗信息。
[Qtyo]: 当月特定货料的总数量。
[Qtyc]: 原材料消耗表中 当月特定货料的数量 减去 上月该特定货料的数量 的剩余数量
|