# `viw_purpurchasesuppinquiry`（视图）


- **是否可更新：** 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 | `sSupplyName` | `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 | `sSlaveId` | `varchar(50)` | NO |
| 21 | `iSlaveOrder` | `int` | NO |
| 22 | `sParentId` | `varchar(50)` | NO |
| 23 | `sMaterialsId` | `varchar(50)` | NO |
| 24 | `sMaterialsStyle` | `varchar(50)` | NO |
| 25 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 26 | `sAuxiliaryUnit` | `varchar(50)` | NO |
| 27 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 28 | `dConversionQty` | `decimal(18,6)` | NO |
| 29 | `dMaterialsPrice` | `decimal(24,13)` | NO |
| 30 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 31 | `sSrcSlaveId` | `varchar(50)` | NO |
| 32 | `sSrcId` | `varchar(50)` | NO |
| 33 | `sSrcNo` | `varchar(50)` | NO |
| 34 | `dSrcQty` | `decimal(18,6)` | YES |
| 35 | `sSlaveMemo` | `text` | YES |
| 36 | `sTaxId` | `varchar(100)` | YES |
| 37 | `dMaterialsNoTaxPrice` | `decimal(24,13)` | NO |
| 38 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 39 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 40 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 41 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 42 | `sOrderId` | `varchar(2000)` | NO |
| 43 | `sOrderSlaveId` | `varchar(2000)` | NO |
| 44 | `sOrderNo` | `varchar(2000)` | NO |
| 45 | `sWorkOrderId` | `varchar(2000)` | NO |
| 46 | `sWorkOrderSlaveId` | `varchar(2000)` | NO |
| 47 | `sWorkOrderNo` | `varchar(2000)` | NO |
| 48 | `sWorkOrderControlId` | `varchar(50)` | NO |
| 49 | `sWorkOrderMaterialsTbId` | `varchar(50)` | NO |
| 50 | `sPurchaseApplyId` | `varchar(50)` | NO |
| 51 | `sPurchaseApplySlaveId` | `varchar(50)` | NO |
| 52 | `sPurchaseApplyNo` | `varchar(50)` | NO |
| 53 | `sUserId` | `varchar(50)` | YES |

## 定义

```sql
select `xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`iIncrement` AS `iIncrement`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sSupplyId` AS `sSupplyId`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sSupplyName` AS `sSupplyName`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`bPrint` AS `bPrint`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`bCopyLimit` AS `bCopyLimit`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`iOrder` AS `iSlaveOrder`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sParentId` AS `sParentId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sMaterialsId` AS `sMaterialsId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsQty` AS `dMaterialsQty`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dConversionQty` AS `dConversionQty`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sSrcId` AS `sSrcId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sSrcNo` AS `sSrcNo`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dSrcQty` AS `dSrcQty`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sSlaveMemo` AS `sSlaveMemo`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sTaxId` AS `sTaxId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sOrderId` AS `sOrderId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sOrderNo` AS `sOrderNo`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sWorkOrderId` AS `sWorkOrderId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sPurchaseApplyId` AS `sPurchaseApplyId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sPurchaseApplySlaveId` AS `sPurchaseApplySlaveId`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sPurchaseApplyNo` AS `sPurchaseApplyNo`,`xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sUserId` AS `sUserId` from (`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster` join `xlyweberp_saas_ai`.`purpurchasesuppinquiryslave` on((`xlyweberp_saas_ai`.`purpurchasesuppinquirymaster`.`sId` = `xlyweberp_saas_ai`.`purpurchasesuppinquiryslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
