# `viw_mftproductionplan_plate_copy1` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | NO |
| 2 | `iOrder` | `int` | NO |
| 3 | `sCustomerId` | `varchar(100)` | NO |
| 4 | `sManualNo` | `varchar(11)` | YES |
| 5 | `sCustomerOrderNo` | `varchar(11)` | YES |
| 6 | `sProductId` | `varchar(100)` | NO |
| 7 | `sProcessId` | `varchar(100)` | NO |
| 8 | `dProductQty` | `decimal(18,6)` | NO |
| 9 | `sPartsName` | `varchar(255)` | YES |
| 10 | `sMachineId` | `varchar(100)` | YES |
| 11 | `dProductionReportQty` | `decimal(18,6)` | NO |
| 12 | `dHour` | `decimal(18,6)` | NO |
| 13 | `tStartDate` | `datetime` | YES |
| 14 | `tEndDate` | `datetime` | YES |
| 15 | `sMaterialsId` | `varchar(100)` | NO |
| 16 | `bProductionReportComplete` | `bit(1)` | NO |
| 17 | `sEmployeeId` | `varchar(100)` | NO |
| 18 | `sTeamId` | `varchar(100)` | NO |
| 19 | `sWorkCenterId` | `varchar(100)` | NO |
| 20 | `iComplete` | `int` | YES |
| 21 | `sSrcSlaveId` | `varchar(100)` | NO |
| 22 | `sSrcId` | `varchar(100)` | NO |
| 23 | `sSrcNo` | `varchar(255)` | NO |
| 24 | `dProductPQty` | `decimal(18,6)` | YES |
| 25 | `sSlaveMemo` | `text` | YES |
| 26 | `sWebOrderNo` | `varchar(255)` | NO |
| 27 | `sWebOrderId` | `varchar(100)` | NO |
| 28 | `sBarcode` | `varchar(255)` | YES |
| 29 | `sOrderId` | `varchar(100)` | NO |
| 30 | `sOrderNo` | `varchar(255)` | NO |
| 31 | `sOrderSlaveId` | `varchar(100)` | NO |
| 32 | `sWorkOrderId` | `varchar(100)` | NO |
| 33 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 34 | `sWorkOrderNo` | `varchar(255)` | NO |
| 35 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 36 | `sWorkOrderProcessTbId` | `varchar(100)` | NO |
| 37 | `sWorkOrderMaterialsTbId` | `varchar(100)` | NO |
| 38 | `sState` | `varchar(11)` | NO |
| 39 | `bFrozen` | `bit(1)` | NO |
| 40 | `sSReserve1` | `varchar(255)` | YES |
| 41 | `sSReserve2` | `varchar(255)` | YES |
| 42 | `sSReserve3` | `varchar(255)` | YES |
| 43 | `sSReserve4` | `varchar(255)` | YES |
| 44 | `sSReserve5` | `varchar(255)` | YES |
| 45 | `sSReserve6` | `varchar(255)` | YES |
| 46 | `dSReserve1` | `decimal(18,6)` | YES |
| 47 | `dSReserve2` | `decimal(18,6)` | YES |
| 48 | `dSReserve3` | `decimal(18,6)` | YES |
| 49 | `iSReserve1` | `int` | YES |
| 50 | `iSReserve2` | `int` | YES |
| 51 | `iSReserve3` | `int` | YES |
| 52 | `tSReserve1` | `datetime` | YES |
| 53 | `tSReserve2` | `datetime` | YES |
| 54 | `sType` | `varchar(255)` | YES |
| 55 | `dPrintQty` | `decimal(18,6)` | YES |
| 56 | `iLevel` | `int` | YES |
| 57 | `sMemo` | `text` | YES |
| 58 | `dAdjustHour` | `decimal(18,6)` | YES |
| 59 | `bCut` | `bit(1)` | NO |
| 60 | `bMat` | `bit(1)` | NO |
| 61 | `bPublish` | `bit(1)` | NO |
| 62 | `sAfterProcess` | `text` | YES |
| 63 | `sPackage` | `varchar(100)` | YES |
| 64 | `sDeliveryMode` | `varchar(100)` | YES |
| 65 | `sSubsidiaryId` | `varchar(100)` | NO |
| 66 | `sBrandsId` | `varchar(100)` | NO |
| 67 | `tCreateDate` | `datetime` | NO |
| 68 | `sMakePerson` | `varchar(255)` | NO |
| 69 | `bMakeup` | `bit(1)` | NO |
| 70 | `tMakeup` | `datetime` | YES |
| 71 | `sMakeup` | `varchar(255)` | YES |
| 72 | `sCutPerson` | `varchar(255)` | YES |
| 73 | `tCutDate` | `datetime` | YES |
| 74 | `dCutMoney` | `decimal(18,6)` | NO |
| 75 | `dPublishMoney` | `decimal(18,6)` | NO |
| 76 | `dMakeupMoney` | `decimal(18,6)` | NO |
| 77 | `dMakeupBuQty` | `decimal(18,6)` | NO |
| 78 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 79 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 80 | `sMaterialsStyle` | `varchar(255)` | NO |
| 81 | `sSlaveId` | `varchar(100)` | NO |
| 82 | `dProductionAuxiliaryQty` | `decimal(18,6)` | NO |
| 83 | `dProductionQty` | `decimal(18,6)` | NO |
| 84 | `bProductionComplete` | `bit(1)` | NO |

## Definition

```sql
select `a`.`sWorkOrderId` AS `sId`,`a`.`iOrder` AS `iOrder`,`a`.`sCustomerId` AS `sCustomerId`,`a`.`sManualNo` AS `sManualNo`,`a`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`a`.`sProductId` AS `sProductId`,`a`.`sProcessId` AS `sProcessId`,`a`.`dProductQty` AS `dProductQty`,`a`.`sPartsName` AS `sPartsName`,`a`.`sMachineId` AS `sMachineId`,`a`.`dProductionReportQty` AS `dProductionReportQty`,`a`.`dHour` AS `dHour`,`a`.`tStartDate` AS `tStartDate`,`a`.`tEndDate` AS `tEndDate`,`b`.`sMaterialsId` AS `sMaterialsId`,`a`.`bProductionReportComplete` AS `bProductionReportComplete`,`a`.`sEmployeeId` AS `sEmployeeId`,`a`.`sTeamId` AS `sTeamId`,`a`.`sWorkCenterId` AS `sWorkCenterId`,`a`.`iComplete` AS `iComplete`,`a`.`sSrcSlaveId` AS `sSrcSlaveId`,`a`.`sSrcId` AS `sSrcId`,`a`.`sSrcNo` AS `sSrcNo`,`a`.`dProductPQty` AS `dProductPQty`,`a`.`sSlaveMemo` AS `sSlaveMemo`,`a`.`sWebOrderNo` AS `sWebOrderNo`,`a`.`sWebOrderId` AS `sWebOrderId`,`a`.`sBarcode` AS `sBarcode`,`a`.`sOrderId` AS `sOrderId`,`a`.`sOrderNo` AS `sOrderNo`,`a`.`sOrderSlaveId` AS `sOrderSlaveId`,`a`.`sWorkOrderId` AS `sWorkOrderId`,`a`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`a`.`sWorkOrderNo` AS `sWorkOrderNo`,`a`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`a`.`sWorkOrderProcessTbId` AS `sWorkOrderProcessTbId`,`b`.`sId` AS `sWorkOrderMaterialsTbId`,`a`.`sState` AS `sState`,`a`.`bFrozen` AS `bFrozen`,`a`.`sSReserve1` AS `sSReserve1`,`a`.`sSReserve2` AS `sSReserve2`,`a`.`sSReserve3` AS `sSReserve3`,`a`.`sSReserve4` AS `sSReserve4`,`a`.`sSReserve5` AS `sSReserve5`,`a`.`sSReserve6` AS `sSReserve6`,`a`.`dSReserve1` AS `dSReserve1`,`a`.`dSReserve2` AS `dSReserve2`,`a`.`dSReserve3` AS `dSReserve3`,`a`.`iSReserve1` AS `iSReserve1`,`a`.`iSReserve2` AS `iSReserve2`,`a`.`iSReserve3` AS `iSReserve3`,`a`.`tSReserve1` AS `tSReserve1`,`a`.`tSReserve2` AS `tSReserve2`,`a`.`sType` AS `sType`,`a`.`dPrintQty` AS `dPrintQty`,`a`.`iLevel` AS `iLevel`,`a`.`sMemo` AS `sMemo`,`a`.`dAdjustHour` AS `dAdjustHour`,`a`.`bCut` AS `bCut`,`a`.`bMat` AS `bMat`,`a`.`bPublish` AS `bPublish`,`a`.`sAfterProcess` AS `sAfterProcess`,`a`.`sPackage` AS `sPackage`,`a`.`sDeliveryMode` AS `sDeliveryMode`,`a`.`sSubsidiaryId` AS `sSubsidiaryId`,`a`.`sBrandsId` AS `sBrandsId`,`a`.`tCreateDate` AS `tCreateDate`,`a`.`sMakePerson` AS `sMakePerson`,`a`.`bMakeup` AS `bMakeup`,`a`.`tMakeup` AS `tMakeup`,`a`.`sMakeup` AS `sMakeup`,`a`.`sCutPerson` AS `sCutPerson`,`a`.`tCutDate` AS `tCutDate`,`a`.`dCutMoney` AS `dCutMoney`,`a`.`dPublishMoney` AS `dPublishMoney`,`a`.`dMakeupMoney` AS `dMakeupMoney`,`a`.`dMakeupBuQty` AS `dMakeupBuQty`,`b`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`b`.`dMaterialsQty` AS `dMaterialsQty`,`b`.`sMaterialsStyle` AS `sMaterialsStyle`,`b`.`sId` AS `sSlaveId`,`b`.`dProductionAuxiliaryQty` AS `dProductionAuxiliaryQty`,`b`.`dProductionQty` AS `dProductionQty`,`b`.`bProductionComplete` AS `bProductionComplete` from (`mftproductionplanslave` `a` join `mftworkordermaterials` `b` on(((`a`.`sWorkOrderId` = `b`.`sParentId`) and (`a`.`sProcessId` = `b`.`sProcessId`) and (`a`.`sWorkOrderControlId` = `b`.`sControlId`))))
```

## Narrative

_No human-written narrative yet._
