pos_iso_items
POS其他出入库明细
所属应用: pos
表结构
| ColumnName | Comment | Type | Not null | Default | Autoincrement |
|---|---|---|---|---|---|
| item_id | item_id | mediumint(8) unsigned | Y | Y | |
| iso_id | iso_id | mediumint(8) unsigned | N | N | |
| product_id | product_id | int(10) unsigned | N | 0 | N |
| goods_bn | goods_bn | varchar(50) | N | N | |
| goods_name | 商品名称 | varchar(32) | N | N | |
| price | 商品金额 | varchar(32) | N | N | |
| specifications | 商品规格 | varchar(32) | N | N | |
| goods_attr | 商品属性 | varchar(32) | N | N | |
| storage_code | 库位 | varchar(32) | N | N | |
| basic_calc_unit | 基本计量单位 | varchar(32) | N | N | |
| plan_qty | 应收数量(基本单位) | varchar(32) | N | N | |
| actual_qty | 实收数量(基本单位) | varchar(32) | N | N | |
| assist_calc_unit | 辅助计量单位 | varchar(32) | N | N | |
| plan_qty_assist | 应收数量(辅助单位) | varchar(32) | N | N | |
| actual_qty_assist | 实收数量(辅助单位) | varchar(32) | N | N | |
| batch_code | 批次号 | varchar(32) | N | N | |
| product_date | 生成日期 | int(10) unsigned | N | N | |
| expire_date | 有效期至 | int(10) unsigned | N | N | |
| item_remark | 明细行备注 | text | N | N | |
| at_time | 创建时间 | TIMESTAMP | N | CURRENT_TIMESTAMP | N |
| up_time | 更新时间 | TIMESTAMP | N | CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP | N |
索引
| Key name | Column names | Unique | Comment |
|---|---|---|---|
| primary | item_id | Y | |
| ind_goods_bn | goods_bn | N | |
| ind_id_product_storage | iso_id, product_id, storage_code | Y | |
| idx_c_iso_id | iso_id | N |
