# `viw_purpurchasesuppinquiry` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 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 |

## Definition

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

## Narrative

_No human-written narrative yet._
