# `purpurchasesuppinquiryslave`


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

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |  | 0 |  | 自增列 |
| 2 | `sId` | `varchar(50)` | NO |  |  |  | 唯一ID |
| 3 | `sBrandsId` | `varchar(50)` | NO |  |  |  | 加工商ID |
| 4 | `sSubsidiaryId` | `varchar(50)` | NO |  |  |  | 子公司ID |
| 5 | `iOrder` | `int` | NO |  | 0 |  | 排序号 |
| 6 | `sMakePerson` | `varchar(50)` | YES |  |  |  | 制单人 |
| 7 | `sParentId` | `varchar(50)` | NO |  |  |  | 父级ID |
| 8 | `sMaterialsId` | `varchar(50)` | NO |  |  |  | 材料ID |
| 9 | `sMaterialsStyle` | `varchar(50)` | NO |  |  |  | 材料规格 |
| 10 | `dAuxiliaryQty` | `decimal(18,6)` | NO |  |  |  | 数量 |
| 11 | `sAuxiliaryUnit` | `varchar(50)` | NO |  |  |  | 单位 |
| 12 | `dMaterialsQty` | `decimal(18,6)` | NO |  |  |  | 换算数量 |
| 13 | `dConversionQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 预留数量 |
| 14 | `dMaterialsPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 15 | `dMaterialsMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 金额 |
| 16 | `sSrcSlaveId` | `varchar(50)` | NO |  |  |  | 源单从表Id |
| 17 | `sSrcId` | `varchar(50)` | NO |  |  |  | 源单ID |
| 18 | `sSrcNo` | `varchar(50)` | NO |  |  |  | 源单号 |
| 19 | `dSrcQty` | `decimal(18,6)` | YES |  |  |  | 源单数量 |
| 20 | `sSlaveMemo` | `text` | YES |  |  |  | 备注 |
| 21 | `sTaxId` | `varchar(100)` | YES |  |  |  | 税率ID |
| 22 | `dMaterialsNoTaxPrice` | `decimal(24,13)` | NO |  | 0.0000000000000 |  |  |
| 23 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |  |  |  | 不含税金额 |
| 24 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |  |  |  | 税额 |
| 25 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |  |  |  | 外币税额 |
| 26 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |  |  |  | 外币金额 |
| 27 | `sOrderId` | `varchar(2000)` | NO |  |  |  | 订单ID |
| 28 | `sOrderSlaveId` | `varchar(2000)` | NO |  |  |  | 订单从表Id |
| 29 | `sOrderNo` | `varchar(2000)` | NO |  |  |  | 订单号 |
| 30 | `sWorkOrderId` | `varchar(2000)` | NO |  |  |  | 工单ID |
| 31 | `sWorkOrderSlaveId` | `varchar(2000)` | NO |  |  |  | 工单从表Id |
| 32 | `sWorkOrderNo` | `varchar(2000)` | NO |  |  |  | 工单号 |
| 33 | `sWorkOrderControlId` | `varchar(50)` | NO |  |  |  | 工单控制表ID |
| 34 | `sWorkOrderMaterialsTbId` | `varchar(50)` | NO |  |  |  | 工单材料表Id |
| 35 | `sPurchaseApplyId` | `varchar(50)` | NO |  |  |  | 采购申请Id |
| 36 | `sPurchaseApplySlaveId` | `varchar(50)` | NO |  |  |  | 采购申请从表Id |
| 37 | `sPurchaseApplyNo` | `varchar(50)` | NO |  |  |  | 采购申请号 |
| 38 | `sUserId` | `varchar(50)` | 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._
