# `viw_purpurchaseshow` (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 | `sMemo` | `text` | YES |
| 12 | `bCheck` | `bit(1)` | NO |
| 13 | `tCheckDate` | `datetime` | YES |
| 14 | `sCheckPerson` | `varchar(255)` | YES |
| 15 | `bPrint` | `bit(1)` | NO |
| 16 | `bCopyLimit` | `bit(1)` | NO |
| 17 | `sStatus` | `varchar(255)` | YES |
| 18 | `bInvalid` | `bit(1)` | NO |
| 19 | `sSlaveId` | `varchar(50)` | NO |
| 20 | `iSlaveOrder` | `int` | NO |
| 21 | `sParentId` | `varchar(50)` | NO |
| 22 | `sMaterialsId` | `varchar(50)` | NO |
| 23 | `sMaterialsStyle` | `varchar(50)` | NO |
| 24 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 25 | `sAuxiliaryUnit` | `varchar(50)` | NO |
| 26 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 27 | `dConversionQty` | `decimal(18,6)` | NO |
| 28 | `dMaterialsPrice` | `decimal(24,13)` | NO |
| 29 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 30 | `sSrcSlaveId` | `varchar(50)` | NO |
| 31 | `sSrcId` | `varchar(50)` | NO |
| 32 | `sSrcNo` | `varchar(50)` | NO |
| 33 | `dSrcQty` | `decimal(18,6)` | YES |
| 34 | `sSlaveMemo` | `text` | YES |
| 35 | `sTaxId` | `varchar(100)` | YES |
| 36 | `dMaterialsNoTaxPrice` | `decimal(24,13)` | NO |
| 37 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 38 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 39 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 40 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 41 | `sOrderId` | `varchar(2000)` | NO |
| 42 | `sOrderSlaveId` | `varchar(2000)` | NO |
| 43 | `sOrderNo` | `varchar(2000)` | NO |
| 44 | `sWorkOrderId` | `varchar(2000)` | NO |
| 45 | `sWorkOrderSlaveId` | `varchar(2000)` | NO |
| 46 | `sWorkOrderNo` | `varchar(2000)` | NO |
| 47 | `sWorkOrderControlId` | `varchar(50)` | NO |
| 48 | `sWorkOrderMaterialsTbId` | `varchar(50)` | NO |
| 49 | `sPurchaseApplyId` | `varchar(50)` | NO |
| 50 | `sPurchaseApplySlaveId` | `varchar(50)` | NO |
| 51 | `sPurchaseApplyNo` | `varchar(50)` | NO |
| 52 | `dMaterialsPrice1` | `decimal(24,13)` | NO |
| 53 | `dMaterialsMoney1` | `decimal(18,6)` | NO |
| 54 | `dMaterialsNoTaxPrice1` | `decimal(24,13)` | NO |
| 55 | `dMaterialsNoTaxMoney1` | `decimal(18,6)` | YES |
| 56 | `dMaterialsTaxMoney1` | `decimal(18,6)` | YES |
| 57 | `sSuppBillNo` | `varchar(255)` | NO |
| 58 | `sSupplyName` | `varchar(255)` | YES |

## Definition

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

## Narrative

_No human-written narrative yet._
