# `viw_qlycomematerialstest`（视图）


- **是否可更新：** YES
- **定义者：** `xlyprint@%`

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |
| 2 | `sId` | `varchar(100)` | NO |
| 3 | `sBrandsId` | `varchar(100)` | NO |
| 4 | `sSubsidiaryId` | `varchar(100)` | NO |
| 5 | `tCreateDate` | `datetime` | NO |
| 6 | `sMakePerson` | `varchar(255)` | NO |
| 7 | `iOrder` | `int` | NO |
| 8 | `sFormId` | `varchar(100)` | NO |
| 9 | `sBillNo` | `varchar(255)` | NO |
| 10 | `sSupplyId` | `varchar(100)` | YES |
| 11 | `sManualNo` | `varchar(255)` | YES |
| 12 | `sMemo` | `text` | YES |
| 13 | `bCheck` | `bit(1)` | NO |
| 14 | `tCheckDate` | `datetime` | YES |
| 15 | `sCheckPerson` | `varchar(255)` | YES |
| 16 | `bPrint` | `bit(1)` | NO |
| 17 | `bCopyLimit` | `bit(1)` | NO |
| 18 | `sStatus` | `varchar(255)` | YES |
| 19 | `bInvalid` | `bit(1)` | NO |
| 20 | `sMReserve1` | `varchar(255)` | YES |
| 21 | `sMReserve2` | `varchar(255)` | YES |
| 22 | `sMReserve3` | `varchar(255)` | YES |
| 23 | `sMReserve4` | `varchar(255)` | YES |
| 24 | `sMReserve5` | `varchar(255)` | YES |
| 25 | `sMReserve6` | `varchar(255)` | YES |
| 26 | `dMReserve1` | `decimal(18,6)` | YES |
| 27 | `dMReserve2` | `decimal(18,6)` | YES |
| 28 | `dMReserve3` | `decimal(18,6)` | YES |
| 29 | `iMReserve1` | `int` | YES |
| 30 | `iMReserve2` | `int` | YES |
| 31 | `iMReserve3` | `int` | YES |
| 32 | `tMReserve1` | `datetime` | YES |
| 33 | `tMReserve2` | `datetime` | YES |
| 34 | `sTestStandardId` | `varchar(100)` | YES |
| 35 | `sMaterialsId` | `varchar(100)` | NO |
| 36 | `sSrcSlaveId` | `varchar(100)` | NO |
| 37 | `sSrcId` | `varchar(100)` | NO |
| 38 | `sSrcNo` | `varchar(255)` | NO |
| 39 | `dSrcQty` | `decimal(18,6)` | YES |
| 40 | `sMaterialsStyle` | `varchar(255)` | YES |
| 41 | `dAuxiliaryQty` | `decimal(18,6)` | YES |
| 42 | `sAuxiliaryUnit` | `varchar(255)` | YES |
| 43 | `dMaterialsQty` | `decimal(18,6)` | YES |
| 44 | `dConversionQty` | `decimal(18,6)` | YES |
| 45 | `dSampleQty` | `decimal(65,0)` | NO |
| 46 | `dQualifyQty` | `decimal(65,0)` | YES |
| 47 | `dNoQualifyQty` | `decimal(65,0)` | YES |
| 48 | `dRejectQty` | `decimal(65,0)` | YES |
| 49 | `iTestResult` | `int` | YES |
| 50 | `dInStoreAuxiliaryQty` | `decimal(18,6)` | YES |
| 51 | `dInStoreQty` | `decimal(18,6)` | YES |
| 52 | `sDefineNo` | `varchar(100)` | YES |
| 53 | `sDefineNo2` | `varchar(100)` | YES |
| 54 | `sSlaveId` | `varchar(100)` | NO |
| 55 | `sParentId` | `varchar(100)` | NO |
| 56 | `sTestItem` | `varchar(1000)` | YES |
| 57 | `sTestStandard` | `varchar(1000)` | YES |
| 58 | `sSMemo` | `varchar(255)` | YES |
| 59 | `sActValue` | `varchar(255)` | YES |
| 60 | `sTestPersonId` | `varchar(250)` | YES |

## 定义

```sql
select `xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`iIncrement` AS `iIncrement`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sSupplyId` AS `sSupplyId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sManualNo` AS `sManualNo`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`bPrint` AS `bPrint`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`bCopyLimit` AS `bCopyLimit`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`tMReserve2` AS `tMReserve2`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sTestStandardId` AS `sTestStandardId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMaterialsId` AS `sMaterialsId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sSrcSlaveId` AS `sSrcSlaveId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sSrcId` AS `sSrcId`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sSrcNo` AS `sSrcNo`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dSrcQty` AS `dSrcQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sMaterialsStyle` AS `sMaterialsStyle`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dMaterialsQty` AS `dMaterialsQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dConversionQty` AS `dConversionQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dSampleQty` AS `dSampleQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dQualifyQty` AS `dQualifyQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dNoQualifyQty` AS `dNoQualifyQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dRejectQty` AS `dRejectQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`iTestResult` AS `iTestResult`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dInStoreAuxiliaryQty` AS `dInStoreAuxiliaryQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`dInStoreQty` AS `dInStoreQty`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sDefineNo` AS `sDefineNo`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sDefineNo2` AS `sDefineNo2`,`xlyweberp_saas_ai`.`qlycomematerialstestslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`qlycomematerialstestslave`.`sParentId` AS `sParentId`,`xlyweberp_saas_ai`.`qlycomematerialstestslave`.`sTestItem` AS `sTestItem`,`xlyweberp_saas_ai`.`qlycomematerialstestslave`.`sTestStandard` AS `sTestStandard`,`xlyweberp_saas_ai`.`qlycomematerialstestslave`.`sSMemo` AS `sSMemo`,`xlyweberp_saas_ai`.`qlycomematerialstestslave`.`sActValue` AS `sActValue`,`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sTestPersonId` AS `sTestPersonId` from (`xlyweberp_saas_ai`.`qlycomematerialstestmaster` join `xlyweberp_saas_ai`.`qlycomematerialstestslave` on((`xlyweberp_saas_ai`.`qlycomematerialstestmaster`.`sId` = `xlyweberp_saas_ai`.`qlycomematerialstestslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
