tgstockcost_operation
成本配置信息表
所属应用: tgstockcost
表结构
| ColumnName | Comment | Type | Not null | Default | Autoincrement |
|---|---|---|---|---|---|
| operation_id | operation_id | mediumint(8) unsigned | Y | Y | |
| tgstockcost_cost | 存货计价法 | char(10) | Y | N | |
| tgstockcost_get_value_type | 盘点/调账成本取值 | char(10) | N | N | |
| tgstockcost_return_cost | 退货成本取值 | char(10) | N | N | |
| tgstockcost_branch_cost | 仓库成本计算方式 | char(10) | N | N | |
| install_time | 安装时间 | int(10) unsigned | Y | N | |
| end_time | 结束时间 | int(10) unsigned | N | N | |
| op_id | op_id | mediumint(8) unsigned | N | N | |
| op_name | op_name | varchar(30) | N | N | |
| operate_time | 操作时间 | int(10) unsigned | Y | N | |
| memo | memo | text | N | N | |
| status | 当前成本或历史成本的标识 0:历史成本状态;1:当前成本状态; | enum('0','1') | N | N | |
| type | 日志类型 1:成本设置变更;2:成本设置期初; | enum('1','2') | N | 1 | N |
索引
| Key name | Column names | Unique | Comment |
|---|---|---|---|
| primary | operation_id | Y | |
| idx_install_time | install_time | N | |
| idx_end_time | end_time | N | |
| status | status | N | |
| idx_c_op_id | op_id | N |
