# `viw_ai_purpurchasereject` (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 | `tUpdateDate` | `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)` | NO |
| 11 | `sContacts` | `varchar(255)` | YES |
| 12 | `sPhone` | `varchar(255)` | YES |
| 13 | `tDeliverDate` | `datetime` | YES |
| 14 | `sPurchaseManId` | `varchar(100)` | YES |
| 15 | `sGetPayId` | `varchar(100)` | YES |
| 16 | `tGetPayDate` | `datetime` | YES |
| 17 | `sConsignee` | `varchar(255)` | YES |
| 18 | `sConsigneeMobile` | `varchar(255)` | YES |
| 19 | `sDeliverId` | `varchar(100)` | YES |
| 20 | `sProvince` | `varchar(255)` | YES |
| 21 | `sCity` | `varchar(255)` | YES |
| 22 | `sArea` | `varchar(255)` | YES |
| 23 | `sDeliverTo` | `varchar(255)` | YES |
| 24 | `sManualNo` | `varchar(255)` | YES |
| 25 | `sMemo` | `text` | YES |
| 26 | `bCheck` | `bit(1)` | NO |
| 27 | `tCheckDate` | `datetime` | YES |
| 28 | `sCheckPerson` | `varchar(255)` | YES |
| 29 | `bPrint` | `bit(1)` | NO |
| 30 | `bCopyLimit` | `bit(1)` | NO |
| 31 | `dAdvanceMoney` | `decimal(18,6)` | NO |
| 32 | `tAdvanceDate` | `datetime` | YES |
| 33 | `dRealAdvanceMoney` | `decimal(18,6)` | NO |
| 34 | `sCurrency` | `varchar(255)` | YES |
| 35 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 36 | `sStatus` | `varchar(255)` | YES |
| 37 | `bInvalid` | `bit(1)` | NO |
| 38 | `sMReserve1` | `varchar(255)` | YES |
| 39 | `sMReserve2` | `varchar(255)` | YES |
| 40 | `sMReserve3` | `varchar(255)` | YES |
| 41 | `sMReserve4` | `varchar(255)` | YES |
| 42 | `sMReserve5` | `varchar(255)` | YES |
| 43 | `sMReserve6` | `varchar(255)` | YES |
| 44 | `dMReserve1` | `decimal(18,6)` | YES |
| 45 | `dMReserve2` | `decimal(18,6)` | YES |
| 46 | `dMReserve3` | `decimal(18,6)` | YES |
| 47 | `iMReserve1` | `int` | YES |
| 48 | `iMReserve2` | `int` | YES |
| 49 | `iMReserve3` | `int` | YES |
| 50 | `tMReserve1` | `datetime` | YES |
| 51 | `tMReserve2` | `datetime` | YES |
| 52 | `sSlaveId` | `varchar(100)` | NO |
| 53 | `iSlaveOrder` | `int` | NO |
| 54 | `sMaterialsId` | `varchar(100)` | NO |
| 55 | `sMaterialsStyle` | `varchar(255)` | NO |
| 56 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 57 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 58 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 59 | `dConversionQty` | `decimal(18,6)` | NO |
| 60 | `dMaterialsPrice` | `decimal(18,6)` | NO |
| 61 | `dMaterialsMoney` | `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 | `bCheckingComplete` | `bit(1)` | NO |
| 74 | `dCheckingAuxiliaryQty` | `decimal(18,6)` | NO |
| 75 | `dCheckingQty` | `decimal(18,6)` | NO |
| 76 | `sDefineNo` | `varchar(100)` | NO |
| 77 | `sDefineNo2` | `varchar(100)` | NO |
| 78 | `sWareHouseId` | `varchar(100)` | NO |
| 79 | `sLocationId` | `varchar(100)` | NO |
| 80 | `sWareHouseLocationId` | `varchar(100)` | NO |
| 81 | `sPurchaseOrderId` | `varchar(100)` | NO |
| 82 | `sPurchaseOrderNo` | `varchar(255)` | NO |
| 83 | `sOrderId` | `varchar(100)` | NO |
| 84 | `sOrderNo` | `varchar(255)` | NO |
| 85 | `sWorkOrderId` | `varchar(100)` | NO |
| 86 | `sWorkOrderNo` | `varchar(4000)` | NO |
| 87 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 88 | `dPayMoney` | `decimal(18,6)` | NO |
| 89 | `sBarcode` | `varchar(255)` | YES |
| 90 | `dInStoreAuxiliaryQty` | `decimal(18,6)` | NO |
| 91 | `dInStoreQty` | `decimal(18,6)` | NO |
| 92 | `bInStoreComplete` | `bit(1)` | NO |
| 93 | `sSReserve1` | `varchar(255)` | YES |
| 94 | `sSReserve2` | `varchar(255)` | YES |
| 95 | `sSReserve3` | `varchar(255)` | YES |
| 96 | `sSReserve4` | `varchar(255)` | YES |
| 97 | `sSReserve5` | `varchar(255)` | YES |
| 98 | `sSReserve6` | `varchar(255)` | YES |
| 99 | `dSReserve1` | `decimal(18,6)` | YES |
| 100 | `dSReserve2` | `decimal(18,6)` | YES |
| 101 | `dSReserve3` | `decimal(18,6)` | YES |
| 102 | `iSReserve1` | `int` | YES |
| 103 | `iSReserve2` | `int` | YES |
| 104 | `iSReserve3` | `int` | YES |
| 105 | `tSReserve1` | `datetime` | YES |
| 106 | `tSReserve2` | `datetime` | YES |
| 107 | `sType` | `varchar(255)` | NO |
| 108 | `sPurchaseOrderSlaveId` | `varchar(100)` | NO |
| 109 | `iIncrement` | `int` | NO |
| 110 | `sPurchaseApplyId` | `varchar(100)` | NO |
| 111 | `sPurchaseApplySlaveId` | `varchar(100)` | NO |
| 112 | `sPurchaseApplySlaveNo` | `varchar(255)` | NO |
| 113 | `bInvoiceComplete` | `bit(1)` | NO |
| 114 | `dInvoiceMoney` | `decimal(18,6)` | NO |
| 115 | `bPaymentComplete` | `bit(1)` | NO |
| 116 | `sMinusSrcId` | `varchar(255)` | NO |
| 117 | `sAccidentId` | `varchar(100)` | YES |
| 118 | `sSupplyName` | `varchar(255)` | NO |
| 119 | `sSupplyNo` | `varchar(255)` | NO |
| 120 | `sMaterialsName` | `varchar(100)` | NO |
| 121 | `sMaterialsNo` | `varchar(50)` | NO |

## Definition

```sql
select `purpurchaserejectmaster`.`sId` AS `sId`,`purpurchaserejectmaster`.`sBrandsId` AS `sBrandsId`,`purpurchaserejectmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`purpurchaserejectmaster`.`tCreateDate` AS `tCreateDate`,`purpurchaserejectmaster`.`tCreateDate` AS `tUpdateDate`,`purpurchaserejectmaster`.`sMakePerson` AS `sMakePerson`,`purpurchaserejectmaster`.`iOrder` AS `iOrder`,`purpurchaserejectmaster`.`sFormId` AS `sFormId`,`purpurchaserejectmaster`.`sBillNo` AS `sBillNo`,`purpurchaserejectmaster`.`sSupplyId` AS `sSupplyId`,`purpurchaserejectmaster`.`sContacts` AS `sContacts`,`purpurchaserejectmaster`.`sPhone` AS `sPhone`,`purpurchaserejectmaster`.`tDeliverDate` AS `tDeliverDate`,`purpurchaserejectmaster`.`sPurchaseManId` AS `sPurchaseManId`,`purpurchaserejectmaster`.`sGetPayId` AS `sGetPayId`,`purpurchaserejectmaster`.`tGetPayDate` AS `tGetPayDate`,`purpurchaserejectmaster`.`sConsignee` AS `sConsignee`,`purpurchaserejectmaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`purpurchaserejectmaster`.`sDeliverId` AS `sDeliverId`,`purpurchaserejectmaster`.`sProvince` AS `sProvince`,`purpurchaserejectmaster`.`sCity` AS `sCity`,`purpurchaserejectmaster`.`sArea` AS `sArea`,`purpurchaserejectmaster`.`sDeliverTo` AS `sDeliverTo`,`purpurchaserejectmaster`.`sManualNo` AS `sManualNo`,`purpurchaserejectmaster`.`sMemo` AS `sMemo`,`purpurchaserejectmaster`.`bCheck` AS `bCheck`,`purpurchaserejectmaster`.`tCheckDate` AS `tCheckDate`,`purpurchaserejectmaster`.`sCheckPerson` AS `sCheckPerson`,`purpurchaserejectmaster`.`bPrint` AS `bPrint`,`purpurchaserejectmaster`.`bCopyLimit` AS `bCopyLimit`,`purpurchaserejectmaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`purpurchaserejectmaster`.`tAdvanceDate` AS `tAdvanceDate`,`purpurchaserejectmaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`purpurchaserejectmaster`.`sCurrency` AS `sCurrency`,`purpurchaserejectmaster`.`dCurrencyRate` AS `dCurrencyRate`,`purpurchaserejectmaster`.`sStatus` AS `sStatus`,`purpurchaserejectmaster`.`bInvalid` AS `bInvalid`,`purpurchaserejectmaster`.`sMReserve1` AS `sMReserve1`,`purpurchaserejectmaster`.`sMReserve2` AS `sMReserve2`,`purpurchaserejectmaster`.`sMReserve3` AS `sMReserve3`,`purpurchaserejectmaster`.`sMReserve4` AS `sMReserve4`,`purpurchaserejectmaster`.`sMReserve5` AS `sMReserve5`,`purpurchaserejectmaster`.`sMReserve6` AS `sMReserve6`,`purpurchaserejectmaster`.`dMReserve1` AS `dMReserve1`,`purpurchaserejectmaster`.`dMReserve2` AS `dMReserve2`,`purpurchaserejectmaster`.`dMReserve3` AS `dMReserve3`,`purpurchaserejectmaster`.`iMReserve1` AS `iMReserve1`,`purpurchaserejectmaster`.`iMReserve2` AS `iMReserve2`,`purpurchaserejectmaster`.`iMReserve3` AS `iMReserve3`,`purpurchaserejectmaster`.`tMReserve1` AS `tMReserve1`,`purpurchaserejectmaster`.`tMReserve2` AS `tMReserve2`,`purpurchaserejectslave`.`sId` AS `sSlaveId`,`purpurchaserejectslave`.`iOrder` AS `iSlaveOrder`,`purpurchaserejectslave`.`sMaterialsId` AS `sMaterialsId`,`purpurchaserejectslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`purpurchaserejectslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`purpurchaserejectslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`purpurchaserejectslave`.`dMaterialsQty` AS `dMaterialsQty`,`purpurchaserejectslave`.`dConversionQty` AS `dConversionQty`,`purpurchaserejectslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`purpurchaserejectslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`purpurchaserejectslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`purpurchaserejectslave`.`sSrcId` AS `sSrcId`,`purpurchaserejectslave`.`sSrcNo` AS `sSrcNo`,`purpurchaserejectslave`.`dSrcQty` AS `dSrcQty`,`purpurchaserejectslave`.`sSlaveMemo` AS `sSlaveMemo`,`purpurchaserejectslave`.`sTaxId` AS `sTaxId`,`purpurchaserejectslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`purpurchaserejectslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`purpurchaserejectslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`purpurchaserejectslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`purpurchaserejectslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`purpurchaserejectslave`.`bCheckingComplete` AS `bCheckingComplete`,`purpurchaserejectslave`.`dCheckingAuxiliaryQty` AS `dCheckingAuxiliaryQty`,`purpurchaserejectslave`.`dCheckingQty` AS `dCheckingQty`,`purpurchaserejectslave`.`sDefineNo` AS `sDefineNo`,`purpurchaserejectslave`.`sDefineNo2` AS `sDefineNo2`,`purpurchaserejectslave`.`sWareHouseId` AS `sWareHouseId`,`purpurchaserejectslave`.`sLocationId` AS `sLocationId`,`purpurchaserejectslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`purpurchaserejectslave`.`sPurchaseOrderId` AS `sPurchaseOrderId`,`purpurchaserejectslave`.`sPurchaseOrderNo` AS `sPurchaseOrderNo`,`purpurchaserejectslave`.`sOrderId` AS `sOrderId`,`purpurchaserejectslave`.`sOrderNo` AS `sOrderNo`,`purpurchaserejectslave`.`sWorkOrderId` AS `sWorkOrderId`,`purpurchaserejectslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`purpurchaserejectslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`purpurchaserejectslave`.`dPayMoney` AS `dPayMoney`,`purpurchaserejectslave`.`sBarcode` AS `sBarcode`,`purpurchaserejectslave`.`dInStoreAuxiliaryQty` AS `dInStoreAuxiliaryQty`,`purpurchaserejectslave`.`dInStoreQty` AS `dInStoreQty`,`purpurchaserejectslave`.`bInStoreComplete` AS `bInStoreComplete`,`purpurchaserejectslave`.`sSReserve1` AS `sSReserve1`,`purpurchaserejectslave`.`sSReserve2` AS `sSReserve2`,`purpurchaserejectslave`.`sSReserve3` AS `sSReserve3`,`purpurchaserejectslave`.`sSReserve4` AS `sSReserve4`,`purpurchaserejectslave`.`sSReserve5` AS `sSReserve5`,`purpurchaserejectslave`.`sSReserve6` AS `sSReserve6`,`purpurchaserejectslave`.`dSReserve1` AS `dSReserve1`,`purpurchaserejectslave`.`dSReserve2` AS `dSReserve2`,`purpurchaserejectslave`.`dSReserve3` AS `dSReserve3`,`purpurchaserejectslave`.`iSReserve1` AS `iSReserve1`,`purpurchaserejectslave`.`iSReserve2` AS `iSReserve2`,`purpurchaserejectslave`.`iSReserve3` AS `iSReserve3`,`purpurchaserejectslave`.`tSReserve1` AS `tSReserve1`,`purpurchaserejectslave`.`tSReserve2` AS `tSReserve2`,`purpurchaserejectmaster`.`sType` AS `sType`,`purpurchaserejectslave`.`sPurchaseOrderSlaveId` AS `sPurchaseOrderSlaveId`,`purpurchaserejectslave`.`iIncrement` AS `iIncrement`,`purpurchaserejectslave`.`sPurchaseApplyId` AS `sPurchaseApplyId`,`purpurchaserejectslave`.`sPurchaseApplySlaveId` AS `sPurchaseApplySlaveId`,`purpurchaserejectslave`.`sPurchaseApplySlaveNo` AS `sPurchaseApplySlaveNo`,`purpurchaserejectslave`.`bInvoiceComplete` AS `bInvoiceComplete`,`purpurchaserejectslave`.`dInvoiceMoney` AS `dInvoiceMoney`,`purpurchaserejectslave`.`bPaymentComplete` AS `bPaymentComplete`,`purpurchaserejectmaster`.`sMinusSrcId` AS `sMinusSrcId`,`purpurchaserejectslave`.`sAccidentId` AS `sAccidentId`,`elesupply`.`sSupplyName` AS `sSupplyName`,`elesupply`.`sSupplyNo` AS `sSupplyNo`,`elematerials`.`sMaterialsName` AS `sMaterialsName`,`elematerials`.`sMaterialsNo` AS `sMaterialsNo` from (((`purpurchaserejectmaster` join `purpurchaserejectslave` on((`purpurchaserejectslave`.`sParentId` = `purpurchaserejectmaster`.`sId`))) join `elesupply` on((`purpurchaserejectmaster`.`sSupplyId` = `elesupply`.`sId`))) join `elematerials` on((`purpurchaserejectslave`.`sMaterialsId` = `elematerials`.`sId`)))
```

## Narrative

_No human-written narrative yet._
