# `viw_pitproductreject` (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 | `sFormId` | `varchar(100)` | NO |
| 7 | `iOrder` | `int` | NO |
| 8 | `sBillNo` | `varchar(255)` | NO |
| 9 | `sMemo` | `text` | YES |
| 10 | `bCheck` | `bit(1)` | NO |
| 11 | `tCheckDate` | `datetime` | YES |
| 12 | `sCheckPerson` | `varchar(255)` | YES |
| 13 | `bPrint` | `bit(1)` | NO |
| 14 | `bCopyLimit` | `bit(1)` | NO |
| 15 | `sStatus` | `varchar(255)` | YES |
| 16 | `sEmployeeId` | `varchar(100)` | NO |
| 17 | `bInvalid` | `bit(1)` | NO |
| 18 | `sMReserve1` | `varchar(255)` | YES |
| 19 | `sMReserve2` | `varchar(255)` | YES |
| 20 | `sMReserve3` | `varchar(255)` | YES |
| 21 | `sMReserve4` | `varchar(255)` | YES |
| 22 | `sMReserve5` | `varchar(255)` | YES |
| 23 | `sMReserve6` | `varchar(255)` | YES |
| 24 | `dMReserve1` | `decimal(18,6)` | YES |
| 25 | `dMReserve2` | `decimal(18,6)` | YES |
| 26 | `dMReserve3` | `decimal(18,6)` | YES |
| 27 | `iMReserve1` | `int` | YES |
| 28 | `iMReserve2` | `int` | YES |
| 29 | `iMReserve3` | `int` | YES |
| 30 | `tMReserve1` | `datetime` | YES |
| 31 | `tMReserve2` | `datetime` | YES |
| 32 | `iVouchermark` | `int` | YES |
| 33 | `sSlaveId` | `varchar(100)` | NO |
| 34 | `iSlaveOrder` | `int` | NO |
| 35 | `sCustomerId` | `varchar(100)` | NO |
| 36 | `sContacts` | `varchar(255)` | YES |
| 37 | `sPhone` | `varchar(255)` | YES |
| 38 | `tDeliverDate` | `datetime` | YES |
| 39 | `sSalesManId` | `varchar(100)` | NO |
| 40 | `sGetPayId` | `varchar(100)` | NO |
| 41 | `tGetPayDate` | `datetime` | YES |
| 42 | `sConsignee` | `varchar(255)` | YES |
| 43 | `sConsigneeMobile` | `varchar(255)` | YES |
| 44 | `sDeliverId` | `varchar(100)` | YES |
| 45 | `sProvince` | `varchar(255)` | YES |
| 46 | `sCity` | `varchar(255)` | YES |
| 47 | `sArea` | `varchar(255)` | YES |
| 48 | `sDeliverTo` | `varchar(255)` | YES |
| 49 | `sManualNo` | `varchar(100)` | NO |
| 50 | `sCustomerOrderNo` | `varchar(100)` | NO |
| 51 | `sCurrency` | `varchar(255)` | YES |
| 52 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 53 | `sProductId` | `varchar(100)` | NO |
| 54 | `dProductQty` | `decimal(18,6)` | NO |
| 55 | `dProductPrice` | `decimal(18,6)` | NO |
| 56 | `dProductMoney` | `decimal(18,6)` | NO |
| 57 | `sMaterialsMemo` | `text` | YES |
| 58 | `sProcessMemo` | `text` | YES |
| 59 | `sSrcSlaveId` | `varchar(100)` | NO |
| 60 | `sSrcId` | `varchar(100)` | NO |
| 61 | `sSrcNo` | `varchar(255)` | NO |
| 62 | `dSrcQty` | `decimal(18,6)` | YES |
| 63 | `dProductPQty` | `decimal(18,6)` | YES |
| 64 | `sSlaveMemo` | `text` | YES |
| 65 | `sTaxId` | `varchar(100)` | YES |
| 66 | `dProductNoTaxPrice` | `decimal(18,6)` | YES |
| 67 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 68 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 69 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 70 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 71 | `bDeliverComplete` | `bit(1)` | NO |
| 72 | `dDeliverQty` | `decimal(18,6)` | NO |
| 73 | `bDeliverNotifyComplete` | `bit(1)` | NO |
| 74 | `dDeliverNotifyQty` | `decimal(18,6)` | NO |
| 75 | `dRejectQty` | `decimal(18,6)` | YES |
| 76 | `dReceiptMoney` | `decimal(18,6)` | NO |
| 77 | `sWebOrderNo` | `varchar(255)` | NO |
| 78 | `sWebOrderId` | `varchar(100)` | NO |
| 79 | `sBarcode` | `varchar(255)` | YES |
| 80 | `dGiveQty` | `decimal(18,6)` | NO |
| 81 | `sOrderId` | `varchar(100)` | NO |
| 82 | `sOrderNo` | `varchar(255)` | NO |
| 83 | `sWorkOrderId` | `varchar(100)` | NO |
| 84 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 85 | `sWorkOrderNo` | `varchar(255)` | NO |
| 86 | `sDefineNo` | `varchar(255)` | NO |
| 87 | `sDefineNo2` | `varchar(255)` | NO |
| 88 | `sWareHouseId` | `varchar(100)` | NO |
| 89 | `sLocationId` | `varchar(100)` | NO |
| 90 | `sWareHouseLocationId` | `varchar(100)` | NO |
| 91 | `dPackQty` | `decimal(18,6)` | YES |
| 92 | `dTrunkQty` | `decimal(18,6)` | YES |
| 93 | `dFractionQty` | `decimal(18,6)` | YES |
| 94 | `dProductWeight` | `decimal(18,6)` | YES |
| 95 | `sPackingMemo` | `text` | YES |
| 96 | `sSReserve1` | `varchar(255)` | YES |
| 97 | `sSReserve2` | `varchar(255)` | YES |
| 98 | `sSReserve3` | `varchar(255)` | YES |
| 99 | `sSReserve4` | `varchar(255)` | YES |
| 100 | `sSReserve5` | `varchar(255)` | YES |
| 101 | `sSReserve6` | `varchar(255)` | YES |
| 102 | `dSReserve1` | `decimal(18,6)` | YES |
| 103 | `dSReserve2` | `decimal(18,6)` | YES |
| 104 | `dSReserve3` | `decimal(18,6)` | YES |
| 105 | `iSReserve1` | `int` | YES |
| 106 | `iSReserve2` | `int` | YES |
| 107 | `iSReserve3` | `int` | YES |
| 108 | `tSReserve1` | `datetime` | YES |
| 109 | `tSReserve2` | `datetime` | YES |
| 110 | `sVoucherBillId` | `varchar(255)` | NO |
| 111 | `sVoucherBillNo` | `varchar(255)` | NO |
| 112 | `iIncrement` | `int` | NO |
| 113 | `dCostPrice` | `decimal(18,6)` | YES |
| 114 | `dCostMoney` | `decimal(18,6)` | YES |
| 115 | `sMinusSrcId` | `varchar(255)` | NO |
| 116 | `sType` | `varchar(255)` | YES |
| 117 | `iSourceType` | `int` | YES |
| 118 | `iRejectStatus` | `int` | YES |
| 119 | `bRejectStatus` | `bit(1)` | YES |

## Definition

```sql
select `pitproductrejectmaster`.`sId` AS `sId`,`pitproductrejectmaster`.`sBrandsId` AS `sBrandsId`,`pitproductrejectmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`pitproductrejectmaster`.`tCreateDate` AS `tCreateDate`,`pitproductrejectmaster`.`sMakePerson` AS `sMakePerson`,`pitproductrejectmaster`.`sFormId` AS `sFormId`,`pitproductrejectmaster`.`iOrder` AS `iOrder`,`pitproductrejectmaster`.`sBillNo` AS `sBillNo`,`pitproductrejectmaster`.`sMemo` AS `sMemo`,`pitproductrejectmaster`.`bCheck` AS `bCheck`,`pitproductrejectmaster`.`tCheckDate` AS `tCheckDate`,`pitproductrejectmaster`.`sCheckPerson` AS `sCheckPerson`,`pitproductrejectmaster`.`bPrint` AS `bPrint`,`pitproductrejectmaster`.`bCopyLimit` AS `bCopyLimit`,`pitproductrejectmaster`.`sStatus` AS `sStatus`,`pitproductrejectmaster`.`sEmployeeId` AS `sEmployeeId`,`pitproductrejectmaster`.`bInvalid` AS `bInvalid`,`pitproductrejectmaster`.`sMReserve1` AS `sMReserve1`,`pitproductrejectmaster`.`sMReserve2` AS `sMReserve2`,`pitproductrejectmaster`.`sMReserve3` AS `sMReserve3`,`pitproductrejectmaster`.`sMReserve4` AS `sMReserve4`,`pitproductrejectmaster`.`sMReserve5` AS `sMReserve5`,`pitproductrejectmaster`.`sMReserve6` AS `sMReserve6`,`pitproductrejectmaster`.`dMReserve1` AS `dMReserve1`,`pitproductrejectmaster`.`dMReserve2` AS `dMReserve2`,`pitproductrejectmaster`.`dMReserve3` AS `dMReserve3`,`pitproductrejectmaster`.`iMReserve1` AS `iMReserve1`,`pitproductrejectmaster`.`iMReserve2` AS `iMReserve2`,`pitproductrejectmaster`.`iMReserve3` AS `iMReserve3`,`pitproductrejectmaster`.`tMReserve1` AS `tMReserve1`,`pitproductrejectmaster`.`tMReserve2` AS `tMReserve2`,`pitproductrejectmaster`.`iVouchermark` AS `iVouchermark`,`pitproductrejectslave`.`sId` AS `sSlaveId`,`pitproductrejectslave`.`iOrder` AS `iSlaveOrder`,`pitproductrejectslave`.`sCustomerId` AS `sCustomerId`,`pitproductrejectslave`.`sContacts` AS `sContacts`,`pitproductrejectslave`.`sPhone` AS `sPhone`,`pitproductrejectslave`.`tDeliverDate` AS `tDeliverDate`,`pitproductrejectslave`.`sSalesManId` AS `sSalesManId`,`pitproductrejectslave`.`sGetPayId` AS `sGetPayId`,`pitproductrejectslave`.`tGetPayDate` AS `tGetPayDate`,`pitproductrejectslave`.`sConsignee` AS `sConsignee`,`pitproductrejectslave`.`sConsigneeMobile` AS `sConsigneeMobile`,`pitproductrejectslave`.`sDeliverId` AS `sDeliverId`,`pitproductrejectslave`.`sProvince` AS `sProvince`,`pitproductrejectslave`.`sCity` AS `sCity`,`pitproductrejectslave`.`sArea` AS `sArea`,`pitproductrejectslave`.`sDeliverTo` AS `sDeliverTo`,`pitproductrejectslave`.`sManualNo` AS `sManualNo`,`pitproductrejectslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`pitproductrejectslave`.`sCurrency` AS `sCurrency`,`pitproductrejectslave`.`dCurrencyRate` AS `dCurrencyRate`,`pitproductrejectslave`.`sProductId` AS `sProductId`,`pitproductrejectslave`.`dProductQty` AS `dProductQty`,`pitproductrejectslave`.`dProductPrice` AS `dProductPrice`,`pitproductrejectslave`.`dProductMoney` AS `dProductMoney`,`pitproductrejectslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`pitproductrejectslave`.`sProcessMemo` AS `sProcessMemo`,`pitproductrejectslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`pitproductrejectslave`.`sSrcId` AS `sSrcId`,`pitproductrejectslave`.`sSrcNo` AS `sSrcNo`,`pitproductrejectslave`.`dSrcQty` AS `dSrcQty`,`pitproductrejectslave`.`dProductPQty` AS `dProductPQty`,`pitproductrejectslave`.`sSlaveMemo` AS `sSlaveMemo`,`pitproductrejectslave`.`sTaxId` AS `sTaxId`,`pitproductrejectslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`pitproductrejectslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`pitproductrejectslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`pitproductrejectslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`pitproductrejectslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`pitproductrejectslave`.`bDeliverComplete` AS `bDeliverComplete`,`pitproductrejectslave`.`dDeliverQty` AS `dDeliverQty`,`pitproductrejectslave`.`bDeliverNotifyComplete` AS `bDeliverNotifyComplete`,`pitproductrejectslave`.`dDeliverNotifyQty` AS `dDeliverNotifyQty`,`pitproductrejectslave`.`dRejectQty` AS `dRejectQty`,`pitproductrejectslave`.`dReceiptMoney` AS `dReceiptMoney`,`pitproductrejectslave`.`sWebOrderNo` AS `sWebOrderNo`,`pitproductrejectslave`.`sWebOrderId` AS `sWebOrderId`,`pitproductrejectslave`.`sBarcode` AS `sBarcode`,`pitproductrejectslave`.`dGiveQty` AS `dGiveQty`,`pitproductrejectslave`.`sOrderId` AS `sOrderId`,`pitproductrejectslave`.`sOrderNo` AS `sOrderNo`,`pitproductrejectslave`.`sWorkOrderId` AS `sWorkOrderId`,`pitproductrejectslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`pitproductrejectslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`pitproductrejectslave`.`sDefineNo` AS `sDefineNo`,`pitproductrejectslave`.`sDefineNo2` AS `sDefineNo2`,`pitproductrejectslave`.`sWareHouseId` AS `sWareHouseId`,`pitproductrejectslave`.`sLocationId` AS `sLocationId`,`pitproductrejectslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`pitproductrejectslave`.`dPackQty` AS `dPackQty`,`pitproductrejectslave`.`dTrunkQty` AS `dTrunkQty`,`pitproductrejectslave`.`dFractionQty` AS `dFractionQty`,`pitproductrejectslave`.`dProductWeight` AS `dProductWeight`,`pitproductrejectslave`.`sPackingMemo` AS `sPackingMemo`,`pitproductrejectslave`.`sSReserve1` AS `sSReserve1`,`pitproductrejectslave`.`sSReserve2` AS `sSReserve2`,`pitproductrejectslave`.`sSReserve3` AS `sSReserve3`,`pitproductrejectslave`.`sSReserve4` AS `sSReserve4`,`pitproductrejectslave`.`sSReserve5` AS `sSReserve5`,`pitproductrejectslave`.`sSReserve6` AS `sSReserve6`,`pitproductrejectslave`.`dSReserve1` AS `dSReserve1`,`pitproductrejectslave`.`dSReserve2` AS `dSReserve2`,`pitproductrejectslave`.`dSReserve3` AS `dSReserve3`,`pitproductrejectslave`.`iSReserve1` AS `iSReserve1`,`pitproductrejectslave`.`iSReserve2` AS `iSReserve2`,`pitproductrejectslave`.`iSReserve3` AS `iSReserve3`,`pitproductrejectslave`.`tSReserve1` AS `tSReserve1`,`pitproductrejectslave`.`tSReserve2` AS `tSReserve2`,`pitproductrejectslave`.`sVoucherBillId` AS `sVoucherBillId`,`pitproductrejectslave`.`sVoucherBillNo` AS `sVoucherBillNo`,`pitproductrejectslave`.`iIncrement` AS `iIncrement`,`pitproductrejectslave`.`dCostPrice` AS `dCostPrice`,`pitproductrejectslave`.`dCostMoney` AS `dCostMoney`,`pitproductrejectmaster`.`sMinusSrcId` AS `sMinusSrcId`,`pitproductrejectmaster`.`sType` AS `sType`,`pitproductrejectmaster`.`iSourceType` AS `iSourceType`,`pitproductrejectmaster`.`iRejectStatus` AS `iRejectStatus`,`pitproductrejectmaster`.`bRejectStatus` AS `bRejectStatus` from (`pitproductrejectmaster` join `pitproductrejectslave` on((`pitproductrejectslave`.`sParentId` = `pitproductrejectmaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
