# `viw_purpurchasechecking_pz` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | NO |
| 2 | `sBrandsId` | `varchar(100)` | NO |
| 3 | `sSubsidiaryId` | `varchar(100)` | NO |
| 4 | `tCreateDate` | `datetime` | NO |
| 5 | `sMakePerson` | `varchar(255)` | NO |
| 6 | `iOrder` | `int` | NO |
| 7 | `sFormId` | `varchar(100)` | NO |
| 8 | `sBillNo` | `varchar(255)` | NO |
| 9 | `sSupplyId` | `varchar(100)` | NO |
| 10 | `sContacts` | `varchar(255)` | YES |
| 11 | `sPhone` | `varchar(255)` | YES |
| 12 | `tDeliverDate` | `datetime` | YES |
| 13 | `sPurchaseManId` | `varchar(100)` | YES |
| 14 | `sGetPayId` | `varchar(100)` | YES |
| 15 | `tGetPayDate` | `datetime` | YES |
| 16 | `sConsignee` | `varchar(255)` | YES |
| 17 | `sConsigneeMobile` | `varchar(255)` | YES |
| 18 | `sDeliverId` | `varchar(100)` | YES |
| 19 | `sProvince` | `varchar(255)` | YES |
| 20 | `sCity` | `varchar(255)` | YES |
| 21 | `sArea` | `varchar(255)` | YES |
| 22 | `sDeliverTo` | `varchar(255)` | YES |
| 23 | `sManualNo` | `varchar(255)` | YES |
| 24 | `sMemo` | `text` | YES |
| 25 | `bCheck` | `bit(1)` | NO |
| 26 | `tCheckDate` | `datetime` | YES |
| 27 | `sCheckPerson` | `varchar(255)` | YES |
| 28 | `bPrint` | `bit(1)` | NO |
| 29 | `bCopyLimit` | `bit(1)` | NO |
| 30 | `dAdvanceMoney` | `decimal(18,6)` | NO |
| 31 | `tAdvanceDate` | `datetime` | YES |
| 32 | `dRealAdvanceMoney` | `decimal(18,6)` | NO |
| 33 | `sCurrency` | `varchar(255)` | YES |
| 34 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 35 | `sStatus` | `varchar(255)` | YES |
| 36 | `bInvalid` | `bit(1)` | NO |
| 37 | `sMReserve1` | `varchar(255)` | YES |
| 38 | `sMReserve2` | `varchar(255)` | YES |
| 39 | `sMReserve3` | `varchar(255)` | YES |
| 40 | `sMReserve4` | `varchar(255)` | YES |
| 41 | `sMReserve5` | `varchar(255)` | YES |
| 42 | `sMReserve6` | `varchar(255)` | YES |
| 43 | `dMReserve1` | `decimal(18,6)` | YES |
| 44 | `dMReserve2` | `decimal(18,6)` | YES |
| 45 | `dMReserve3` | `decimal(18,6)` | YES |
| 46 | `iMReserve1` | `int` | YES |
| 47 | `iMReserve2` | `int` | YES |
| 48 | `iMReserve3` | `int` | YES |
| 49 | `tMReserve1` | `datetime` | YES |
| 50 | `tMReserve2` | `datetime` | YES |
| 51 | `sInvoiceNo` | `varchar(255)` | YES |
| 52 | `iVouchermark` | `int` | YES |
| 53 | `sSlaveId` | `varchar(100)` | NO |
| 54 | `iSlaveOrder` | `int` | NO |
| 55 | `sMaterialsId` | `varchar(100)` | NO |
| 56 | `sMaterialsStyle` | `varchar(255)` | NO |
| 57 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 58 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 59 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 60 | `dConversionQty` | `decimal(18,6)` | NO |
| 61 | `dMaterialsPrice` | `decimal(18,6)` | NO |
| 62 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 63 | `sSrcSlaveId` | `varchar(100)` | NO |
| 64 | `sSrcId` | `varchar(100)` | NO |
| 65 | `sSrcNo` | `varchar(255)` | NO |
| 66 | `dSrcQty` | `decimal(18,6)` | YES |
| 67 | `sSlaveMemo` | `text` | YES |
| 68 | `sTaxId` | `varchar(100)` | YES |
| 69 | `dMaterialsNoTaxPrice` | `decimal(18,6)` | YES |
| 70 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 71 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 72 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 73 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 74 | `dInvoiceMoney` | `decimal(18,6)` | NO |
| 75 | `dLossMoney` | `decimal(18,6)` | NO |
| 76 | `dAuxiliaryLossQty` | `decimal(18,6)` | NO |
| 77 | `dLossQty` | `decimal(18,6)` | NO |
| 78 | `sLossType` | `varchar(255)` | NO |
| 79 | `sPurchaseOrderId` | `varchar(100)` | NO |
| 80 | `sPurchaseOrderNo` | `varchar(255)` | NO |
| 81 | `sOrderId` | `varchar(100)` | NO |
| 82 | `sOrderNo` | `varchar(255)` | NO |
| 83 | `sWorkOrderId` | `varchar(100)` | NO |
| 84 | `sWorkOrderNo` | `varchar(4000)` | NO |
| 85 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 86 | `sBarcode` | `varchar(255)` | YES |
| 87 | `sSReserve1` | `varchar(255)` | YES |
| 88 | `sSReserve2` | `varchar(255)` | YES |
| 89 | `sSReserve3` | `varchar(255)` | YES |
| 90 | `sSReserve4` | `varchar(255)` | YES |
| 91 | `sSReserve5` | `varchar(255)` | YES |
| 92 | `sSReserve6` | `varchar(255)` | YES |
| 93 | `dSReserve1` | `decimal(18,6)` | YES |
| 94 | `dSReserve2` | `decimal(18,6)` | YES |
| 95 | `dSReserve3` | `decimal(18,6)` | YES |
| 96 | `iSReserve1` | `int` | YES |
| 97 | `iSReserve2` | `int` | YES |
| 98 | `iSReserve3` | `int` | YES |
| 99 | `tSReserve1` | `datetime` | YES |
| 100 | `tSReserve2` | `datetime` | YES |
| 101 | `dPayMoney` | `decimal(18,6)` | NO |
| 102 | `sPurchaseOrderSlaveId` | `varchar(100)` | NO |
| 103 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 104 | `bInvoiceComplete` | `bit(1)` | NO |
| 105 | `iIncrement` | `int` | NO |
| 106 | `sPurchaseApplyId` | `varchar(100)` | NO |
| 107 | `sPurchaseApplySlaveId` | `varchar(100)` | NO |
| 108 | `sPurchaseApplySlaveNo` | `varchar(255)` | NO |
| 109 | `sWorkOrderMaterialsTbId` | `varchar(100)` | NO |
| 110 | `sOrderSlaveId` | `varchar(100)` | NO |
| 111 | `sSrcFormId` | `varchar(100)` | NO |
| 112 | `dSrcAuxiliaryQty` | `decimal(18,6)` | NO |
| 113 | `bPaymentComplete` | `bit(1)` | NO |
| 114 | `dProductMoney` | `decimal(18,6)` | NO |
| 115 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 116 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 117 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 118 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 119 | `sVoucherBillNo` | `varchar(255)` | NO |
| 120 | `sVoucherBillId` | `varchar(255)` | NO |
| 121 | `sVoucherBillminusNo` | `varchar(255)` | NO |
| 122 | `sVoucherBillminusId` | `varchar(255)` | NO |

## Definition

```sql
select `purpurchasecheckingmaster`.`sId` AS `sId`,`purpurchasecheckingmaster`.`sBrandsId` AS `sBrandsId`,`purpurchasecheckingmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`purpurchasecheckingmaster`.`tCreateDate` AS `tCreateDate`,`purpurchasecheckingmaster`.`sMakePerson` AS `sMakePerson`,`purpurchasecheckingmaster`.`iOrder` AS `iOrder`,`purpurchasecheckingmaster`.`sFormId` AS `sFormId`,`purpurchasecheckingmaster`.`sBillNo` AS `sBillNo`,`purpurchasecheckingmaster`.`sSupplyId` AS `sSupplyId`,`purpurchasecheckingmaster`.`sContacts` AS `sContacts`,`purpurchasecheckingmaster`.`sPhone` AS `sPhone`,`purpurchasecheckingmaster`.`tDeliverDate` AS `tDeliverDate`,`purpurchasecheckingmaster`.`sPurchaseManId` AS `sPurchaseManId`,`purpurchasecheckingmaster`.`sGetPayId` AS `sGetPayId`,`purpurchasecheckingmaster`.`tGetPayDate` AS `tGetPayDate`,`purpurchasecheckingmaster`.`sConsignee` AS `sConsignee`,`purpurchasecheckingmaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`purpurchasecheckingmaster`.`sDeliverId` AS `sDeliverId`,`purpurchasecheckingmaster`.`sProvince` AS `sProvince`,`purpurchasecheckingmaster`.`sCity` AS `sCity`,`purpurchasecheckingmaster`.`sArea` AS `sArea`,`purpurchasecheckingmaster`.`sDeliverTo` AS `sDeliverTo`,`purpurchasecheckingmaster`.`sManualNo` AS `sManualNo`,`purpurchasecheckingmaster`.`sMemo` AS `sMemo`,`purpurchasecheckingmaster`.`bCheck` AS `bCheck`,`purpurchasecheckingmaster`.`tCheckDate` AS `tCheckDate`,`purpurchasecheckingmaster`.`sCheckPerson` AS `sCheckPerson`,`purpurchasecheckingmaster`.`bPrint` AS `bPrint`,`purpurchasecheckingmaster`.`bCopyLimit` AS `bCopyLimit`,`purpurchasecheckingmaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`purpurchasecheckingmaster`.`tAdvanceDate` AS `tAdvanceDate`,`purpurchasecheckingmaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`purpurchasecheckingmaster`.`sCurrency` AS `sCurrency`,`purpurchasecheckingmaster`.`dCurrencyRate` AS `dCurrencyRate`,`purpurchasecheckingmaster`.`sStatus` AS `sStatus`,`purpurchasecheckingmaster`.`bInvalid` AS `bInvalid`,`purpurchasecheckingmaster`.`sMReserve1` AS `sMReserve1`,`purpurchasecheckingmaster`.`sMReserve2` AS `sMReserve2`,`purpurchasecheckingmaster`.`sMReserve3` AS `sMReserve3`,`purpurchasecheckingmaster`.`sMReserve4` AS `sMReserve4`,`purpurchasecheckingmaster`.`sMReserve5` AS `sMReserve5`,`purpurchasecheckingmaster`.`sMReserve6` AS `sMReserve6`,`purpurchasecheckingmaster`.`dMReserve1` AS `dMReserve1`,`purpurchasecheckingmaster`.`dMReserve2` AS `dMReserve2`,`purpurchasecheckingmaster`.`dMReserve3` AS `dMReserve3`,`purpurchasecheckingmaster`.`iMReserve1` AS `iMReserve1`,`purpurchasecheckingmaster`.`iMReserve2` AS `iMReserve2`,`purpurchasecheckingmaster`.`iMReserve3` AS `iMReserve3`,`purpurchasecheckingmaster`.`tMReserve1` AS `tMReserve1`,`purpurchasecheckingmaster`.`tMReserve2` AS `tMReserve2`,`purpurchasecheckingmaster`.`sInvoiceNo` AS `sInvoiceNo`,`purpurchasecheckingmaster`.`iVouchermark` AS `iVouchermark`,`purpurchasecheckingslave`.`sId` AS `sSlaveId`,`purpurchasecheckingslave`.`iOrder` AS `iSlaveOrder`,`purpurchasecheckingslave`.`sMaterialsId` AS `sMaterialsId`,`purpurchasecheckingslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`purpurchasecheckingslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`purpurchasecheckingslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`purpurchasecheckingslave`.`dMaterialsQty` AS `dMaterialsQty`,`purpurchasecheckingslave`.`dConversionQty` AS `dConversionQty`,`purpurchasecheckingslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`purpurchasecheckingslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`purpurchasecheckingslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`purpurchasecheckingslave`.`sSrcId` AS `sSrcId`,`purpurchasecheckingslave`.`sSrcNo` AS `sSrcNo`,`purpurchasecheckingslave`.`dSrcQty` AS `dSrcQty`,`purpurchasecheckingslave`.`sSlaveMemo` AS `sSlaveMemo`,`purpurchasecheckingslave`.`sTaxId` AS `sTaxId`,`purpurchasecheckingslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`purpurchasecheckingslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`purpurchasecheckingslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`purpurchasecheckingslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`purpurchasecheckingslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`purpurchasecheckingslave`.`dInvoiceMoney` AS `dInvoiceMoney`,`purpurchasecheckingslave`.`dLossMoney` AS `dLossMoney`,`purpurchasecheckingslave`.`dAuxiliaryLossQty` AS `dAuxiliaryLossQty`,`purpurchasecheckingslave`.`dLossQty` AS `dLossQty`,`purpurchasecheckingslave`.`sLossType` AS `sLossType`,`purpurchasecheckingslave`.`sPurchaseOrderId` AS `sPurchaseOrderId`,`purpurchasecheckingslave`.`sPurchaseOrderNo` AS `sPurchaseOrderNo`,`purpurchasecheckingslave`.`sOrderId` AS `sOrderId`,`purpurchasecheckingslave`.`sOrderNo` AS `sOrderNo`,`purpurchasecheckingslave`.`sWorkOrderId` AS `sWorkOrderId`,`purpurchasecheckingslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`purpurchasecheckingslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`purpurchasecheckingslave`.`sBarcode` AS `sBarcode`,`purpurchasecheckingslave`.`sSReserve1` AS `sSReserve1`,`purpurchasecheckingslave`.`sSReserve2` AS `sSReserve2`,`purpurchasecheckingslave`.`sSReserve3` AS `sSReserve3`,`purpurchasecheckingslave`.`sSReserve4` AS `sSReserve4`,`purpurchasecheckingslave`.`sSReserve5` AS `sSReserve5`,`purpurchasecheckingslave`.`sSReserve6` AS `sSReserve6`,`purpurchasecheckingslave`.`dSReserve1` AS `dSReserve1`,`purpurchasecheckingslave`.`dSReserve2` AS `dSReserve2`,`purpurchasecheckingslave`.`dSReserve3` AS `dSReserve3`,`purpurchasecheckingslave`.`iSReserve1` AS `iSReserve1`,`purpurchasecheckingslave`.`iSReserve2` AS `iSReserve2`,`purpurchasecheckingslave`.`iSReserve3` AS `iSReserve3`,`purpurchasecheckingslave`.`tSReserve1` AS `tSReserve1`,`purpurchasecheckingslave`.`tSReserve2` AS `tSReserve2`,`purpurchasecheckingslave`.`dPayMoney` AS `dPayMoney`,`purpurchasecheckingslave`.`sPurchaseOrderSlaveId` AS `sPurchaseOrderSlaveId`,`purpurchasecheckingslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`purpurchasecheckingslave`.`bInvoiceComplete` AS `bInvoiceComplete`,`purpurchasecheckingslave`.`iIncrement` AS `iIncrement`,`purpurchasecheckingslave`.`sPurchaseApplyId` AS `sPurchaseApplyId`,`purpurchasecheckingslave`.`sPurchaseApplySlaveId` AS `sPurchaseApplySlaveId`,`purpurchasecheckingslave`.`sPurchaseApplySlaveNo` AS `sPurchaseApplySlaveNo`,`purpurchasecheckingslave`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`purpurchasecheckingslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`purpurchasecheckingslave`.`sSrcFormId` AS `sSrcFormId`,`purpurchasecheckingslave`.`dSrcAuxiliaryQty` AS `dSrcAuxiliaryQty`,`purpurchasecheckingslave`.`bPaymentComplete` AS `bPaymentComplete`,`purpurchasecheckingslave`.`dMaterialsMoney` AS `dProductMoney`,`purpurchasecheckingslave`.`dMaterialsTaxMoney` AS `dProductTaxMoney`,`purpurchasecheckingslave`.`dMaterialsNoTaxMoney` AS `dProductNoTaxMoney`,`purpurchasecheckingslave`.`dMaterialsForeignMoney` AS `dProductForeignMoney`,`purpurchasecheckingslave`.`dMaterialsTaxForeignMoney` AS `dProductTaxForeignMoney`,`purpurchasecheckingslave`.`sVoucherBillNo` AS `sVoucherBillNo`,`purpurchasecheckingslave`.`sVoucherBillId` AS `sVoucherBillId`,`purpurchasecheckingslave`.`sVoucherBillminusNo` AS `sVoucherBillminusNo`,`purpurchasecheckingslave`.`sVoucherBillminusId` AS `sVoucherBillminusId` from (`purpurchasecheckingmaster` join `purpurchasecheckingslave` on((`purpurchasecheckingslave`.`sParentId` = `purpurchasecheckingmaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
