# `viw_ai_mftworkorderslave` (view)


- **Updatable:** NO

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `bProduction` | `bit(1)` | YES |
| 2 | `sBrandsId` | `varchar(100)` | YES |
| 3 | `sSubsidiaryId` | `varchar(100)` | YES |
| 4 | `tCreateDate` | `datetime` | YES |
| 5 | `tUpdateDate` | `datetime` | YES |
| 6 | `sMakePerson` | `varchar(255)` | YES |
| 7 | `sFormId` | `varchar(100)` | YES |
| 8 | `iOrder` | `int` | YES |
| 9 | `sBillNo` | `varchar(255)` | YES |
| 10 | `sMemo` | `text` | YES |
| 11 | `bCheck` | `bit(1)` | YES |
| 12 | `tCheckDate` | `datetime` | YES |
| 13 | `sCheckPerson` | `varchar(255)` | YES |
| 14 | `bPrint` | `bit(1)` | YES |
| 15 | `bBillComplete` | `bit(1)` | YES |
| 16 | `bBillOutside` | `bit(1)` | YES |
| 17 | `bCopyLimit` | `bit(1)` | YES |
| 18 | `sStatus` | `varchar(255)` | YES |
| 19 | `bInvalid` | `bit(1)` | YES |
| 20 | `bNotInStorageOverdueComplete` | `bit(1)` | YES |
| 21 | `sType` | `varchar(255)` | YES |
| 22 | `sProductState` | `varchar(3)` | NO |
| 23 | `sSlaveId` | `varchar(100)` | NO |
| 24 | `iSlaveOrder` | `int` | NO |
| 25 | `sCustomerNo` | `varchar(255)` | YES |
| 26 | `sCustomerName` | `varchar(255)` | YES |
| 27 | `sSalesManName` | `varchar(255)` | YES |
| 28 | `sDepartName` | `varchar(255)` | YES |
| 29 | `sGetPayName` | `varchar(255)` | YES |
| 30 | `sContacts` | `varchar(255)` | YES |
| 31 | `sPhone` | `varchar(255)` | YES |
| 32 | `tDeliverDate` | `datetime` | YES |
| 33 | `sProductTechnologyVer` | `varchar(255)` | YES |
| 34 | `tGetPayDate` | `datetime` | YES |
| 35 | `sConsignee` | `varchar(255)` | YES |
| 36 | `sConsigneeMobile` | `varchar(255)` | YES |
| 37 | `sDeliverId` | `varchar(100)` | YES |
| 38 | `sProvince` | `varchar(255)` | YES |
| 39 | `sCity` | `varchar(255)` | YES |
| 40 | `sArea` | `varchar(255)` | YES |
| 41 | `sDeliverTo` | `varchar(255)` | YES |
| 42 | `sManualNo` | `varchar(255)` | YES |
| 43 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 44 | `sCurrency` | `varchar(255)` | YES |
| 45 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 46 | `sProductNo` | `varchar(50)` | YES |
| 47 | `sProductName` | `varchar(100)` | YES |
| 48 | `sProductStyle` | `varchar(50)` | YES |
| 49 | `sProductUnit` | `varchar(50)` | YES |
| 50 | `sProductSortName` | `varchar(100)` | YES |
| 51 | `dProductQty` | `decimal(18,6)` | NO |
| 52 | `dProductNotStoreQty` | `decimal(19,6)` | NO |
| 53 | `dProductPrice` | `decimal(18,6)` | NO |
| 54 | `dProductMoney` | `decimal(18,6)` | NO |
| 55 | `sProductInfo` | `text` | YES |
| 56 | `sMaterialsMemo` | `text` | YES |
| 57 | `sProcessMemo` | `text` | YES |
| 58 | `sSrcSlaveId` | `varchar(100)` | NO |
| 59 | `sSrcId` | `varchar(100)` | NO |
| 60 | `sSrcNo` | `varchar(255)` | NO |
| 61 | `dSrcQty` | `decimal(18,6)` | YES |
| 62 | `dProductPQty` | `decimal(18,6)` | YES |
| 63 | `bProductInStoreComplete` | `bit(1)` | NO |
| 64 | `bDeliverComplete` | `bit(1)` | NO |
| 65 | `bDeliverNotifyComplete` | `bit(1)` | NO |
| 66 | `bOutsideProcessComplete` | `bit(1)` | NO |
| 67 | `sQualityRequireMemo` | `text` | YES |
| 68 | `sPackRequireMemo` | `text` | YES |
| 69 | `sSlaveMemo` | `text` | YES |
| 70 | `sTaxId` | `varchar(100)` | YES |
| 71 | `dProductNoTaxPrice` | `decimal(18,6)` | YES |
| 72 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 73 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 74 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 75 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 76 | `dProductInStoreQty` | `decimal(18,6)` | NO |
| 77 | `dDeliverNotifyQty` | `decimal(18,6)` | NO |
| 78 | `dDeliverQty` | `decimal(18,6)` | NO |
| 79 | `dCheckingQty` | `decimal(18,6)` | NO |
| 80 | `dReceiptMoney` | `decimal(18,6)` | NO |
| 81 | `dOutsideProcessQty` | `decimal(18,6)` | NO |
| 82 | `sWebOrderNo` | `varchar(255)` | NO |
| 83 | `sWebOrderId` | `varchar(100)` | NO |
| 84 | `sBarcode` | `varchar(255)` | YES |
| 85 | `dGiveQty` | `decimal(18,6)` | NO |
| 86 | `sProductTechnologyId` | `varchar(100)` | YES |
| 87 | `sOrderId` | `varchar(100)` | NO |
| 88 | `sOrderNo` | `varchar(255)` | NO |
| 89 | `sId` | `varchar(100)` | YES |
| 90 | `tBillCompleteDate` | `datetime` | YES |
| 91 | `dPresentQty` | `decimal(18,6)` | NO |
| 92 | `sOrderSlaveId` | `varchar(100)` | NO |
| 93 | `iProductStick` | `int` | YES |
| 94 | `bCheckingComplete` | `bit(1)` | NO |
| 95 | `bSlaveAdvanceComplete` | `bit(1)` | NO |
| 96 | `sPlateMaking` | `varchar(255)` | YES |
| 97 | `iIncrement` | `int` | NO |
| 98 | `bQlyComplete` | `bit(1)` | NO |
| 99 | `dQlyQty` | `decimal(18,6)` | NO |
| 100 | `dAllMoney` | `decimal(19,6)` | NO |
| 101 | `dSaleProfit` | `decimal(21,6)` | YES |
| 102 | `dTransportMoney` | `decimal(18,6)` | NO |
| 103 | `dPackMoney` | `decimal(18,6)` | NO |
| 104 | `dAuxiliaryMaterialsMoney` | `decimal(18,6)` | NO |
| 105 | `dMasterMaterialsMoney` | `decimal(18,6)` | NO |
| 106 | `dPrintProductMoney` | `decimal(18,6)` | NO |
| 107 | `dPrintAfterMoney` | `decimal(18,6)` | NO |
| 108 | `dPrintMoney` | `decimal(18,6)` | NO |
| 109 | `dPrintBeforeMoney` | `decimal(18,6)` | NO |
| 110 | `bCarryOver` | `bit(1)` | YES |
| 111 | `dProductCarryOverQty` | `decimal(18,6)` | YES |
| 112 | `tFactCountCost` | `datetime` | YES |
| 113 | `bReceiptComplete` | `bit(1)` | NO |
| 114 | `dSampleQty` | `decimal(18,6)` | NO |
| 115 | `dCombineQty` | `decimal(18,6)` | NO |
| 116 | `dDiameter` | `decimal(18,6)` | YES |
| 117 | `dOutSideDiameter` | `decimal(18,6)` | YES |
| 118 | `bCutting` | `bit(1)` | NO |
| 119 | `dMeters` | `decimal(18,6)` | YES |
| 120 | `dPaper` | `decimal(18,6)` | YES |
| 121 | `sPaperDirection` | `varchar(100)` | YES |
| 122 | `dSkip` | `decimal(18,6)` | YES |
| 123 | `dLeftSide` | `decimal(18,6)` | YES |
| 124 | `sPartsStyle` | `varchar(255)` | NO |
| 125 | `sColorMemo` | `text` | YES |
| 126 | `bCustomerStatus` | `bit(1)` | NO |
| 127 | `bCustomerStatusEnd` | `bit(1)` | NO |
| 128 | `dCompleteQty` | `decimal(18,6)` | NO |
| 129 | `sNoFormat` | `varchar(255)` | YES |
| 130 | `sStockup` | `char(1)` | YES |
| 131 | `bCustomerSureComplete` | `bit(1)` | YES |
| 132 | `dDiffDate` | `int` | YES |
| 133 | `dEverybarQty` | `decimal(18,6)` | NO |
| 134 | `dEachcaseQty` | `decimal(18,6)` | NO |
| 135 | `dPackQty` | `decimal(18,6)` | NO |
| 136 | `sBoxStyle` | `varchar(100)` | NO |
| 137 | `dFactProductQty` | `decimal(18,6)` | NO |
| 138 | `dLimitSampleQty` | `decimal(18,6)` | NO |
| 139 | `dStandardSampleQty` | `decimal(18,6)` | NO |
| 140 | `sColorReference` | `varchar(100)` | NO |
| 141 | `sTransferredMatterCheck` | `varchar(100)` | NO |
| 142 | `sTransferredMatter` | `varchar(100)` | NO |
| 143 | `sWorkpieceModel` | `varchar(100)` | NO |
| 144 | `sProcessesNo` | `varchar(100)` | NO |
| 145 | `dConversionRate` | `decimal(18,6)` | NO |
| 146 | `dProductionCycle` | `decimal(18,6)` | NO |
| 147 | `sProductionCenter` | `varchar(100)` | NO |
| 148 | `sMinPack` | `varchar(100)` | NO |
| 149 | `dCombineCoefficient` | `decimal(18,6)` | NO |
| 150 | `sCutMode` | `varchar(100)` | NO |
| 151 | `sPlateNo` | `varchar(100)` | NO |
| 152 | `sMaterialsStyle` | `varchar(100)` | NO |
| 153 | `sAuxiliaryUnit` | `varchar(100)` | NO |
| 154 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 155 | `dConversionQty` | `decimal(18,6)` | NO |
| 156 | `dNProductMoney` | `decimal(18,6)` | NO |
| 157 | `dNProductPrice` | `decimal(18,6)` | NO |
| 158 | `dFreightMoney` | `decimal(18,6)` | NO |
| 159 | `dKnifeMouldMoney` | `decimal(18,6)` | NO |
| 160 | `dPlateMoney` | `decimal(18,6)` | NO |
| 161 | `dProofingMoney` | `decimal(18,6)` | NO |
| 162 | `dProductForeignPrice` | `decimal(18,6)` | NO |
| 163 | `dFreightReturnMoney` | `decimal(18,6)` | NO |
| 164 | `dKnifeMouldReturnMoney` | `decimal(18,6)` | NO |
| 165 | `dPlateReturnMoney` | `decimal(18,6)` | NO |
| 166 | `dProofingReturnMoney` | `decimal(18,6)` | NO |
| 167 | `dCertificateQty` | `decimal(18,6)` | NO |
| 168 | `bCertificateComplete` | `bit(1)` | NO |
| 169 | `sSalveMemo` | `text` | YES |
| 170 | `tSrcDate` | `datetime` | YES |
| 171 | `sPlannerMemo` | `varchar(50)` | NO |
| 172 | `tPlannerSet` | `datetime` | YES |
| 173 | `bPlanB` | `bit(1)` | NO |
| 174 | `dPitInstoreStockupQty` | `decimal(18,6)` | NO |
| 175 | `dStockupQty` | `decimal(18,6)` | NO |
| 176 | `sFatherSlaveId` | `varchar(255)` | NO |
| 177 | `tCustomerStatus` | `datetime` | YES |
| 178 | `sCustomerFailType` | `varchar(255)` | YES |
| 179 | `sCustomerFailMemo` | `varchar(255)` | YES |
| 180 | `sCompletePerson` | `varchar(255)` | YES |
| 181 | `dTotalQty` | `decimal(18,6)` | NO |
| 182 | `sProductVer` | `varchar(255)` | YES |
| 183 | `sAccidentId` | `varchar(100)` | YES |
| 184 | `sOrderType` | `varchar(255)` | YES |
| 185 | `sMaterialsId` | `varchar(50)` | YES |
| 186 | `sFeedBack1Memo` | `text` | YES |
| 187 | `sFeedBack2Memo` | `text` | YES |
| 188 | `sFeedBack3Memo` | `text` | YES |
| 189 | `bSucceed` | `bit(1)` | YES |
| 190 | `bMCheck` | `bit(1)` | YES |
| 191 | `tMCheckDate` | `datetime` | YES |
| 192 | `sZLKnifeMouldId` | `varchar(50)` | NO |
| 193 | `iTotalQty` | `decimal(40,6)` | YES |
| 194 | `bPublish` | `bit(1)` | YES |
| 195 | `sPublishPerson` | `varchar(50)` | YES |
| 196 | `tPublishDate` | `datetime` | YES |
| 197 | `iPublishQty` | `int` | YES |
| 198 | `sAccidentNo` | `varchar(50)` | YES |

## Definition

```sql
select `mftworkordermaster`.`bProduction` AS `bProduction`,`mftworkordermaster`.`sBrandsId` AS `sBrandsId`,`mftworkordermaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`mftworkordermaster`.`tCreateDate` AS `tCreateDate`,`mftworkordermaster`.`tCreateDate` AS `tUpdateDate`,`mftworkordermaster`.`sMakePerson` AS `sMakePerson`,`mftworkordermaster`.`sFormId` AS `sFormId`,`mftworkordermaster`.`iOrder` AS `iOrder`,`mftworkordermaster`.`sBillNo` AS `sBillNo`,`mftworkordermaster`.`sMemo` AS `sMemo`,`mftworkordermaster`.`bCheck` AS `bCheck`,`mftworkordermaster`.`tCheckDate` AS `tCheckDate`,`mftworkordermaster`.`sCheckPerson` AS `sCheckPerson`,`mftworkordermaster`.`bPrint` AS `bPrint`,`mftworkordermaster`.`bBillComplete` AS `bBillComplete`,`mftworkordermaster`.`bBillOutside` AS `bBillOutside`,`mftworkordermaster`.`bCopyLimit` AS `bCopyLimit`,`mftworkordermaster`.`sStatus` AS `sStatus`,`mftworkordermaster`.`bInvalid` AS `bInvalid`,`mftworkordermaster`.`bNotInStorageOverdueComplete` AS `bNotInStorageOverdueComplete`,`mftworkordermaster`.`sType` AS `sType`,if((`mftworkordermaster`.`bBillComplete` = 1),'已完成','未完成') AS `sProductState`,`mftworkorderslave`.`sId` AS `sSlaveId`,`mftworkorderslave`.`iOrder` AS `iSlaveOrder`,`elecustomer`.`sCustomerNo` AS `sCustomerNo`,`elecustomer`.`sCustomerName` AS `sCustomerName`,`sissalesman`.`sName` AS `sSalesManName`,`sisdepart`.`sName` AS `sDepartName`,`sispayment`.`sName` AS `sGetPayName`,`mftworkorderslave`.`sContacts` AS `sContacts`,`mftworkorderslave`.`sPhone` AS `sPhone`,`mftworkorderslave`.`tDeliverDate` AS `tDeliverDate`,`mftworkorderslave`.`sProductTechnologyVer` AS `sProductTechnologyVer`,`mftworkorderslave`.`tGetPayDate` AS `tGetPayDate`,`mftworkorderslave`.`sConsignee` AS `sConsignee`,`mftworkorderslave`.`sConsigneeMobile` AS `sConsigneeMobile`,`mftworkorderslave`.`sDeliverId` AS `sDeliverId`,`mftworkorderslave`.`sProvince` AS `sProvince`,`mftworkorderslave`.`sCity` AS `sCity`,`mftworkorderslave`.`sArea` AS `sArea`,`mftworkorderslave`.`sDeliverTo` AS `sDeliverTo`,`mftworkorderslave`.`sManualNo` AS `sManualNo`,`mftworkorderslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`mftworkorderslave`.`sCurrency` AS `sCurrency`,`mftworkorderslave`.`dCurrencyRate` AS `dCurrencyRate`,`eleproduct`.`sProductNo` AS `sProductNo`,`eleproduct`.`sProductName` AS `sProductName`,`eleproduct`.`sProductStyle` AS `sProductStyle`,`eleproduct`.`sProductUnit` AS `sProductUnit`,`sisproductclassify`.`sName` AS `sProductSortName`,`mftworkorderslave`.`dProductQty` AS `dProductQty`,(ifnull(`mftworkorderslave`.`dProductQty`,0) - ifnull(`mftworkorderslave`.`dProductInStoreQty`,0)) AS `dProductNotStoreQty`,`mftworkorderslave`.`dProductPrice` AS `dProductPrice`,`mftworkorderslave`.`dProductMoney` AS `dProductMoney`,`mftworkorderslave`.`sProductInfo` AS `sProductInfo`,`mftworkorderslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`mftworkorderslave`.`sProcessMemo` AS `sProcessMemo`,`mftworkorderslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`mftworkorderslave`.`sSrcId` AS `sSrcId`,`mftworkorderslave`.`sSrcNo` AS `sSrcNo`,`mftworkorderslave`.`dSrcQty` AS `dSrcQty`,`mftworkorderslave`.`dProductPQty` AS `dProductPQty`,`mftworkorderslave`.`bProductInStoreComplete` AS `bProductInStoreComplete`,`mftworkorderslave`.`bDeliverComplete` AS `bDeliverComplete`,`mftworkorderslave`.`bDeliverNotifyComplete` AS `bDeliverNotifyComplete`,`mftworkorderslave`.`bOutsideProcessComplete` AS `bOutsideProcessComplete`,`mftworkorderslave`.`sQualityRequireMemo` AS `sQualityRequireMemo`,`mftworkorderslave`.`sPackRequireMemo` AS `sPackRequireMemo`,`mftworkorderslave`.`sSlaveMemo` AS `sSlaveMemo`,`mftworkorderslave`.`sTaxId` AS `sTaxId`,`mftworkorderslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`mftworkorderslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`mftworkorderslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`mftworkorderslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`mftworkorderslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`mftworkorderslave`.`dProductInStoreQty` AS `dProductInStoreQty`,`mftworkorderslave`.`dDeliverNotifyQty` AS `dDeliverNotifyQty`,`mftworkorderslave`.`dDeliverQty` AS `dDeliverQty`,`mftworkorderslave`.`dCheckingQty` AS `dCheckingQty`,`mftworkorderslave`.`dReceiptMoney` AS `dReceiptMoney`,`mftworkorderslave`.`dOutsideProcessQty` AS `dOutsideProcessQty`,`mftworkorderslave`.`sWebOrderNo` AS `sWebOrderNo`,`mftworkorderslave`.`sWebOrderId` AS `sWebOrderId`,`mftworkorderslave`.`sBarcode` AS `sBarcode`,`mftworkorderslave`.`dGiveQty` AS `dGiveQty`,`mftworkorderslave`.`sProductTechnologyId` AS `sProductTechnologyId`,`mftworkorderslave`.`sOrderId` AS `sOrderId`,`mftworkorderslave`.`sOrderNo` AS `sOrderNo`,`mftworkordermaster`.`sId` AS `sId`,`mftworkordermaster`.`tBillCompleteDate` AS `tBillCompleteDate`,`mftworkorderslave`.`dPresentQty` AS `dPresentQty`,`mftworkorderslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`mftworkorderslave`.`iProductStick` AS `iProductStick`,`mftworkorderslave`.`bCheckingComplete` AS `bCheckingComplete`,`mftworkorderslave`.`bAdvanceComplete` AS `bSlaveAdvanceComplete`,`mftworkordermaster`.`sPlateMaking` AS `sPlateMaking`,`mftworkorderslave`.`iIncrement` AS `iIncrement`,`mftworkorderslave`.`bQlyComplete` AS `bQlyComplete`,`mftworkorderslave`.`dQlyQty` AS `dQlyQty`,(`mftworkorderslave`.`dCostProcessMoney` + `mftworkorderslave`.`dCostMaterialsMoney`) AS `dAllMoney`,(((`mftworkorderslave`.`dProductMoney` - `mftworkorderslave`.`dCostProcessMoney`) - `mftworkorderslave`.`dCostMaterialsMoney`) - `mftworkorderslave`.`dProductTaxMoney`) AS `dSaleProfit`,`mftworkorderslave`.`dTransportMoney` AS `dTransportMoney`,`mftworkorderslave`.`dPackMoney` AS `dPackMoney`,`mftworkorderslave`.`dAuxiliaryMaterialsMoney` AS `dAuxiliaryMaterialsMoney`,`mftworkorderslave`.`dMasterMaterialsMoney` AS `dMasterMaterialsMoney`,`mftworkorderslave`.`dPrintProductMoney` AS `dPrintProductMoney`,`mftworkorderslave`.`dPrintAfterMoney` AS `dPrintAfterMoney`,`mftworkorderslave`.`dPrintMoney` AS `dPrintMoney`,`mftworkorderslave`.`dPrintBeforeMoney` AS `dPrintBeforeMoney`,`mftworkordermaster`.`bCarryOver` AS `bCarryOver`,`mftworkordermaster`.`dProductCarryOverQty` AS `dProductCarryOverQty`,`mftworkordermaster`.`tFactCountCost` AS `tFactCountCost`,`mftworkorderslave`.`bReceiptComplete` AS `bReceiptComplete`,`mftworkorderslave`.`dSampleQty` AS `dSampleQty`,`mftworkorderslave`.`dCombineQty` AS `dCombineQty`,`mftworkorderslave`.`dDiameter` AS `dDiameter`,`mftworkorderslave`.`dOutSideDiameter` AS `dOutSideDiameter`,`mftworkorderslave`.`bCutting` AS `bCutting`,`mftworkorderslave`.`dMeters` AS `dMeters`,`mftworkorderslave`.`dPaper` AS `dPaper`,`mftworkorderslave`.`sPaperDirection` AS `sPaperDirection`,`mftworkorderslave`.`dSkip` AS `dSkip`,`mftworkorderslave`.`dLeftSide` AS `dLeftSide`,`mftworkorderslave`.`sPartsStyle` AS `sPartsStyle`,`mftworkorderslave`.`sColorMemo` AS `sColorMemo`,`mftworkorderslave`.`bCustomerStatus` AS `bCustomerStatus`,`mftworkorderslave`.`bCustomerStatusEnd` AS `bCustomerStatusEnd`,`mftworkorderslave`.`dCompleteQty` AS `dCompleteQty`,`mftworkordermaster`.`sNoFormat` AS `sNoFormat`,`mftworkordermaster`.`sStockup` AS `sStockup`,`mftworkordermaster`.`bCustomerSureComplete` AS `bCustomerSureComplete`,(to_days(now()) - to_days(`mftworkorderslave`.`tDeliverDate`)) AS `dDiffDate`,`mftworkorderslave`.`dEverybarQty` AS `dEverybarQty`,`mftworkorderslave`.`dEachcaseQty` AS `dEachcaseQty`,`mftworkorderslave`.`dPackQty` AS `dPackQty`,`mftworkorderslave`.`sBoxStyle` AS `sBoxStyle`,`mftworkorderslave`.`dFactProductQty` AS `dFactProductQty`,`mftworkorderslave`.`dLimitSampleQty` AS `dLimitSampleQty`,`mftworkorderslave`.`dStandardSampleQty` AS `dStandardSampleQty`,`mftworkorderslave`.`sColorReference` AS `sColorReference`,`mftworkorderslave`.`sTransferredMatterCheck` AS `sTransferredMatterCheck`,`mftworkorderslave`.`sTransferredMatter` AS `sTransferredMatter`,`mftworkorderslave`.`sWorkpieceModel` AS `sWorkpieceModel`,`mftworkorderslave`.`sProcessesNo` AS `sProcessesNo`,`mftworkorderslave`.`dConversionRate` AS `dConversionRate`,`mftworkorderslave`.`dProductionCycle` AS `dProductionCycle`,`mftworkorderslave`.`sProductionCenter` AS `sProductionCenter`,`mftworkorderslave`.`sMinPack` AS `sMinPack`,`mftworkorderslave`.`dCombineCoefficient` AS `dCombineCoefficient`,`mftworkorderslave`.`sCutMode` AS `sCutMode`,`mftworkorderslave`.`sPlateNo` AS `sPlateNo`,`mftworkorderslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`mftworkorderslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`mftworkorderslave`.`dMaterialsQty` AS `dMaterialsQty`,`mftworkorderslave`.`dConversionQty` AS `dConversionQty`,`mftworkorderslave`.`dNProductMoney` AS `dNProductMoney`,`mftworkorderslave`.`dNProductPrice` AS `dNProductPrice`,`mftworkorderslave`.`dFreightMoney` AS `dFreightMoney`,`mftworkorderslave`.`dKnifeMouldMoney` AS `dKnifeMouldMoney`,`mftworkorderslave`.`dPlateMoney` AS `dPlateMoney`,`mftworkorderslave`.`dProofingMoney` AS `dProofingMoney`,`mftworkorderslave`.`dProductForeignPrice` AS `dProductForeignPrice`,`mftworkorderslave`.`dFreightReturnMoney` AS `dFreightReturnMoney`,`mftworkorderslave`.`dKnifeMouldReturnMoney` AS `dKnifeMouldReturnMoney`,`mftworkorderslave`.`dPlateReturnMoney` AS `dPlateReturnMoney`,`mftworkorderslave`.`dProofingReturnMoney` AS `dProofingReturnMoney`,`mftworkorderslave`.`dCertificateQty` AS `dCertificateQty`,`mftworkorderslave`.`bCertificateComplete` AS `bCertificateComplete`,`mftworkorderslave`.`sMemo` AS `sSalveMemo`,`mftworkorderslave`.`tSrcDate` AS `tSrcDate`,`mftworkorderslave`.`sPlannerMemo` AS `sPlannerMemo`,`mftworkorderslave`.`tPlannerSet` AS `tPlannerSet`,`mftworkorderslave`.`bPlanB` AS `bPlanB`,`mftworkorderslave`.`dPitInstoreStockupQty` AS `dPitInstoreStockupQty`,`mftworkorderslave`.`dStockupQty` AS `dStockupQty`,`mftworkorderslave`.`sFatherSlaveId` AS `sFatherSlaveId`,`mftworkorderslave`.`tCustomerStatus` AS `tCustomerStatus`,`mftworkorderslave`.`sCustomerFailType` AS `sCustomerFailType`,`mftworkorderslave`.`sCustomerFailMemo` AS `sCustomerFailMemo`,`mftworkordermaster`.`sCompletePerson` AS `sCompletePerson`,(case when (`mftworkorderslave`.`dQlyQty` > 0) then `mftworkorderslave`.`dQlyQty` else `mftworkorderslave`.`dProductQty` end) AS `dTotalQty`,`mftworkorderslave`.`sProductVer` AS `sProductVer`,`mftworkorderslave`.`sAccidentId` AS `sAccidentId`,`mftworkorderslave`.`sOrderType` AS `sOrderType`,`mftworkorderslave`.`sMaterialsId` AS `sMaterialsId`,`mftworkorderslave`.`sFeedBack1Memo` AS `sFeedBack1Memo`,`mftworkorderslave`.`sFeedBack2Memo` AS `sFeedBack2Memo`,`mftworkorderslave`.`sFeedBack3Memo` AS `sFeedBack3Memo`,`mftworkorderslave`.`bSucceed` AS `bSucceed`,`mftworkorderslave`.`bMCheck` AS `bMCheck`,`mftworkorderslave`.`tMCheckDate` AS `tMCheckDate`,`mftworkorderslave`.`sZLKnifeMouldId` AS `sZLKnifeMouldId`,(select sum(`mftworkorderprocess`.`dProcessQty`) from `mftworkorderprocess` where ((`mftworkorderprocess`.`sParentId` = `mftworkordermaster`.`sId`) and (`mftworkorderprocess`.`sProcessId` = '1691254111216986535514640'))) AS `iTotalQty`,`mftworkorderslave`.`bPublish` AS `bPublish`,`mftworkorderslave`.`sPublishPerson` AS `sPublishPerson`,`mftworkorderslave`.`tPublishDate` AS `tPublishDate`,`mftworkorderslave`.`iPublishQty` AS `iPublishQty`,`mftworkorderslave`.`sAccidentNo` AS `sAccidentNo` from (((((((`mftworkordermaster` join `mftworkorderslave` on((`mftworkordermaster`.`sId` = `mftworkorderslave`.`sParentId`))) left join `elecustomer` on((`elecustomer`.`sId` = `mftworkorderslave`.`sCustomerId`))) left join `sispayment` on((`sispayment`.`sId` = `mftworkorderslave`.`sGetPayId`))) left join `sissalesman` on((`sissalesman`.`sId` = `mftworkorderslave`.`sSalesManId`))) left join `sisdepart` on((`sisdepart`.`sId` = `sissalesman`.`sDepartId`))) left join `eleproduct` on((`eleproduct`.`sId` = `mftworkorderslave`.`sProductId`))) left join `sisproductclassify` on((`sisproductclassify`.`sId` = `eleproduct`.`sParentId`))) where ((`mftworkordermaster`.`sFormId` = '101251240115016002469445380') or (`mftworkordermaster`.`sFormId` = '101251240115015840916341460'))
```

## Narrative

_No human-written narrative yet._
