# `viw_opsoutsideprocess_copy1` (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 | `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)` | NO |
| 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 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 58 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 59 | `dConversionQty` | `decimal(18,6)` | NO |
| 60 | `dMaterialsPrice` | `decimal(18,6)` | NO |
| 61 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 62 | `sSrcSlaveId` | `varchar(100)` | NO |
| 63 | `sSrcId` | `varchar(100)` | NO |
| 64 | `sSrcNo` | `varchar(255)` | NO |
| 65 | `dSrcQty` | `decimal(18,6)` | YES |
| 66 | `sSlaveMemo` | `text` | YES |
| 67 | `sTaxId` | `varchar(100)` | YES |
| 68 | `dMaterialsNoTaxPrice` | `decimal(18,6)` | YES |
| 69 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 70 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 71 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 72 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 73 | `dInStoreAuxiliaryQty` | `decimal(18,6)` | NO |
| 74 | `dInStoreQty` | `decimal(18,6)` | NO |
| 75 | `sBarcode` | `varchar(255)` | YES |
| 76 | `sOrderId` | `varchar(100)` | NO |
| 77 | `sOrderNo` | `varchar(255)` | NO |
| 78 | `sWorkOrderId` | `varchar(100)` | NO |
| 79 | `sWorkOrderNo` | `varchar(255)` | NO |
| 80 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 81 | `dPayMoney` | `decimal(18,6)` | NO |
| 82 | `sSReserve1` | `varchar(255)` | YES |
| 83 | `sSReserve2` | `varchar(255)` | YES |
| 84 | `sSReserve3` | `varchar(255)` | YES |
| 85 | `sSReserve4` | `varchar(255)` | YES |
| 86 | `sSReserve5` | `varchar(255)` | YES |
| 87 | `sSReserve6` | `varchar(255)` | YES |
| 88 | `dSReserve1` | `decimal(18,6)` | YES |
| 89 | `dSReserve2` | `decimal(18,6)` | YES |
| 90 | `dSReserve3` | `decimal(18,6)` | YES |
| 91 | `iSReserve1` | `int` | YES |
| 92 | `iSReserve2` | `int` | YES |
| 93 | `iSReserve3` | `int` | YES |
| 94 | `tSReserve1` | `datetime` | YES |
| 95 | `tSReserve2` | `datetime` | YES |
| 96 | `sWorkOrderProcessTbId` | `varchar(100)` | NO |
| 97 | `sWorkOrderMaterialsTbId` | `varchar(100)` | NO |
| 98 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 99 | `sOrderSlaveId` | `varchar(100)` | NO |
| 100 | `sCustomerId` | `varchar(100)` | NO |
| 101 | `sProductId` | `varchar(100)` | NO |
| 102 | `sProcessId` | `varchar(100)` | NO |
| 103 | `sParentId` | `varchar(100)` | NO |
| 104 | `sWebOrderNo` | `varchar(255)` | NO |
| 105 | `sWebOrderId` | `varchar(100)` | NO |
| 106 | `bInStoreComplete` | `bit(1)` | NO |
| 107 | `iIncrement` | `int` | NO |
| 108 | `dReturnAuxiliaryQty` | `decimal(18,6)` | NO |
| 109 | `bQlyComplete` | `bit(1)` | NO |
| 110 | `bPaymentComplete` | `bit(1)` | NO |
| 111 | `dQlyQty` | `decimal(18,6)` | NO |
| 112 | `dSampleQty` | `decimal(18,6)` | NO |
| 113 | `dArriveAuxiliaryQty` | `decimal(18,6)` | NO |
| 114 | `dArriveQty` | `decimal(18,6)` | NO |
| 115 | `bArriveComplete` | `bit(1)` | NO |
| 116 | `sPicturePath` | `varchar(100)` | NO |

## Definition

```sql
select `opsoutsideprocessmaster`.`sId` AS `sId`,`opsoutsideprocessmaster`.`sBrandsId` AS `sBrandsId`,`opsoutsideprocessmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`opsoutsideprocessmaster`.`tCreateDate` AS `tCreateDate`,`opsoutsideprocessmaster`.`sMakePerson` AS `sMakePerson`,`opsoutsideprocessmaster`.`iOrder` AS `iOrder`,`opsoutsideprocessmaster`.`sFormId` AS `sFormId`,`opsoutsideprocessmaster`.`sBillNo` AS `sBillNo`,`opsoutsideprocessmaster`.`sSupplyId` AS `sSupplyId`,`opsoutsideprocessmaster`.`sContacts` AS `sContacts`,`opsoutsideprocessmaster`.`sPhone` AS `sPhone`,`opsoutsideprocessmaster`.`tDeliverDate` AS `tDeliverDate`,`opsoutsideprocessmaster`.`sPurchaseManId` AS `sPurchaseManId`,`opsoutsideprocessmaster`.`sGetPayId` AS `sGetPayId`,`opsoutsideprocessmaster`.`tGetPayDate` AS `tGetPayDate`,`opsoutsideprocessmaster`.`sConsignee` AS `sConsignee`,`opsoutsideprocessmaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`opsoutsideprocessmaster`.`sDeliverId` AS `sDeliverId`,`opsoutsideprocessmaster`.`sProvince` AS `sProvince`,`opsoutsideprocessmaster`.`sCity` AS `sCity`,`opsoutsideprocessmaster`.`sArea` AS `sArea`,`opsoutsideprocessmaster`.`sDeliverTo` AS `sDeliverTo`,`opsoutsideprocessmaster`.`sManualNo` AS `sManualNo`,`opsoutsideprocessmaster`.`sMemo` AS `sMemo`,`opsoutsideprocessmaster`.`bCheck` AS `bCheck`,`opsoutsideprocessmaster`.`tCheckDate` AS `tCheckDate`,`opsoutsideprocessmaster`.`sCheckPerson` AS `sCheckPerson`,`opsoutsideprocessmaster`.`bPrint` AS `bPrint`,`opsoutsideprocessmaster`.`bCopyLimit` AS `bCopyLimit`,`opsoutsideprocessmaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`opsoutsideprocessmaster`.`tAdvanceDate` AS `tAdvanceDate`,`opsoutsideprocessmaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`opsoutsideprocessmaster`.`sCurrency` AS `sCurrency`,`opsoutsideprocessmaster`.`dCurrencyRate` AS `dCurrencyRate`,`opsoutsideprocessmaster`.`sStatus` AS `sStatus`,`opsoutsideprocessmaster`.`bInvalid` AS `bInvalid`,`opsoutsideprocessmaster`.`sMReserve1` AS `sMReserve1`,`opsoutsideprocessmaster`.`sMReserve2` AS `sMReserve2`,`opsoutsideprocessmaster`.`sMReserve3` AS `sMReserve3`,`opsoutsideprocessmaster`.`sMReserve4` AS `sMReserve4`,`opsoutsideprocessmaster`.`sMReserve5` AS `sMReserve5`,`opsoutsideprocessmaster`.`sMReserve6` AS `sMReserve6`,`opsoutsideprocessmaster`.`dMReserve1` AS `dMReserve1`,`opsoutsideprocessmaster`.`dMReserve2` AS `dMReserve2`,`opsoutsideprocessmaster`.`dMReserve3` AS `dMReserve3`,`opsoutsideprocessmaster`.`iMReserve1` AS `iMReserve1`,`opsoutsideprocessmaster`.`iMReserve2` AS `iMReserve2`,`opsoutsideprocessmaster`.`iMReserve3` AS `iMReserve3`,`opsoutsideprocessmaster`.`tMReserve1` AS `tMReserve1`,`opsoutsideprocessmaster`.`tMReserve2` AS `tMReserve2`,`opsoutsideprocessslave`.`sId` AS `sSlaveId`,`opsoutsideprocessslave`.`iOrder` AS `iSlaveOrder`,`opsoutsideprocessslave`.`sMaterialsId` AS `sMaterialsId`,`opsoutsideprocessslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`opsoutsideprocessslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,(ifnull(`opsoutsideprocessslave`.`dAuxiliaryQty`,0) - ifnull(`opsoutsideprocessslave`.`dInStoreAuxiliaryQty`,0)) AS `dNoInStoreAuxiliaryQty`,`opsoutsideprocessslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`opsoutsideprocessslave`.`dMaterialsQty` AS `dMaterialsQty`,`opsoutsideprocessslave`.`dConversionQty` AS `dConversionQty`,`opsoutsideprocessslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`opsoutsideprocessslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`opsoutsideprocessslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`opsoutsideprocessslave`.`sSrcId` AS `sSrcId`,`opsoutsideprocessslave`.`sSrcNo` AS `sSrcNo`,`opsoutsideprocessslave`.`dSrcQty` AS `dSrcQty`,`opsoutsideprocessslave`.`sSlaveMemo` AS `sSlaveMemo`,`opsoutsideprocessslave`.`sTaxId` AS `sTaxId`,`opsoutsideprocessslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`opsoutsideprocessslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`opsoutsideprocessslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`opsoutsideprocessslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`opsoutsideprocessslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`opsoutsideprocessslave`.`dInStoreAuxiliaryQty` AS `dInStoreAuxiliaryQty`,`opsoutsideprocessslave`.`dInStoreQty` AS `dInStoreQty`,`opsoutsideprocessslave`.`sBarcode` AS `sBarcode`,`opsoutsideprocessslave`.`sOrderId` AS `sOrderId`,`opsoutsideprocessslave`.`sOrderNo` AS `sOrderNo`,`opsoutsideprocessslave`.`sWorkOrderId` AS `sWorkOrderId`,`opsoutsideprocessslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`opsoutsideprocessslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`opsoutsideprocessslave`.`dPayMoney` AS `dPayMoney`,`opsoutsideprocessslave`.`sSReserve1` AS `sSReserve1`,`opsoutsideprocessslave`.`sSReserve2` AS `sSReserve2`,`opsoutsideprocessslave`.`sSReserve3` AS `sSReserve3`,`opsoutsideprocessslave`.`sSReserve4` AS `sSReserve4`,`opsoutsideprocessslave`.`sSReserve5` AS `sSReserve5`,`opsoutsideprocessslave`.`sSReserve6` AS `sSReserve6`,`opsoutsideprocessslave`.`dSReserve1` AS `dSReserve1`,`opsoutsideprocessslave`.`dSReserve2` AS `dSReserve2`,`opsoutsideprocessslave`.`dSReserve3` AS `dSReserve3`,`opsoutsideprocessslave`.`iSReserve1` AS `iSReserve1`,`opsoutsideprocessslave`.`iSReserve2` AS `iSReserve2`,`opsoutsideprocessslave`.`iSReserve3` AS `iSReserve3`,`opsoutsideprocessslave`.`tSReserve1` AS `tSReserve1`,`opsoutsideprocessslave`.`tSReserve2` AS `tSReserve2`,`opsoutsideprocessslave`.`sWorkOrderProcessTbId` AS `sWorkOrderProcessTbId`,`opsoutsideprocessslave`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`opsoutsideprocessslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`opsoutsideprocessslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`opsoutsideprocessslave`.`sCustomerId` AS `sCustomerId`,`opsoutsideprocessslave`.`sProductId` AS `sProductId`,`opsoutsideprocessslave`.`sProcessId` AS `sProcessId`,`opsoutsideprocessslave`.`sParentId` AS `sParentId`,`opsoutsideprocessslave`.`sWebOrderNo` AS `sWebOrderNo`,`opsoutsideprocessslave`.`sWebOrderId` AS `sWebOrderId`,`opsoutsideprocessslave`.`bInStoreComplete` AS `bInStoreComplete`,`opsoutsideprocessslave`.`iIncrement` AS `iIncrement`,`opsoutsideprocessslave`.`dReturnAuxiliaryQty` AS `dReturnAuxiliaryQty`,`opsoutsideprocessslave`.`bQlyComplete` AS `bQlyComplete`,`opsoutsideprocessslave`.`bPaymentComplete` AS `bPaymentComplete`,`opsoutsideprocessslave`.`dQlyQty` AS `dQlyQty`,`opsoutsideprocessslave`.`dSampleQty` AS `dSampleQty`,`opsoutsideprocessslave`.`dArriveAuxiliaryQty` AS `dArriveAuxiliaryQty`,`opsoutsideprocessslave`.`dArriveQty` AS `dArriveQty`,`opsoutsideprocessslave`.`bArriveComplete` AS `bArriveComplete`,`opsoutsideprocessslave`.`sPicturePath` AS `sPicturePath` from (`opsoutsideprocessmaster` join `opsoutsideprocessslave` on((`opsoutsideprocessmaster`.`sId` = `opsoutsideprocessslave`.`sParentId`)))
```

## Narrative

_No human-written narrative yet._
