# `elematerialsstockmonthcost`


- **Engine:** InnoDB
- **Collation:** utf8mb3_general_ci

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |  | 0 |  | 自增列 |
| 2 | `sId` | `varchar(100)` | NO |  |  |  | 标准ID |
| 3 | `sBrandsId` | `varchar(100)` | NO |  |  |  | 加工商ID |
| 4 | `sSubsidiaryId` | `varchar(100)` | NO |  |  |  | 子公司ID |
| 5 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 制单日期 |
| 6 | `sMakePerson` | `varchar(255)` | NO |  |  |  | 制单人 |
| 7 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 8 | `sMonth` | `varchar(100)` | NO |  |  |  | 月份 |
| 9 | `sMaterialsId` | `varchar(100)` | NO |  |  |  | 材料Id |
| 10 | `sWareHouseId` | `varchar(100)` | NO |  |  |  | 仓库Id |
| 11 | `sLocationId` | `varchar(100)` | NO |  |  |  | 库区Id |
| 12 | `sLocation` | `varchar(100)` | YES |  |  |  | 库区 |
| 13 | `sWarehouseLocationId` | `varchar(100)` | NO |  |  |  | 库位Id |
| 14 | `sWarehouseLocation` | `varchar(100)` | YES |  |  |  | 库位 |
| 15 | `dPriorMaterialsMoney` | `decimal(18,6)` | NO |  |  |  | 上期金额 |
| 16 | `dPriorMaterialsQty` | `decimal(18,6)` | NO |  |  |  | 上期换算数量 |
| 17 | `dPriorAuxiliaryQty` | `decimal(18,6)` | NO |  |  |  | 上期数量 |
| 18 | `dInStoreMoney` | `decimal(18,6)` | NO |  |  |  | 入库金额 |
| 19 | `dInStoreAuxiliaryQty` | `decimal(18,6)` | NO |  |  |  | 入库数量 |
| 20 | `dInStoreQty` | `decimal(18,6)` | NO |  |  |  | 入库换算数量 |
| 21 | `dOutStoreMoney` | `decimal(18,6)` | NO |  |  |  | 出库金额 |
| 22 | `dOutStoreAuxiliaryQty` | `decimal(18,6)` | NO |  |  |  | 出库数量 |
| 23 | `dOutStoreQty` | `decimal(18,6)` | NO |  |  |  | 出库换算数量 |
| 24 | `dErrorMoney` | `decimal(18,6)` | NO |  |  |  | 差异金额 |
| 25 | `dMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 26 | `dAuxiliaryPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 27 | `dMaterialsMoney` | `decimal(18,6)` | NO |  |  |  | 结存金额 |
| 28 | `dMaterialsQty` | `decimal(18,6)` | NO |  |  |  | 结存换算数量 |
| 29 | `dAuxiliaryQty` | `decimal(18,6)` | NO |  |  |  | 结存数量 |
| 30 | `sMaterialsStyle` | `varchar(100)` | NO |  |  |  | 材料规格 |
| 31 | `dPriorMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 32 | `dPriorAuxiliaryPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 33 | `dInStoreMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 34 | `dInStoreAuxiliaryPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 35 | `dOutStoreMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 36 | `dOutStoreAuxiliaryPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 37 | `dNowOutAdjustStoreMoney` | `decimal(18,6)` | NO |  |  |  | 调整金额 |
| 38 | `dInvoiceMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 39 | `dInvoiceAuxiliaryPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 40 | `dEstimationMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 41 | `dEstimationAuxiliaryPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 42 | `dErrorAuxiliaryQty` | `decimal(18,6)` | NO |  |  |  | 差异数量 |
| 43 | `dErrorQty` | `decimal(18,6)` | NO |  |  |  | 差异换算数量 |

## Narrative

_No human-written narrative yet — when this table is exercised by a [vertical slice](../../slices/index.md), link from there back to this page._
