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

## Narrative

_No human-written narrative yet._
