# `accmaterialsstore`


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

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |  | 0 |  | 自增列 |
| 2 | `sId` | `varchar(100)` | YES |  |  |  |  |
| 3 | `sBrandsId` | `varchar(100)` | YES |  |  |  |  |
| 4 | `sSubsidiaryId` | `varchar(100)` | YES |  |  |  |  |
| 5 | `sMakePerson` | `varchar(255)` | YES |  |  |  |  |
| 6 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 制单日期 |
| 7 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 8 | `sMaterialsId` | `varchar(100)` | YES |  |  |  |  |
| 9 | `sMaterialsStyle` | `varchar(255)` | YES |  |  |  |  |
| 10 | `sDefineNo` | `varchar(100)` | YES |  |  |  |  |
| 11 | `sDefineNo2` | `varchar(100)` | YES |  |  |  |  |
| 12 | `sWarehouseId` | `varchar(100)` | YES |  |  |  |  |
| 13 | `sLocationId` | `varchar(100)` | YES |  |  |  |  |
| 14 | `sWarehouseLocationId` | `varchar(100)` | YES |  |  |  |  |
| 15 | `dAuxiliaryQty` | `decimal(18,6)` | NO |  |  |  | 库存数量 |
| 16 | `sAuxiliaryUnit` | `varchar(255)` | YES |  |  |  |  |
| 17 | `dMaterialsQty` | `decimal(18,6)` | NO |  |  |  | 换算数量 |
| 18 | `dConversionQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 预留数量 |
| 19 | `dMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 20 | `dMaterialsMoney` | `decimal(18,2)` | NO |  | 0.00 |  | 材料金额 |
| 21 | `sFormId` | `varchar(100)` | YES |  |  |  |  |
| 22 | `sBillId` | `varchar(100)` | YES |  |  |  |  |
| 23 | `sBillSlaveId` | `varchar(100)` | YES |  |  |  |  |
| 24 | `sBillNo` | `varchar(255)` | YES |  |  |  |  |
| 25 | `sWorkOrderId` | `varchar(100)` | YES |  |  |  |  |
| 26 | `sWorkOrderNo` | `varchar(255)` | YES |  |  |  |  |
| 27 | `sWorkOrderSlaveId` | `varchar(100)` | YES |  |  |  |  |
| 28 | `sOrderId` | `varchar(100)` | YES |  |  |  |  |
| 29 | `sOrderNo` | `varchar(255)` | YES |  |  |  |  |
| 30 | `sOrderSlaveId` | `varchar(100)` | YES |  |  |  |  |
| 31 | `sMemo` | `text` | YES |  |  |  |  |
| 32 | `sType` | `varchar(100)` | YES |  |  |  |  |
| 33 | `sCostPeriod` | `varchar(100)` | YES |  |  |  |  |
| 34 | `sConfirmMonth` | `varchar(100)` | YES |  |  |  |  |
| 35 | `bConfirm` | `bit(1)` | NO |  | b'0' |  | 是否确认 |
| 36 | `sAccId` | `varchar(100)` | YES |  |  |  |  |
| 37 | `sSupplyId` | `varchar(100)` | YES |  |  |  |  |
| 38 | `sPurchaseOrderNo` | `varchar(100)` | YES |  |  |  |  |
| 39 | `sPurchaseOrderId` | `varchar(100)` | YES |  |  |  |  |
| 40 | `dPreviousAuxiliaryQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 上期暂估数量 |
| 41 | `dPreviousMaterialsQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 上期暂估换算数量 |
| 42 | `dThisInStoreAuxiliaryQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 本期入库数量 |
| 43 | `dThisInStoreMaterialsQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 本期入库换算数量 |
| 44 | `dThisInvoiceAuxiliaryQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 本期发票数量 |
| 45 | `dThisInvoiceMaterialsQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 本期发票换算数量 |
| 46 | `sDepartId` | `varchar(100)` | YES |  |  |  |  |
| 47 | `sVoucherBillId` | `varchar(100)` | YES |  |  |  |  |
| 48 | `sVoucherBillNo` | `varchar(100)` | YES |  |  |  |  |
| 49 | `sBussinessType` | `varchar(255)` | YES |  |  |  |  |

## 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._
