# `viw_quoquotation` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `sBrandsId` | `varchar(50)` | NO |
| 2 | `sSubsidiaryId` | `varchar(50)` | NO |
| 3 | `tCreateDate` | `datetime` | NO |
| 4 | `sMakePerson` | `varchar(50)` | NO |
| 5 | `sFormId` | `varchar(50)` | NO |
| 6 | `iOrder` | `int` | NO |
| 7 | `sBillNo` | `varchar(50)` | NO |
| 8 | `sMemo` | `text` | YES |
| 9 | `bCheck` | `bit(1)` | NO |
| 10 | `tCheckDate` | `datetime` | YES |
| 11 | `sCheckPerson` | `varchar(50)` | YES |
| 12 | `bPrint` | `bit(1)` | NO |
| 13 | `bCopyLimit` | `bit(1)` | NO |
| 14 | `sStatus` | `varchar(50)` | YES |
| 15 | `bInvalid` | `bit(1)` | NO |
| 16 | `sMReserve1` | `varchar(50)` | YES |
| 17 | `sMReserve2` | `varchar(50)` | YES |
| 18 | `sMReserve3` | `varchar(50)` | YES |
| 19 | `sMReserve4` | `varchar(50)` | YES |
| 20 | `sMReserve5` | `varchar(50)` | YES |
| 21 | `sMReserve6` | `varchar(50)` | YES |
| 22 | `dMReserve1` | `decimal(18,6)` | YES |
| 23 | `dMReserve2` | `decimal(18,6)` | YES |
| 24 | `dMReserve3` | `decimal(18,6)` | YES |
| 25 | `iMReserve1` | `int` | YES |
| 26 | `iMReserve2` | `int` | YES |
| 27 | `iMReserve3` | `int` | YES |
| 28 | `tMReserve1` | `datetime` | YES |
| 29 | `tMReserve2` | `datetime` | YES |
| 30 | `dPackMoney` | `decimal(18,2)` | NO |
| 31 | `dPrintMoney` | `decimal(18,2)` | NO |
| 32 | `dTransportMoney` | `decimal(18,2)` | NO |
| 33 | `dPrintAfterMoney` | `decimal(18,2)` | NO |
| 34 | `dPrintBeforeMoney` | `decimal(18,2)` | NO |
| 35 | `dPrintProductMoney` | `decimal(18,2)` | NO |
| 36 | `dMasterMaterialsMoney` | `decimal(18,2)` | NO |
| 37 | `dAuxiliaryMaterialsMoney` | `decimal(18,2)` | NO |
| 38 | `dAllMoney` | `decimal(18,2)` | NO |
| 39 | `sMasterCustomerId` | `varchar(50)` | NO |
| 40 | `sMasterProductId` | `varchar(50)` | NO |
| 41 | `dMasterProductQty` | `decimal(18,6)` | NO |
| 42 | `dMasterProductPrice` | `decimal(18,6)` | NO |
| 43 | `bFailure` | `bit(1)` | NO |
| 44 | `tFailureDate` | `datetime` | YES |
| 45 | `bSubmit` | `bit(1)` | NO |
| 46 | `tSubmit` | `datetime` | YES |
| 47 | `tStatus` | `datetime` | YES |
| 48 | `sReason` | `varchar(50)` | NO |
| 49 | `sType` | `varchar(50)` | YES |
| 50 | `sSlaveId` | `varchar(50)` | NO |
| 51 | `iSlaveOrder` | `int` | NO |
| 52 | `sCustomerId` | `varchar(50)` | NO |
| 53 | `sContacts` | `varchar(50)` | YES |
| 54 | `sPhone` | `varchar(50)` | YES |
| 55 | `tDeliverDate` | `datetime` | YES |
| 56 | `sSalesManId` | `varchar(50)` | YES |
| 57 | `sProductTechnologyVer` | `varchar(50)` | YES |
| 58 | `sGetPayId` | `varchar(50)` | YES |
| 59 | `tGetPayDate` | `datetime` | YES |
| 60 | `sConsignee` | `varchar(50)` | YES |
| 61 | `sConsigneeMobile` | `varchar(50)` | YES |
| 62 | `sDeliverId` | `varchar(50)` | YES |
| 63 | `sProvince` | `varchar(50)` | YES |
| 64 | `sCity` | `varchar(50)` | YES |
| 65 | `sArea` | `varchar(50)` | YES |
| 66 | `sDeliverTo` | `varchar(50)` | YES |
| 67 | `sManualNo` | `varchar(50)` | YES |
| 68 | `sCustomerOrderNo` | `varchar(50)` | YES |
| 69 | `sCurrency` | `varchar(50)` | YES |
| 70 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 71 | `sProductId` | `varchar(50)` | YES |
| 72 | `sProductName` | `varchar(100)` | YES |
| 73 | `dProductQty` | `decimal(18,6)` | YES |
| 74 | `dProductNotStoreQty` | `decimal(19,6)` | NO |
| 75 | `dProductPrice` | `decimal(18,6)` | YES |
| 76 | `dProductMoney` | `decimal(18,6)` | YES |
| 77 | `sProductInfo` | `text` | YES |
| 78 | `sMaterialsMemo` | `text` | YES |
| 79 | `sProcessMemo` | `text` | YES |
| 80 | `sSrcSlaveId` | `varchar(50)` | NO |
| 81 | `sSrcId` | `varchar(50)` | NO |
| 82 | `sSrcNo` | `varchar(50)` | NO |
| 83 | `dSrcQty` | `decimal(18,6)` | YES |
| 84 | `dProductPQty` | `decimal(18,6)` | YES |
| 85 | `bProductInStoreComplete` | `bit(1)` | NO |
| 86 | `bDeliverComplete` | `bit(1)` | NO |
| 87 | `bDeliverNotifyComplete` | `bit(1)` | NO |
| 88 | `bOutsideProcessComplete` | `bit(1)` | NO |
| 89 | `sQualityRequireMemo` | `text` | YES |
| 90 | `sPackRequireMemo` | `text` | YES |
| 91 | `sSlaveMemo` | `text` | YES |
| 92 | `sTaxId` | `varchar(50)` | YES |
| 93 | `dProductNoTaxPrice` | `decimal(18,6)` | YES |
| 94 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 95 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 96 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 97 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 98 | `dProductInStoreQty` | `decimal(18,6)` | NO |
| 99 | `dDeliverNotifyQty` | `decimal(18,6)` | NO |
| 100 | `dDeliverQty` | `decimal(18,6)` | NO |
| 101 | `dCheckingQty` | `decimal(18,6)` | NO |
| 102 | `dReceiptMoney` | `decimal(18,2)` | NO |
| 103 | `dOutsideProcessQty` | `decimal(18,6)` | NO |
| 104 | `sWebOrderNo` | `varchar(50)` | NO |
| 105 | `sWebOrderId` | `varchar(50)` | NO |
| 106 | `sBarcode` | `varchar(50)` | YES |
| 107 | `dGiveQty` | `decimal(18,6)` | NO |
| 108 | `sProductTechnologyId` | `varchar(50)` | YES |
| 109 | `sProductClassifyId` | `varchar(50)` | YES |
| 110 | `sOrderId` | `varchar(50)` | NO |
| 111 | `sOrderNo` | `varchar(50)` | NO |
| 112 | `sSReserve1` | `varchar(50)` | YES |
| 113 | `sSReserve2` | `varchar(50)` | YES |
| 114 | `sSReserve3` | `varchar(50)` | YES |
| 115 | `sSReserve4` | `varchar(50)` | YES |
| 116 | `sSReserve5` | `varchar(50)` | YES |
| 117 | `sSReserve6` | `varchar(50)` | YES |
| 118 | `dSReserve1` | `decimal(18,6)` | YES |
| 119 | `dSReserve2` | `decimal(18,6)` | YES |
| 120 | `dSReserve3` | `decimal(18,6)` | YES |
| 121 | `iSReserve1` | `int` | YES |
| 122 | `iSReserve2` | `int` | YES |
| 123 | `iSReserve3` | `int` | YES |
| 124 | `tSReserve1` | `datetime` | YES |
| 125 | `tSReserve2` | `datetime` | YES |
| 126 | `sId` | `varchar(50)` | NO |
| 127 | `dPresentQty` | `decimal(18,6)` | NO |
| 128 | `sOrderSlaveId` | `varchar(50)` | NO |
| 129 | `iProductStick` | `int` | YES |
| 130 | `iIncrement` | `int` | NO |
| 131 | `dOrderQty` | `decimal(18,6)` | NO |
| 132 | `bQlyComplete` | `bit(1)` | NO |
| 133 | `sParentId` | `varchar(50)` | YES |
| 134 | `dProfitMoney` | `decimal(18,6)` | NO |
| 135 | `sColorReference` | `varchar(50)` | NO |
| 136 | `sTransferredMatterCheck` | `varchar(50)` | NO |
| 137 | `sTransferredMatter` | `varchar(50)` | NO |
| 138 | `sWorkpieceModel` | `varchar(50)` | NO |
| 139 | `sProcessesNo` | `varchar(50)` | NO |
| 140 | `dConversionRate` | `decimal(18,6)` | NO |
| 141 | `dProductionCycle` | `decimal(18,6)` | NO |
| 142 | `sProductionCenter` | `varchar(50)` | NO |
| 143 | `sMinPack` | `varchar(50)` | NO |
| 144 | `dCombineCoefficient` | `decimal(18,6)` | NO |
| 145 | `sCutMode` | `varchar(50)` | NO |
| 146 | `sPlateNo` | `varchar(50)` | NO |
| 147 | `dNProductMoney` | `decimal(18,2)` | NO |
| 148 | `dNProductPrice` | `decimal(18,6)` | NO |
| 149 | `dFreightMoney` | `decimal(18,6)` | NO |
| 150 | `dKnifeMouldMoney` | `decimal(18,6)` | NO |
| 151 | `dPlateMoney` | `decimal(18,6)` | NO |
| 152 | `dProofingMoney` | `decimal(18,6)` | NO |
| 153 | `dProductForeignPrice` | `decimal(18,6)` | NO |
| 154 | `dProfitRate` | `decimal(18,6)` | NO |
| 155 | `dPassRate` | `decimal(18,6)` | NO |
| 156 | `dSlavePackMoney` | `decimal(18,6)` | NO |
| 157 | `dSlaveTransportMoney` | `decimal(18,6)` | NO |
| 158 | `dBusinessMoney` | `decimal(18,6)` | NO |

## Definition

```sql
select `quoquotationmaster`.`sBrandsId` AS `sBrandsId`,`quoquotationmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`quoquotationmaster`.`tCreateDate` AS `tCreateDate`,`quoquotationmaster`.`sMakePerson` AS `sMakePerson`,`quoquotationmaster`.`sFormId` AS `sFormId`,`quoquotationmaster`.`iOrder` AS `iOrder`,`quoquotationmaster`.`sBillNo` AS `sBillNo`,`quoquotationmaster`.`sMemo` AS `sMemo`,`quoquotationmaster`.`bCheck` AS `bCheck`,`quoquotationmaster`.`tCheckDate` AS `tCheckDate`,`quoquotationmaster`.`sCheckPerson` AS `sCheckPerson`,`quoquotationmaster`.`bPrint` AS `bPrint`,`quoquotationmaster`.`bCopyLimit` AS `bCopyLimit`,`quoquotationmaster`.`sStatus` AS `sStatus`,`quoquotationmaster`.`bInvalid` AS `bInvalid`,`quoquotationmaster`.`sMReserve1` AS `sMReserve1`,`quoquotationmaster`.`sMReserve2` AS `sMReserve2`,`quoquotationmaster`.`sMReserve3` AS `sMReserve3`,`quoquotationmaster`.`sMReserve4` AS `sMReserve4`,`quoquotationmaster`.`sMReserve5` AS `sMReserve5`,`quoquotationmaster`.`sMReserve6` AS `sMReserve6`,`quoquotationmaster`.`dMReserve1` AS `dMReserve1`,`quoquotationmaster`.`dMReserve2` AS `dMReserve2`,`quoquotationmaster`.`dMReserve3` AS `dMReserve3`,`quoquotationmaster`.`iMReserve1` AS `iMReserve1`,`quoquotationmaster`.`iMReserve2` AS `iMReserve2`,`quoquotationmaster`.`iMReserve3` AS `iMReserve3`,`quoquotationmaster`.`tMReserve1` AS `tMReserve1`,`quoquotationmaster`.`tMReserve2` AS `tMReserve2`,`quoquotationmaster`.`dPackMoney` AS `dPackMoney`,`quoquotationmaster`.`dPrintMoney` AS `dPrintMoney`,`quoquotationmaster`.`dTransportMoney` AS `dTransportMoney`,`quoquotationmaster`.`dPrintAfterMoney` AS `dPrintAfterMoney`,`quoquotationmaster`.`dPrintBeforeMoney` AS `dPrintBeforeMoney`,`quoquotationmaster`.`dPrintProductMoney` AS `dPrintProductMoney`,`quoquotationmaster`.`dMasterMaterialsMoney` AS `dMasterMaterialsMoney`,`quoquotationmaster`.`dAuxiliaryMaterialsMoney` AS `dAuxiliaryMaterialsMoney`,`quoquotationmaster`.`dAllMoney` AS `dAllMoney`,`quoquotationmaster`.`sCustomerId` AS `sMasterCustomerId`,`quoquotationmaster`.`sProductId` AS `sMasterProductId`,`quoquotationmaster`.`dQty` AS `dMasterProductQty`,`quoquotationmaster`.`dPrice` AS `dMasterProductPrice`,`quoquotationmaster`.`bFailure` AS `bFailure`,`quoquotationmaster`.`tFailureDate` AS `tFailureDate`,`quoquotationmaster`.`bSubmit` AS `bSubmit`,`quoquotationmaster`.`tSubmit` AS `tSubmit`,`quoquotationmaster`.`tStatus` AS `tStatus`,`quoquotationmaster`.`sReason` AS `sReason`,`quoquotationmaster`.`sType` AS `sType`,`quoquotationslave`.`sId` AS `sSlaveId`,`quoquotationslave`.`iOrder` AS `iSlaveOrder`,`quoquotationslave`.`sCustomerId` AS `sCustomerId`,`quoquotationslave`.`sContacts` AS `sContacts`,`quoquotationslave`.`sPhone` AS `sPhone`,`quoquotationslave`.`tDeliverDate` AS `tDeliverDate`,`quoquotationslave`.`sSalesManId` AS `sSalesManId`,`quoquotationslave`.`sProductTechnologyVer` AS `sProductTechnologyVer`,`quoquotationslave`.`sGetPayId` AS `sGetPayId`,`quoquotationslave`.`tGetPayDate` AS `tGetPayDate`,`quoquotationslave`.`sConsignee` AS `sConsignee`,`quoquotationslave`.`sConsigneeMobile` AS `sConsigneeMobile`,`quoquotationslave`.`sDeliverId` AS `sDeliverId`,`quoquotationslave`.`sProvince` AS `sProvince`,`quoquotationslave`.`sCity` AS `sCity`,`quoquotationslave`.`sArea` AS `sArea`,`quoquotationslave`.`sDeliverTo` AS `sDeliverTo`,`quoquotationslave`.`sManualNo` AS `sManualNo`,`quoquotationslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`quoquotationslave`.`sCurrency` AS `sCurrency`,`quoquotationslave`.`dCurrencyRate` AS `dCurrencyRate`,`quoquotationslave`.`sProductId` AS `sProductId`,`quoquotationslave`.`sProductName` AS `sProductName`,`quoquotationslave`.`dProductQty` AS `dProductQty`,(ifnull(`quoquotationslave`.`dProductQty`,0) - ifnull(`quoquotationslave`.`dProductInStoreQty`,0)) AS `dProductNotStoreQty`,`quoquotationslave`.`dProductPrice` AS `dProductPrice`,`quoquotationslave`.`dProductMoney` AS `dProductMoney`,`quoquotationslave`.`sProductInfo` AS `sProductInfo`,`quoquotationslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`quoquotationslave`.`sProcessMemo` AS `sProcessMemo`,`quoquotationslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`quoquotationslave`.`sSrcId` AS `sSrcId`,`quoquotationslave`.`sSrcNo` AS `sSrcNo`,`quoquotationslave`.`dSrcQty` AS `dSrcQty`,`quoquotationslave`.`dProductPQty` AS `dProductPQty`,`quoquotationslave`.`bProductInStoreComplete` AS `bProductInStoreComplete`,`quoquotationslave`.`bDeliverComplete` AS `bDeliverComplete`,`quoquotationslave`.`bDeliverNotifyComplete` AS `bDeliverNotifyComplete`,`quoquotationslave`.`bOutsideProcessComplete` AS `bOutsideProcessComplete`,`quoquotationslave`.`sQualityRequireMemo` AS `sQualityRequireMemo`,`quoquotationslave`.`sPackRequireMemo` AS `sPackRequireMemo`,`quoquotationslave`.`sSlaveMemo` AS `sSlaveMemo`,`quoquotationslave`.`sTaxId` AS `sTaxId`,`quoquotationslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`quoquotationslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`quoquotationslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`quoquotationslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`quoquotationslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`quoquotationslave`.`dProductInStoreQty` AS `dProductInStoreQty`,`quoquotationslave`.`dDeliverNotifyQty` AS `dDeliverNotifyQty`,`quoquotationslave`.`dDeliverQty` AS `dDeliverQty`,`quoquotationslave`.`dCheckingQty` AS `dCheckingQty`,`quoquotationslave`.`dReceiptMoney` AS `dReceiptMoney`,`quoquotationslave`.`dOutsideProcessQty` AS `dOutsideProcessQty`,`quoquotationslave`.`sWebOrderNo` AS `sWebOrderNo`,`quoquotationslave`.`sWebOrderId` AS `sWebOrderId`,`quoquotationslave`.`sBarcode` AS `sBarcode`,`quoquotationslave`.`dGiveQty` AS `dGiveQty`,`quoquotationslave`.`sProductTechnologyId` AS `sProductTechnologyId`,`quoquotationslave`.`sProductClassifyId` AS `sProductClassifyId`,`quoquotationslave`.`sOrderId` AS `sOrderId`,`quoquotationslave`.`sOrderNo` AS `sOrderNo`,`quoquotationslave`.`sSReserve1` AS `sSReserve1`,`quoquotationslave`.`sSReserve2` AS `sSReserve2`,`quoquotationslave`.`sSReserve3` AS `sSReserve3`,`quoquotationslave`.`sSReserve4` AS `sSReserve4`,`quoquotationslave`.`sSReserve5` AS `sSReserve5`,`quoquotationslave`.`sSReserve6` AS `sSReserve6`,`quoquotationslave`.`dSReserve1` AS `dSReserve1`,`quoquotationslave`.`dSReserve2` AS `dSReserve2`,`quoquotationslave`.`dSReserve3` AS `dSReserve3`,`quoquotationslave`.`iSReserve1` AS `iSReserve1`,`quoquotationslave`.`iSReserve2` AS `iSReserve2`,`quoquotationslave`.`iSReserve3` AS `iSReserve3`,`quoquotationslave`.`tSReserve1` AS `tSReserve1`,`quoquotationslave`.`tSReserve2` AS `tSReserve2`,`quoquotationmaster`.`sId` AS `sId`,`quoquotationslave`.`dPresentQty` AS `dPresentQty`,`quoquotationslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`quoquotationslave`.`iProductStick` AS `iProductStick`,`quoquotationslave`.`iIncrement` AS `iIncrement`,`quoquotationslave`.`dOrderQty` AS `dOrderQty`,`quoquotationslave`.`bQlyComplete` AS `bQlyComplete`,`quoquotationslave`.`sParentId` AS `sParentId`,`quoquotationslave`.`dProfitMoney` AS `dProfitMoney`,`quoquotationslave`.`sColorReference` AS `sColorReference`,`quoquotationslave`.`sTransferredMatterCheck` AS `sTransferredMatterCheck`,`quoquotationslave`.`sTransferredMatter` AS `sTransferredMatter`,`quoquotationslave`.`sWorkpieceModel` AS `sWorkpieceModel`,`quoquotationslave`.`sProcessesNo` AS `sProcessesNo`,`quoquotationslave`.`dConversionRate` AS `dConversionRate`,`quoquotationslave`.`dProductionCycle` AS `dProductionCycle`,`quoquotationslave`.`sProductionCenter` AS `sProductionCenter`,`quoquotationslave`.`sMinPack` AS `sMinPack`,`quoquotationslave`.`dCombineCoefficient` AS `dCombineCoefficient`,`quoquotationslave`.`sCutMode` AS `sCutMode`,`quoquotationslave`.`sPlateNo` AS `sPlateNo`,`quoquotationslave`.`dNProductMoney` AS `dNProductMoney`,`quoquotationslave`.`dNProductPrice` AS `dNProductPrice`,`quoquotationslave`.`dFreightMoney` AS `dFreightMoney`,`quoquotationslave`.`dKnifeMouldMoney` AS `dKnifeMouldMoney`,`quoquotationslave`.`dPlateMoney` AS `dPlateMoney`,`quoquotationslave`.`dProofingMoney` AS `dProofingMoney`,`quoquotationslave`.`dProductForeignPrice` AS `dProductForeignPrice`,`quoquotationslave`.`dProfitRate` AS `dProfitRate`,`quoquotationslave`.`dPassRate` AS `dPassRate`,`quoquotationslave`.`dPackMoney` AS `dSlavePackMoney`,`quoquotationslave`.`dTransportMoney` AS `dSlaveTransportMoney`,`quoquotationslave`.`dBusinessMoney` AS `dBusinessMoney` from (`quoquotationmaster` join `quoquotationslave` on((`quoquotationmaster`.`sId` = `quoquotationslave`.`sParentId`)))
```

## Narrative

_No human-written narrative yet._
