# `viw_opsoutsideprocesscheckoneclear`（视图）


- **是否可更新：** NO
- **定义者：** `xlyprint@%`

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 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 | `sSupplyId` | `varchar(100)` | NO |
| 10 | `sContacts` | `varchar(255)` | YES |
| 11 | `sPhone` | `varchar(255)` | YES |
| 12 | `tDeliverDate` | `datetime` | YES |
| 13 | `sPurchaseManId` | `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)` | NO |
| 31 | `tAdvanceDate` | `datetime` | YES |
| 32 | `dRealAdvanceMoney` | `decimal(18,6)` | NO |
| 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)` | YES |
| 52 | `iSlaveOrder` | `int` | NO |
| 53 | `sMaterialsId` | `varchar(100)` | NO |
| 54 | `sMaterialsStyle` | `varchar(255)` | NO |
| 55 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 56 | `dNoInStoreAuxiliaryQty` | `decimal(19,6)` | NO |
| 57 | `dNoInStoreQty` | `decimal(19,6)` | NO |
| 58 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 59 | `sMaterialsUnit` | `varchar(255)` | NO |
| 60 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 61 | `dConversionQty` | `decimal(18,6)` | NO |
| 62 | `dMaterialsPrice` | `decimal(18,6)` | NO |
| 63 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 64 | `sSrcSlaveId` | `varchar(100)` | NO |
| 65 | `sSrcId` | `varchar(100)` | NO |
| 66 | `sSrcNo` | `varchar(255)` | NO |
| 67 | `dSrcQty` | `decimal(18,6)` | YES |
| 68 | `sSlaveMemo` | `text` | YES |
| 69 | `sTaxId` | `varchar(100)` | YES |
| 70 | `dMaterialsNoTaxPrice` | `decimal(18,6)` | YES |
| 71 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 72 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 73 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 74 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 75 | `dInStoreAuxiliaryQty` | `decimal(18,6)` | NO |
| 76 | `dInStoreQty` | `decimal(18,6)` | NO |
| 77 | `sBarcode` | `varchar(255)` | YES |
| 78 | `sOrderId` | `varchar(100)` | NO |
| 79 | `sOrderNo` | `varchar(255)` | NO |
| 80 | `sWorkOrderId` | `varchar(100)` | NO |
| 81 | `sWorkOrderNo` | `varchar(255)` | NO |
| 82 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 83 | `dPayMoney` | `decimal(18,6)` | NO |
| 84 | `sSReserve1` | `varchar(255)` | YES |
| 85 | `sSReserve2` | `varchar(255)` | YES |
| 86 | `sSReserve3` | `varchar(255)` | YES |
| 87 | `sSReserve4` | `varchar(255)` | YES |
| 88 | `sSReserve5` | `varchar(255)` | YES |
| 89 | `sSReserve6` | `varchar(255)` | YES |
| 90 | `dSReserve1` | `decimal(18,6)` | YES |
| 91 | `dSReserve2` | `decimal(18,6)` | YES |
| 92 | `dSReserve3` | `decimal(18,6)` | YES |
| 93 | `iSReserve1` | `int` | YES |
| 94 | `iSReserve2` | `int` | YES |
| 95 | `iSReserve3` | `int` | YES |
| 96 | `tSReserve1` | `datetime` | YES |
| 97 | `tSReserve2` | `datetime` | YES |
| 98 | `sWorkOrderProcessTbId` | `varchar(100)` | NO |
| 99 | `sWorkOrderMaterialsTbId` | `varchar(100)` | NO |
| 100 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 101 | `sOrderSlaveId` | `varchar(100)` | NO |
| 102 | `sCustomerId` | `varchar(100)` | NO |
| 103 | `sProductId` | `varchar(100)` | NO |
| 104 | `sProcessId` | `varchar(100)` | NO |
| 105 | `sParentId` | `varchar(100)` | NO |
| 106 | `sWebOrderNo` | `varchar(255)` | NO |
| 107 | `sWebOrderId` | `varchar(100)` | NO |
| 108 | `bInStoreComplete` | `bit(1)` | NO |
| 109 | `iIncrement` | `int` | NO |
| 110 | `dReturnAuxiliaryQty` | `decimal(18,6)` | NO |
| 111 | `bQlyComplete` | `bit(1)` | NO |
| 112 | `bPaymentComplete` | `bit(1)` | NO |
| 113 | `dQlyQty` | `decimal(18,6)` | NO |
| 114 | `dSampleQty` | `decimal(18,6)` | NO |
| 115 | `dArriveAuxiliaryQty` | `decimal(18,6)` | NO |
| 116 | `dArriveQty` | `decimal(18,6)` | NO |
| 117 | `bArriveComplete` | `bit(1)` | NO |
| 118 | `sPicturePath` | `varchar(100)` | NO |
| 119 | `tArriveDate` | `datetime` | YES |
| 120 | `sArrivePerson` | `varchar(255)` | NO |
| 121 | `tQlyDate` | `datetime` | YES |
| 122 | `sQlyPerson` | `varchar(255)` | NO |
| 123 | `tInStoreDate` | `datetime` | YES |
| 124 | `sInStorePerson` | `varchar(255)` | NO |
| 125 | `sSrcFormId` | `varchar(100)` | NO |
| 126 | `bSupply` | `bit(1)` | YES |
| 127 | `tSupplyDate` | `datetime` | YES |
| 128 | `sSupplyPerson` | `varchar(50)` | YES |
| 129 | `bOutConfirm` | `bit(1)` | YES |
| 130 | `sOutConfirmPerson` | `varchar(50)` | YES |
| 131 | `tOutConfirmDate` | `datetime` | YES |
| 132 | `dRetuAuxiliaryQty` | `decimal(18,6)` | YES |
| 133 | `dUnqualifiedQty` | `decimal(18,6)` | YES |
| 134 | `dCheckQty` | `decimal(18,6)` | YES |
| 135 | `sOutMaterialsId` | `varchar(255)` | YES |
| 136 | `iOutLogistics` | `int` | YES |
| 137 | `bOutLogisticsComplete` | `bit(1)` | YES |
| 138 | `iInLogistics` | `int` | YES |
| 139 | `bInLogisticsComplete` | `bit(1)` | YES |
| 140 | `dOtherMoney` | `decimal(18,6)` | YES |
| 141 | `dOldMaterialsPrice` | `decimal(24,13)` | NO |
| 142 | `dOldMaterialsMoney` | `decimal(18,6)` | YES |
| 143 | `dNoAuxiliaryQty` | `decimal(18,6)` | NO |
| 144 | `dRejectQty` | `decimal(18,2)` | YES |
| 145 | `dOutSendCarQty` | `decimal(18,6)` | YES |
| 146 | `dInSendCarQty` | `decimal(18,6)` | YES |
| 147 | `dBackAuxiliaryQty` | `decimal(18,6)` | YES |
| 148 | `iOutNum` | `int` | YES |
| 149 | `iReOutNum` | `int` | YES |
| 150 | `sTestSlaveId` | `varchar(100)` | YES |
| 151 | `sOutSlaveId` | `varchar(100)` | NO |
| 152 | `sTestBillNo` | `varchar(255)` | YES |
| 153 | `dArrAuxiliaryQty` | `decimal(18,6)` | NO |
| 154 | `dTestInStoreQty` | `decimal(18,6)` | NO |
| 155 | `iTestResult` | `bigint` | NO |
| 156 | `dInAuxiliaryQty` | `decimal(18,6)` | YES |
| 157 | `tQlyCreateDate` | `datetime` | YES |
| 158 | `sQlyMakePerson` | `varchar(255)` | YES |
| 159 | `sCheckMemo` | `text` | YES |
| 160 | `dCheckSampleQty` | `decimal(18,6)` | YES |
| 161 | `dNoConfirmQty` | `decimal(19,6)` | NO |

## 定义

```sql
select `xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sSupplyId` AS `sSupplyId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sContacts` AS `sContacts`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sPhone` AS `sPhone`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tDeliverDate` AS `tDeliverDate`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sPurchaseManId` AS `sPurchaseManId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sGetPayId` AS `sGetPayId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tGetPayDate` AS `tGetPayDate`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sConsignee` AS `sConsignee`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sDeliverId` AS `sDeliverId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sProvince` AS `sProvince`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sCity` AS `sCity`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sArea` AS `sArea`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sDeliverTo` AS `sDeliverTo`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sManualNo` AS `sManualNo`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`bPrint` AS `bPrint`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`bCopyLimit` AS `bCopyLimit`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tAdvanceDate` AS `tAdvanceDate`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sCurrency` AS `sCurrency`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`dCurrencyRate` AS `dCurrencyRate`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tMReserve2` AS `tMReserve2`,if((`c`.`iTestType` < 3),`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`sId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sId`) AS `sSlaveId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iOrder` AS `iSlaveOrder`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sMaterialsId` AS `sMaterialsId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,(ifnull(`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dAuxiliaryQty`,0) - ifnull(`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dInStoreAuxiliaryQty`,0)) AS `dNoInStoreAuxiliaryQty`,(ifnull(`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsQty`,0) - ifnull(`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dInStoreQty`,0)) AS `dNoInStoreQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sMaterialsUnit` AS `sMaterialsUnit`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsQty` AS `dMaterialsQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dConversionQty` AS `dConversionQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSrcId` AS `sSrcId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSrcNo` AS `sSrcNo`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dSrcQty` AS `dSrcQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSlaveMemo` AS `sSlaveMemo`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sTaxId` AS `sTaxId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dInStoreAuxiliaryQty` AS `dInStoreAuxiliaryQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dInStoreQty` AS `dInStoreQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sBarcode` AS `sBarcode`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sOrderId` AS `sOrderId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sOrderNo` AS `sOrderNo`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWorkOrderId` AS `sWorkOrderId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dPayMoney` AS `dPayMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSReserve1` AS `sSReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSReserve2` AS `sSReserve2`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSReserve3` AS `sSReserve3`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSReserve4` AS `sSReserve4`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSReserve5` AS `sSReserve5`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSReserve6` AS `sSReserve6`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dSReserve1` AS `dSReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dSReserve2` AS `dSReserve2`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dSReserve3` AS `dSReserve3`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iSReserve1` AS `iSReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iSReserve2` AS `iSReserve2`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iSReserve3` AS `iSReserve3`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`tSReserve1` AS `tSReserve1`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`tSReserve2` AS `tSReserve2`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWorkOrderProcessTbId` AS `sWorkOrderProcessTbId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sCustomerId` AS `sCustomerId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sProductId` AS `sProductId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sProcessId` AS `sProcessId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sParentId` AS `sParentId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWebOrderNo` AS `sWebOrderNo`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sWebOrderId` AS `sWebOrderId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`bInStoreComplete` AS `bInStoreComplete`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iIncrement` AS `iIncrement`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dReturnAuxiliaryQty` AS `dReturnAuxiliaryQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`bQlyComplete` AS `bQlyComplete`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`bPaymentComplete` AS `bPaymentComplete`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dQlyQty` AS `dQlyQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dSampleQty` AS `dSampleQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dArriveAuxiliaryQty` AS `dArriveAuxiliaryQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dArriveQty` AS `dArriveQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`bArriveComplete` AS `bArriveComplete`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sPicturePath` AS `sPicturePath`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`tArriveDate` AS `tArriveDate`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sArrivePerson` AS `sArrivePerson`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`tQlyDate` AS `tQlyDate`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sQlyPerson` AS `sQlyPerson`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`tInStoreDate` AS `tInStoreDate`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sInStorePerson` AS `sInStorePerson`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sSrcFormId` AS `sSrcFormId`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`bSupply` AS `bSupply`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`tSupplyDate` AS `tSupplyDate`,`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sSupplyPerson` AS `sSupplyPerson`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`bOutConfirm` AS `bOutConfirm`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sOutConfirmPerson` AS `sOutConfirmPerson`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`tOutConfirmDate` AS `tOutConfirmDate`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dRetuAuxiliaryQty` AS `dRetuAuxiliaryQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dUnqualifiedQty` AS `dUnqualifiedQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dCheckQty` AS `dCheckQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sOutMaterialsId` AS `sOutMaterialsId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iOutLogistics` AS `iOutLogistics`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`bOutLogisticsComplete` AS `bOutLogisticsComplete`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iInLogistics` AS `iInLogistics`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`bInLogisticsComplete` AS `bInLogisticsComplete`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dOtherMoney` AS `dOtherMoney`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dOldMaterialsPrice` AS `dOldMaterialsPrice`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dOldMaterialsMoney` AS `dOldMaterialsMoney`,(case when (locate('YFSQ',`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sOrderNo`) > 0) then `xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dAuxiliaryQty` else (case when (`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dQlyQty` > `xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dAuxiliaryQty`) then `xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dAuxiliaryQty` else `xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dQlyQty` end) end) AS `dNoAuxiliaryQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dRejectQty` AS `dRejectQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dOutSendCarQty` AS `dOutSendCarQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dInSendCarQty` AS `dInSendCarQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dBackAuxiliaryQty` AS `dBackAuxiliaryQty`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iOutNum` AS `iOutNum`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`iReOutNum` AS `iReOutNum`,`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`sId` AS `sTestSlaveId`,`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sId` AS `sOutSlaveId`,`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`sBillNo` AS `sTestBillNo`,ifnull(`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`dArrAuxiliaryQty`,0) AS `dArrAuxiliaryQty`,ifnull(`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`dInStoreQty`,0) AS `dTestInStoreQty`,ifnull(`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`iTestResult`,0) AS `iTestResult`,if((ifnull(`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`sId`,'') = ''),`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dInStoreAuxiliaryQty`,`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`dInStoreQty`) AS `dInAuxiliaryQty`,`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`tCreateDate` AS `tQlyCreateDate`,`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`sMakePerson` AS `sQlyMakePerson`,`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`sMemo` AS `sCheckMemo`,`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`dSampleQty` AS `dCheckSampleQty`,if((`c`.`iTestType` < 3),(ifnull(`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`dArrAuxiliaryQty`,0) - ifnull(`xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`dInStoreQty`,0)),(`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dAuxiliaryQty` - `xlyweberp_saas_ai`.`opsoutsideprocessslave`.`dInStoreAuxiliaryQty`)) AS `dNoConfirmQty` from (((`xlyweberp_saas_ai`.`opsoutsideprocessmaster` join `xlyweberp_saas_ai`.`opsoutsideprocessslave` on((`xlyweberp_saas_ai`.`opsoutsideprocessmaster`.`sId` = `xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sParentId`))) join `xlyweberp_saas_ai`.`eleprocess` `c` on((`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sProcessId` = `c`.`sId`))) left join `xlyweberp_saas_ai`.`qlyoutsideproducttestmaster` on((`xlyweberp_saas_ai`.`opsoutsideprocessslave`.`sId` = `xlyweberp_saas_ai`.`qlyoutsideproducttestmaster`.`sSrcSlaveId`)))
```

## 说明

_暂无人工说明。_
