# `viw_salrejectgoodsapply` (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 | `sCustomerId` | `varchar(100)` | YES |
| 10 | `sContacts` | `varchar(255)` | YES |
| 11 | `sPhone` | `varchar(255)` | YES |
| 12 | `tDeliverDate` | `datetime` | YES |
| 13 | `sSalesManId` | `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 | `iSlaveOrder` | `int` | NO |
| 53 | `sProductId` | `varchar(100)` | NO |
| 54 | `dProductQty` | `decimal(18,6)` | NO |
| 55 | `dProductPrice` | `decimal(24,13)` | 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 | `bCheckingComplete` | `bit(1)` | NO |
| 65 | `sSlaveMemo` | `text` | YES |
| 66 | `sTaxId` | `varchar(100)` | YES |
| 67 | `dProductNoTaxPrice` | `decimal(24,13)` | NO |
| 68 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 69 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 70 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 71 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 72 | `dCheckingQty` | `decimal(18,6)` | NO |
| 73 | `dReceiptMoney` | `decimal(18,6)` | NO |
| 74 | `sWebOrderNo` | `varchar(255)` | NO |
| 75 | `sWebOrderId` | `varchar(100)` | NO |
| 76 | `sBarcode` | `varchar(255)` | YES |
| 77 | `dGiveQty` | `decimal(18,6)` | NO |
| 78 | `dDeliverQty` | `decimal(18,6)` | NO |
| 79 | `sDefineNo` | `varchar(100)` | NO |
| 80 | `sDefineNo2` | `varchar(100)` | NO |
| 81 | `sWareHouseId` | `varchar(100)` | NO |
| 82 | `sLocationId` | `varchar(100)` | NO |
| 83 | `sWareHouseLocationId` | `varchar(100)` | NO |
| 84 | `sOrderId` | `varchar(100)` | NO |
| 85 | `sOrderNo` | `varchar(255)` | NO |
| 86 | `sWorkOrderId` | `varchar(100)` | NO |
| 87 | `sWorkOrderNo` | `varchar(255)` | NO |
| 88 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 89 | `sSReserve1` | `varchar(255)` | YES |
| 90 | `sSReserve2` | `varchar(255)` | YES |
| 91 | `sSReserve3` | `varchar(255)` | YES |
| 92 | `sSReserve4` | `varchar(255)` | YES |
| 93 | `sSReserve5` | `varchar(255)` | YES |
| 94 | `sSReserve6` | `varchar(255)` | YES |
| 95 | `dSReserve1` | `decimal(18,6)` | YES |
| 96 | `dSReserve2` | `decimal(18,6)` | YES |
| 97 | `dSReserve3` | `decimal(18,6)` | YES |
| 98 | `iSReserve1` | `int` | YES |
| 99 | `iSReserve2` | `int` | YES |
| 100 | `iSReserve3` | `int` | YES |
| 101 | `tSReserve1` | `datetime` | YES |
| 102 | `tSReserve2` | `datetime` | YES |
| 103 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 104 | `sOrderSlaveId` | `varchar(100)` | NO |
| 105 | `bInvoiceComplete` | `bit(1)` | NO |
| 106 | `dInvoiceMoney` | `decimal(18,6)` | NO |
| 107 | `dProductForeignPrice` | `decimal(24,13)` | NO |
| 108 | `sType` | `varchar(255)` | NO |
| 109 | `iIncrement` | `int` | NO |
| 110 | `dNProductPrice` | `decimal(24,13)` | NO |
| 111 | `dNProductMoney` | `decimal(18,6)` | NO |
| 112 | `sAuxiliaryUnit` | `varchar(100)` | NO |
| 113 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 114 | `dCostPrice` | `decimal(24,13)` | NO |
| 115 | `dCostMoney` | `decimal(18,6)` | YES |
| 116 | `sVoucherBillminusNo` | `varchar(255)` | NO |
| 117 | `sVoucherBillminusId` | `varchar(255)` | NO |
| 118 | `sVoucherBillNo` | `varchar(255)` | NO |
| 119 | `sVoucherBillId` | `varchar(255)` | NO |
| 120 | `sMaterialsStyle` | `varchar(100)` | NO |
| 121 | `dPalletQty` | `decimal(18,6)` | YES |
| 122 | `sDeliverPerson` | `varchar(255)` | YES |
| 123 | `sDeliverMobile` | `varchar(255)` | YES |
| 124 | `sDeliverAdd` | `varchar(255)` | YES |
| 125 | `dSendCarQty` | `decimal(18,6)` | YES |
| 126 | `tArrivalDate` | `datetime` | YES |
| 127 | `dProductInStoreQty` | `decimal(18,6)` | YES |
| 128 | `bProductInStoreComplete` | `bit(1)` | YES |
| 129 | `bNoObject` | `bit(1)` | YES |
| 130 | `iLogistics` | `int` | YES |
| 131 | `iMLogistics` | `int` | YES |
| 132 | `bLogisticsComplete` | `bit(1)` | YES |
| 133 | `sRejType` | `varchar(255)` | YES |
| 134 | `bRejectComplete` | `bit(1)` | YES |
| 135 | `bNotAccident` | `bit(1)` | YES |
| 136 | `dRemainderQty` | `decimal(18,2)` | NO |
| 137 | `dBackRemainderQty` | `decimal(18,2)` | NO |
| 138 | `dStockupQty` | `decimal(18,6)` | YES |

## Definition

```sql
select `salrejectgoodsapplymaster`.`sId` AS `sId`,`salrejectgoodsapplymaster`.`sBrandsId` AS `sBrandsId`,`salrejectgoodsapplymaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`salrejectgoodsapplymaster`.`tCreateDate` AS `tCreateDate`,`salrejectgoodsapplymaster`.`sMakePerson` AS `sMakePerson`,`salrejectgoodsapplymaster`.`iOrder` AS `iOrder`,`salrejectgoodsapplymaster`.`sFormId` AS `sFormId`,`salrejectgoodsapplymaster`.`sBillNo` AS `sBillNo`,`salrejectgoodsapplymaster`.`sCustomerId` AS `sCustomerId`,`salrejectgoodsapplymaster`.`sContacts` AS `sContacts`,`salrejectgoodsapplymaster`.`sPhone` AS `sPhone`,`salrejectgoodsapplymaster`.`tDeliverDate` AS `tDeliverDate`,`salrejectgoodsapplymaster`.`sSalesManId` AS `sSalesManId`,`salrejectgoodsapplymaster`.`sGetPayId` AS `sGetPayId`,`salrejectgoodsapplymaster`.`tGetPayDate` AS `tGetPayDate`,`salrejectgoodsapplymaster`.`sConsignee` AS `sConsignee`,`salrejectgoodsapplymaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`salrejectgoodsapplymaster`.`sDeliverId` AS `sDeliverId`,`salrejectgoodsapplymaster`.`sProvince` AS `sProvince`,`salrejectgoodsapplymaster`.`sCity` AS `sCity`,`salrejectgoodsapplymaster`.`sArea` AS `sArea`,`salrejectgoodsapplymaster`.`sDeliverTo` AS `sDeliverTo`,`salrejectgoodsapplymaster`.`sManualNo` AS `sManualNo`,`salrejectgoodsapplymaster`.`sMemo` AS `sMemo`,`salrejectgoodsapplymaster`.`bCheck` AS `bCheck`,`salrejectgoodsapplymaster`.`tCheckDate` AS `tCheckDate`,`salrejectgoodsapplymaster`.`sCheckPerson` AS `sCheckPerson`,`salrejectgoodsapplymaster`.`bPrint` AS `bPrint`,`salrejectgoodsapplymaster`.`bCopyLimit` AS `bCopyLimit`,`salrejectgoodsapplymaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`salrejectgoodsapplymaster`.`tAdvanceDate` AS `tAdvanceDate`,`salrejectgoodsapplymaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`salrejectgoodsapplymaster`.`sCurrency` AS `sCurrency`,`salrejectgoodsapplymaster`.`dCurrencyRate` AS `dCurrencyRate`,`salrejectgoodsapplymaster`.`sStatus` AS `sStatus`,`salrejectgoodsapplymaster`.`bInvalid` AS `bInvalid`,`salrejectgoodsapplymaster`.`sMReserve1` AS `sMReserve1`,`salrejectgoodsapplymaster`.`sMReserve2` AS `sMReserve2`,`salrejectgoodsapplymaster`.`sMReserve3` AS `sMReserve3`,`salrejectgoodsapplymaster`.`sMReserve4` AS `sMReserve4`,`salrejectgoodsapplymaster`.`sMReserve5` AS `sMReserve5`,`salrejectgoodsapplymaster`.`sMReserve6` AS `sMReserve6`,`salrejectgoodsapplymaster`.`dMReserve1` AS `dMReserve1`,`salrejectgoodsapplymaster`.`dMReserve2` AS `dMReserve2`,`salrejectgoodsapplymaster`.`dMReserve3` AS `dMReserve3`,`salrejectgoodsapplymaster`.`iMReserve1` AS `iMReserve1`,`salrejectgoodsapplymaster`.`iMReserve2` AS `iMReserve2`,`salrejectgoodsapplymaster`.`iMReserve3` AS `iMReserve3`,`salrejectgoodsapplymaster`.`tMReserve1` AS `tMReserve1`,`salrejectgoodsapplymaster`.`tMReserve2` AS `tMReserve2`,`salrejectgoodsapplyslave`.`sId` AS `sSlaveId`,`salrejectgoodsapplyslave`.`iOrder` AS `iSlaveOrder`,`salrejectgoodsapplyslave`.`sProductId` AS `sProductId`,`salrejectgoodsapplyslave`.`dProductQty` AS `dProductQty`,`salrejectgoodsapplyslave`.`dProductPrice` AS `dProductPrice`,`salrejectgoodsapplyslave`.`dProductMoney` AS `dProductMoney`,`salrejectgoodsapplyslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`salrejectgoodsapplyslave`.`sProcessMemo` AS `sProcessMemo`,`salrejectgoodsapplyslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`salrejectgoodsapplyslave`.`sSrcId` AS `sSrcId`,`salrejectgoodsapplyslave`.`sSrcNo` AS `sSrcNo`,`salrejectgoodsapplyslave`.`dSrcQty` AS `dSrcQty`,`salrejectgoodsapplyslave`.`dProductPQty` AS `dProductPQty`,`salrejectgoodsapplyslave`.`bCheckingComplete` AS `bCheckingComplete`,`salrejectgoodsapplyslave`.`sSlaveMemo` AS `sSlaveMemo`,`salrejectgoodsapplyslave`.`sTaxId` AS `sTaxId`,`salrejectgoodsapplyslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`salrejectgoodsapplyslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`salrejectgoodsapplyslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`salrejectgoodsapplyslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`salrejectgoodsapplyslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`salrejectgoodsapplyslave`.`dCheckingQty` AS `dCheckingQty`,`salrejectgoodsapplyslave`.`dReceiptMoney` AS `dReceiptMoney`,`salrejectgoodsapplyslave`.`sWebOrderNo` AS `sWebOrderNo`,`salrejectgoodsapplyslave`.`sWebOrderId` AS `sWebOrderId`,`salrejectgoodsapplyslave`.`sBarcode` AS `sBarcode`,`salrejectgoodsapplyslave`.`dGiveQty` AS `dGiveQty`,`salrejectgoodsapplyslave`.`dDeliverQty` AS `dDeliverQty`,`salrejectgoodsapplyslave`.`sDefineNo` AS `sDefineNo`,`salrejectgoodsapplyslave`.`sDefineNo2` AS `sDefineNo2`,`salrejectgoodsapplyslave`.`sWareHouseId` AS `sWareHouseId`,`salrejectgoodsapplyslave`.`sLocationId` AS `sLocationId`,`salrejectgoodsapplyslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`salrejectgoodsapplyslave`.`sOrderId` AS `sOrderId`,`salrejectgoodsapplyslave`.`sOrderNo` AS `sOrderNo`,`salrejectgoodsapplyslave`.`sWorkOrderId` AS `sWorkOrderId`,`salrejectgoodsapplyslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`salrejectgoodsapplyslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`salrejectgoodsapplyslave`.`sSReserve1` AS `sSReserve1`,`salrejectgoodsapplyslave`.`sSReserve2` AS `sSReserve2`,`salrejectgoodsapplyslave`.`sSReserve3` AS `sSReserve3`,`salrejectgoodsapplyslave`.`sSReserve4` AS `sSReserve4`,`salrejectgoodsapplyslave`.`sSReserve5` AS `sSReserve5`,`salrejectgoodsapplyslave`.`sSReserve6` AS `sSReserve6`,`salrejectgoodsapplyslave`.`dSReserve1` AS `dSReserve1`,`salrejectgoodsapplyslave`.`dSReserve2` AS `dSReserve2`,`salrejectgoodsapplyslave`.`dSReserve3` AS `dSReserve3`,`salrejectgoodsapplyslave`.`iSReserve1` AS `iSReserve1`,`salrejectgoodsapplyslave`.`iSReserve2` AS `iSReserve2`,`salrejectgoodsapplyslave`.`iSReserve3` AS `iSReserve3`,`salrejectgoodsapplyslave`.`tSReserve1` AS `tSReserve1`,`salrejectgoodsapplyslave`.`tSReserve2` AS `tSReserve2`,`salrejectgoodsapplyslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`salrejectgoodsapplyslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`salrejectgoodsapplyslave`.`bInvoiceComplete` AS `bInvoiceComplete`,`salrejectgoodsapplyslave`.`dInvoiceMoney` AS `dInvoiceMoney`,`salrejectgoodsapplyslave`.`dProductForeignPrice` AS `dProductForeignPrice`,`salrejectgoodsapplymaster`.`sType` AS `sType`,`salrejectgoodsapplyslave`.`iIncrement` AS `iIncrement`,`salrejectgoodsapplyslave`.`dNProductPrice` AS `dNProductPrice`,`salrejectgoodsapplyslave`.`dNProductMoney` AS `dNProductMoney`,`salrejectgoodsapplyslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`salrejectgoodsapplyslave`.`dMaterialsQty` AS `dMaterialsQty`,`salrejectgoodsapplyslave`.`dCostPrice` AS `dCostPrice`,`salrejectgoodsapplyslave`.`dCostMoney` AS `dCostMoney`,`salrejectgoodsapplyslave`.`sVoucherBillminusNo` AS `sVoucherBillminusNo`,`salrejectgoodsapplyslave`.`sVoucherBillminusId` AS `sVoucherBillminusId`,`salrejectgoodsapplyslave`.`sVoucherBillNo` AS `sVoucherBillNo`,`salrejectgoodsapplyslave`.`sVoucherBillId` AS `sVoucherBillId`,`salrejectgoodsapplyslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`salrejectgoodsapplyslave`.`dPalletQty` AS `dPalletQty`,`salrejectgoodsapplymaster`.`sDeliverPerson` AS `sDeliverPerson`,`salrejectgoodsapplymaster`.`sDeliverMobile` AS `sDeliverMobile`,`salrejectgoodsapplymaster`.`sDeliverAdd` AS `sDeliverAdd`,`salrejectgoodsapplyslave`.`dSendCarQty` AS `dSendCarQty`,`salrejectgoodsapplymaster`.`tArrivalDate` AS `tArrivalDate`,`salrejectgoodsapplyslave`.`dProductInStoreQty` AS `dProductInStoreQty`,`salrejectgoodsapplyslave`.`bProductInStoreComplete` AS `bProductInStoreComplete`,`salrejectgoodsapplyslave`.`bNoObject` AS `bNoObject`,`salrejectgoodsapplyslave`.`iLogistics` AS `iLogistics`,`salrejectgoodsapplymaster`.`iMLogistics` AS `iMLogistics`,`salrejectgoodsapplyslave`.`bLogisticsComplete` AS `bLogisticsComplete`,`salrejectgoodsapplyslave`.`sRejType` AS `sRejType`,`salrejectgoodsapplyslave`.`bRejectComplete` AS `bRejectComplete`,`salrejectgoodsapplymaster`.`bNotAccident` AS `bNotAccident`,`salrejectgoodsapplyslave`.`dRemainderQty` AS `dRemainderQty`,`salrejectgoodsapplyslave`.`dBackRemainderQty` AS `dBackRemainderQty`,`salrejectgoodsapplyslave`.`dStockupQty` AS `dStockupQty` from (`salrejectgoodsapplymaster` join `salrejectgoodsapplyslave` on((`salrejectgoodsapplyslave`.`sParentId` = `salrejectgoodsapplymaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
