# `viw_purpurchasearrive` (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)` | YES |
| 31 | `tAdvanceDate` | `datetime` | YES |
| 32 | `dRealAdvanceMoney` | `decimal(18,6)` | YES |
| 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 | `sSlaveId` | `varchar(100)` | NO |
| 52 | `sMaterialsId` | `varchar(100)` | NO |
| 53 | `sMaterialsStyle` | `varchar(255)` | NO |
| 54 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 55 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 56 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 57 | `dConversionQty` | `decimal(18,6)` | NO |
| 58 | `dMaterialsPrice` | `decimal(18,6)` | NO |
| 59 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 60 | `dPresentAuxiliaryQty` | `decimal(18,6)` | NO |
| 61 | `dPresentQty` | `decimal(18,6)` | NO |
| 62 | `sSrcSlaveId` | `varchar(100)` | NO |
| 63 | `sSrcId` | `varchar(100)` | NO |
| 64 | `sSrcNo` | `varchar(255)` | NO |
| 65 | `dSrcQty` | `decimal(18,6)` | YES |
| 66 | `sSlaveMemo` | `text` | YES |
| 67 | `sTaxId` | `varchar(100)` | YES |
| 68 | `dMaterialsNoTaxPrice` | `decimal(18,6)` | YES |
| 69 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 70 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 71 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 72 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 73 | `bInStoreComplete` | `bit(1)` | NO |
| 74 | `dInStoreAuxiliaryQty` | `decimal(18,6)` | NO |
| 75 | `dInStoreQty` | `decimal(18,6)` | NO |
| 76 | `sPurchaseOrderId` | `varchar(100)` | NO |
| 77 | `sPurchaseOrderSlaveId` | `varchar(100)` | NO |
| 78 | `sPurchaseOrderNo` | `varchar(255)` | NO |
| 79 | `sOrderId` | `varchar(100)` | NO |
| 80 | `sOrderNo` | `varchar(255)` | NO |
| 81 | `sWorkOrderId` | `varchar(100)` | NO |
| 82 | `sWorkOrderNo` | `varchar(4000)` | NO |
| 83 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 84 | `sBarcode` | `varchar(255)` | YES |
| 85 | `sSReserve1` | `varchar(255)` | YES |
| 86 | `sSReserve2` | `varchar(255)` | YES |
| 87 | `sSReserve3` | `varchar(255)` | YES |
| 88 | `sSReserve4` | `varchar(255)` | YES |
| 89 | `sSReserve5` | `varchar(255)` | YES |
| 90 | `sSReserve6` | `varchar(255)` | YES |
| 91 | `dSReserve1` | `decimal(18,6)` | YES |
| 92 | `dSReserve2` | `decimal(18,6)` | YES |
| 93 | `dSReserve3` | `decimal(18,6)` | YES |
| 94 | `iSReserve1` | `int` | YES |
| 95 | `iSReserve2` | `int` | YES |
| 96 | `iSReserve3` | `int` | YES |
| 97 | `tSReserve1` | `datetime` | YES |
| 98 | `tSReserve2` | `datetime` | YES |
| 99 | `iSlaveOrder` | `int` | NO |
| 100 | `dGiveAuxiliaryQty` | `decimal(18,6)` | NO |
| 101 | `dGiveQty` | `decimal(18,6)` | NO |
| 102 | `dPayMoney` | `decimal(18,6)` | NO |
| 103 | `sSlaveMakePerson` | `varchar(100)` | NO |
| 104 | `dMaterialsTestAuxiliaryQty` | `decimal(18,6)` | NO |
| 105 | `dMaterialsTestQty` | `decimal(18,6)` | NO |
| 106 | `bMaterialsTestComplete` | `bit(1)` | NO |
| 107 | `sDefineNo` | `varchar(255)` | NO |
| 108 | `sDefineNo2` | `varchar(255)` | NO |
| 109 | `iIncrement` | `int` | NO |
| 110 | `bVMI` | `bit(1)` | YES |
| 111 | `dKGQty` | `decimal(18,6)` | YES |
| 112 | `sPurchaseApplyId` | `varchar(100)` | YES |
| 113 | `sPurchaseApplySlaveId` | `varchar(100)` | YES |
| 114 | `sPurchaseApplyNo` | `varchar(255)` | YES |
| 115 | `bFast` | `bit(1)` | YES |
| 116 | `tFastDate` | `datetime` | YES |
| 117 | `sFastPerson` | `varchar(255)` | YES |
| 118 | `sMaterialsType` | `varchar(50)` | YES |

## Definition

```sql
select `purpurchasearrivemaster`.`sId` AS `sId`,`purpurchasearrivemaster`.`sBrandsId` AS `sBrandsId`,`purpurchasearrivemaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`purpurchasearrivemaster`.`tCreateDate` AS `tCreateDate`,`purpurchasearrivemaster`.`sMakePerson` AS `sMakePerson`,`purpurchasearrivemaster`.`iOrder` AS `iOrder`,`purpurchasearrivemaster`.`sFormId` AS `sFormId`,`purpurchasearrivemaster`.`sBillNo` AS `sBillNo`,`purpurchasearrivemaster`.`sSupplyId` AS `sSupplyId`,`purpurchasearrivemaster`.`sContacts` AS `sContacts`,`purpurchasearrivemaster`.`sPhone` AS `sPhone`,`purpurchasearrivemaster`.`tDeliverDate` AS `tDeliverDate`,`purpurchasearrivemaster`.`sPurchaseManId` AS `sPurchaseManId`,`purpurchasearrivemaster`.`sGetPayId` AS `sGetPayId`,`purpurchasearrivemaster`.`tGetPayDate` AS `tGetPayDate`,`purpurchasearrivemaster`.`sConsignee` AS `sConsignee`,`purpurchasearrivemaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`purpurchasearrivemaster`.`sDeliverId` AS `sDeliverId`,`purpurchasearrivemaster`.`sProvince` AS `sProvince`,`purpurchasearrivemaster`.`sCity` AS `sCity`,`purpurchasearrivemaster`.`sArea` AS `sArea`,`purpurchasearrivemaster`.`sDeliverTo` AS `sDeliverTo`,`purpurchasearrivemaster`.`sManualNo` AS `sManualNo`,`purpurchasearrivemaster`.`sMemo` AS `sMemo`,`purpurchasearrivemaster`.`bCheck` AS `bCheck`,`purpurchasearrivemaster`.`tCheckDate` AS `tCheckDate`,`purpurchasearrivemaster`.`sCheckPerson` AS `sCheckPerson`,`purpurchasearrivemaster`.`bPrint` AS `bPrint`,`purpurchasearrivemaster`.`bCopyLimit` AS `bCopyLimit`,`purpurchasearrivemaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`purpurchasearrivemaster`.`tAdvanceDate` AS `tAdvanceDate`,`purpurchasearrivemaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`purpurchasearrivemaster`.`sCurrency` AS `sCurrency`,`purpurchasearrivemaster`.`dCurrencyRate` AS `dCurrencyRate`,`purpurchasearrivemaster`.`sStatus` AS `sStatus`,`purpurchasearrivemaster`.`bInvalid` AS `bInvalid`,`purpurchasearrivemaster`.`sMReserve1` AS `sMReserve1`,`purpurchasearrivemaster`.`sMReserve2` AS `sMReserve2`,`purpurchasearrivemaster`.`sMReserve3` AS `sMReserve3`,`purpurchasearrivemaster`.`sMReserve4` AS `sMReserve4`,`purpurchasearrivemaster`.`sMReserve5` AS `sMReserve5`,`purpurchasearrivemaster`.`sMReserve6` AS `sMReserve6`,`purpurchasearrivemaster`.`dMReserve1` AS `dMReserve1`,`purpurchasearrivemaster`.`dMReserve2` AS `dMReserve2`,`purpurchasearrivemaster`.`dMReserve3` AS `dMReserve3`,`purpurchasearrivemaster`.`iMReserve1` AS `iMReserve1`,`purpurchasearrivemaster`.`iMReserve2` AS `iMReserve2`,`purpurchasearrivemaster`.`iMReserve3` AS `iMReserve3`,`purpurchasearrivemaster`.`tMReserve1` AS `tMReserve1`,`purpurchasearrivemaster`.`tMReserve2` AS `tMReserve2`,`purpurchasearriveslave`.`sId` AS `sSlaveId`,`purpurchasearriveslave`.`sMaterialsId` AS `sMaterialsId`,`purpurchasearriveslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`purpurchasearriveslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`purpurchasearriveslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`purpurchasearriveslave`.`dMaterialsQty` AS `dMaterialsQty`,`purpurchasearriveslave`.`dConversionQty` AS `dConversionQty`,`purpurchasearriveslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`purpurchasearriveslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`purpurchasearriveslave`.`dPresentAuxiliaryQty` AS `dPresentAuxiliaryQty`,`purpurchasearriveslave`.`dPresentQty` AS `dPresentQty`,`purpurchasearriveslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`purpurchasearriveslave`.`sSrcId` AS `sSrcId`,`purpurchasearriveslave`.`sSrcNo` AS `sSrcNo`,`purpurchasearriveslave`.`dSrcQty` AS `dSrcQty`,`purpurchasearriveslave`.`sSlaveMemo` AS `sSlaveMemo`,`purpurchasearriveslave`.`sTaxId` AS `sTaxId`,`purpurchasearriveslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`purpurchasearriveslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`purpurchasearriveslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`purpurchasearriveslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`purpurchasearriveslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`purpurchasearriveslave`.`bInStoreComplete` AS `bInStoreComplete`,`purpurchasearriveslave`.`dInStoreAuxiliaryQty` AS `dInStoreAuxiliaryQty`,`purpurchasearriveslave`.`dInStoreQty` AS `dInStoreQty`,`purpurchasearriveslave`.`sPurchaseOrderId` AS `sPurchaseOrderId`,`purpurchasearriveslave`.`sPurchaseOrderSlaveId` AS `sPurchaseOrderSlaveId`,`purpurchasearriveslave`.`sPurchaseOrderNo` AS `sPurchaseOrderNo`,`purpurchasearriveslave`.`sOrderId` AS `sOrderId`,`purpurchasearriveslave`.`sOrderNo` AS `sOrderNo`,`purpurchasearriveslave`.`sWorkOrderId` AS `sWorkOrderId`,`purpurchasearriveslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`purpurchasearriveslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`purpurchasearriveslave`.`sBarcode` AS `sBarcode`,`purpurchasearriveslave`.`sSReserve1` AS `sSReserve1`,`purpurchasearriveslave`.`sSReserve2` AS `sSReserve2`,`purpurchasearriveslave`.`sSReserve3` AS `sSReserve3`,`purpurchasearriveslave`.`sSReserve4` AS `sSReserve4`,`purpurchasearriveslave`.`sSReserve5` AS `sSReserve5`,`purpurchasearriveslave`.`sSReserve6` AS `sSReserve6`,`purpurchasearriveslave`.`dSReserve1` AS `dSReserve1`,`purpurchasearriveslave`.`dSReserve2` AS `dSReserve2`,`purpurchasearriveslave`.`dSReserve3` AS `dSReserve3`,`purpurchasearriveslave`.`iSReserve1` AS `iSReserve1`,`purpurchasearriveslave`.`iSReserve2` AS `iSReserve2`,`purpurchasearriveslave`.`iSReserve3` AS `iSReserve3`,`purpurchasearriveslave`.`tSReserve1` AS `tSReserve1`,`purpurchasearriveslave`.`tSReserve2` AS `tSReserve2`,`purpurchasearriveslave`.`iOrder` AS `iSlaveOrder`,`purpurchasearriveslave`.`dGiveAuxiliaryQty` AS `dGiveAuxiliaryQty`,`purpurchasearriveslave`.`dGiveQty` AS `dGiveQty`,`purpurchasearriveslave`.`dPayMoney` AS `dPayMoney`,`purpurchasearriveslave`.`sMakePerson` AS `sSlaveMakePerson`,`purpurchasearriveslave`.`dMaterialsTestAuxiliaryQty` AS `dMaterialsTestAuxiliaryQty`,`purpurchasearriveslave`.`dMaterialsTestQty` AS `dMaterialsTestQty`,`purpurchasearriveslave`.`bMaterialsTestComplete` AS `bMaterialsTestComplete`,`purpurchasearriveslave`.`sDefineNo` AS `sDefineNo`,`purpurchasearriveslave`.`sDefineNo2` AS `sDefineNo2`,`purpurchasearriveslave`.`iIncrement` AS `iIncrement`,`purpurchasearriveslave`.`bVMI` AS `bVMI`,`purpurchasearriveslave`.`dKGQty` AS `dKGQty`,`purpurchasearriveslave`.`sPurchaseApplyId` AS `sPurchaseApplyId`,`purpurchasearriveslave`.`sPurchaseApplySlaveId` AS `sPurchaseApplySlaveId`,`purpurchasearriveslave`.`sPurchaseApplyNo` AS `sPurchaseApplyNo`,`purpurchasearriveslave`.`bFast` AS `bFast`,`purpurchasearriveslave`.`tFastDate` AS `tFastDate`,`purpurchasearriveslave`.`sFastPerson` AS `sFastPerson`,`elematerials`.`sMaterialsType` AS `sMaterialsType` from ((`purpurchasearrivemaster` join `purpurchasearriveslave` on((`purpurchasearrivemaster`.`sId` = `purpurchasearriveslave`.`sParentId`))) join `elematerials` on((`purpurchasearriveslave`.`sMaterialsId` = `elematerials`.`sId`)))
```

## Narrative

_No human-written narrative yet._
