# `viw_mftproductionreportemployee` (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 | `sFormId` | `varchar(100)` | NO |
| 7 | `iOrder` | `int` | NO |
| 8 | `sBillNo` | `varchar(255)` | NO |
| 9 | `sMemo` | `text` | YES |
| 10 | `bCheck` | `bit(1)` | NO |
| 11 | `tCheckDate` | `datetime` | YES |
| 12 | `sCheckPerson` | `varchar(255)` | YES |
| 13 | `bPrint` | `bit(1)` | NO |
| 14 | `bCopyLimit` | `bit(1)` | NO |
| 15 | `sStatus` | `varchar(255)` | YES |
| 16 | `bInvalid` | `bit(1)` | NO |
| 17 | `sMReserve1` | `varchar(255)` | YES |
| 18 | `sMReserve2` | `varchar(255)` | YES |
| 19 | `sMReserve3` | `varchar(255)` | YES |
| 20 | `sMReserve4` | `varchar(255)` | YES |
| 21 | `sMReserve5` | `varchar(255)` | YES |
| 22 | `sMReserve6` | `varchar(255)` | YES |
| 23 | `dMReserve1` | `decimal(18,6)` | YES |
| 24 | `dMReserve2` | `decimal(18,6)` | YES |
| 25 | `dMReserve3` | `decimal(18,6)` | YES |
| 26 | `iMReserve1` | `int` | YES |
| 27 | `iMReserve2` | `int` | YES |
| 28 | `iMReserve3` | `int` | YES |
| 29 | `tMReserve1` | `datetime` | YES |
| 30 | `tMReserve2` | `datetime` | YES |
| 31 | `sProductionReportId` | `varchar(100)` | NO |
| 32 | `iProductionReportOrder` | `int` | NO |
| 33 | `sCustomerId` | `varchar(100)` | NO |
| 34 | `sManualNo` | `varchar(255)` | YES |
| 35 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 36 | `sProductId` | `varchar(100)` | NO |
| 37 | `sProcessId` | `varchar(100)` | NO |
| 38 | `dProductQty` | `decimal(18,6)` | NO |
| 39 | `sSrcControlId` | `varchar(100)` | YES |
| 40 | `sPartsName` | `varchar(255)` | YES |
| 41 | `sMachineId` | `varchar(255)` | YES |
| 42 | `tStartDate` | `datetime` | YES |
| 43 | `tEndDate` | `datetime` | YES |
| 44 | `sMaterialsId` | `varchar(255)` | YES |
| 45 | `sTeamId` | `varchar(100)` | NO |
| 46 | `dProcessQty` | `decimal(18,6)` | NO |
| 47 | `dConversionQty` | `decimal(18,6)` | NO |
| 48 | `dHour` | `decimal(18,6)` | NO |
| 49 | `sWageId` | `varchar(100)` | NO |
| 50 | `dQualifiedProductionQty` | `decimal(18,6)` | NO |
| 51 | `dNoQualifiedProductQty` | `decimal(18,6)` | NO |
| 52 | `dWasteProductionQty` | `decimal(18,6)` | NO |
| 53 | `dAdjustableQty` | `decimal(18,6)` | NO |
| 54 | `dMakeReadyQty` | `decimal(18,6)` | NO |
| 55 | `dMakeReadyMoney` | `decimal(18,6)` | NO |
| 56 | `dEquivalentQty` | `decimal(18,6)` | NO |
| 57 | `dProductionReportWageMoney` | `decimal(18,6)` | NO |
| 58 | `dProductionReportTimeMoney` | `decimal(18,6)` | NO |
| 59 | `dProductionReportLossMoney` | `decimal(18,6)` | NO |
| 60 | `dProductionReportOtherMoney` | `decimal(18,6)` | NO |
| 61 | `dAllMoney` | `decimal(18,6)` | NO |
| 62 | `sMaterialsMemo` | `text` | YES |
| 63 | `sProcessMemo` | `text` | YES |
| 64 | `sSrcSlaveId` | `varchar(100)` | NO |
| 65 | `sSrcId` | `varchar(100)` | NO |
| 66 | `sSrcNo` | `varchar(255)` | NO |
| 67 | `dSrcQty` | `decimal(18,6)` | YES |
| 68 | `dProductPQty` | `decimal(18,6)` | YES |
| 69 | `sSlaveMemo` | `text` | YES |
| 70 | `sWebOrderNo` | `varchar(255)` | NO |
| 71 | `sWebOrderId` | `varchar(100)` | NO |
| 72 | `sBarcode` | `varchar(255)` | YES |
| 73 | `sOrderId` | `varchar(100)` | NO |
| 74 | `sOrderSlaveId` | `varchar(100)` | NO |
| 75 | `sOrderNo` | `varchar(255)` | NO |
| 76 | `sWorkOrderId` | `varchar(100)` | NO |
| 77 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 78 | `sWorkOrderNo` | `varchar(255)` | NO |
| 79 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 80 | `sWorkOrderProcessTbId` | `varchar(100)` | NO |
| 81 | `sWorkOrderMaterialsTbId` | `varchar(100)` | 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 | `iIncrement` | `int` | NO |
| 97 | `bAffirm` | `bit(1)` | NO |
| 98 | `tAffirmDate` | `datetime` | YES |
| 99 | `sAffirm` | `varchar(255)` | NO |
| 100 | `dEmpHour` | `decimal(18,6)` | YES |
| 101 | `sEmployeeId` | `varchar(255)` | YES |
| 102 | `dProportion` | `decimal(18,6)` | NO |
| 103 | `dWageMoney` | `decimal(18,6)` | NO |
| 104 | `dTimeMoney` | `decimal(18,6)` | NO |
| 105 | `dLossMoney` | `decimal(18,6)` | NO |
| 106 | `dOtherMoney` | `decimal(18,6)` | NO |
| 107 | `dJobMoney` | `decimal(18,6)` | NO |
| 108 | `sEReserve1` | `varchar(255)` | YES |
| 109 | `sEReserve2` | `varchar(255)` | YES |
| 110 | `sEReserve3` | `varchar(255)` | YES |
| 111 | `sEReserve4` | `varchar(255)` | YES |
| 112 | `sEReserve5` | `varchar(255)` | YES |
| 113 | `sEReserve6` | `varchar(255)` | YES |
| 114 | `dEReserve1` | `decimal(18,6)` | YES |
| 115 | `dEReserve2` | `decimal(18,6)` | YES |
| 116 | `dEReserve3` | `decimal(18,6)` | YES |
| 117 | `iEReserve1` | `int` | YES |
| 118 | `iEReserve2` | `int` | YES |
| 119 | `iEReserve3` | `int` | YES |
| 120 | `tEReserve1` | `datetime` | YES |
| 121 | `tEReserve2` | `datetime` | YES |
| 122 | `sSlaveId` | `varchar(100)` | NO |
| 123 | `dEmpNum` | `decimal(18,2)` | YES |
| 124 | `dAjustReportPlanHour` | `decimal(18,6)` | NO |
| 125 | `dCYHour` | `decimal(36,8)` | YES |
| 126 | `dEmployeeProcessQty` | `decimal(42,12)` | YES |

## Definition

```sql
select `mftproductionreportmaster`.`sId` AS `sId`,`mftproductionreportmaster`.`sBrandsId` AS `sBrandsId`,`mftproductionreportmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`mftproductionreportmaster`.`tCreateDate` AS `tCreateDate`,`mftproductionreportmaster`.`sMakePerson` AS `sMakePerson`,`mftproductionreportmaster`.`sFormId` AS `sFormId`,`mftproductionreportmaster`.`iOrder` AS `iOrder`,`mftproductionreportmaster`.`sBillNo` AS `sBillNo`,`mftproductionreportmaster`.`sMemo` AS `sMemo`,`mftproductionreportmaster`.`bCheck` AS `bCheck`,`mftproductionreportmaster`.`tCheckDate` AS `tCheckDate`,`mftproductionreportmaster`.`sCheckPerson` AS `sCheckPerson`,`mftproductionreportmaster`.`bPrint` AS `bPrint`,`mftproductionreportmaster`.`bCopyLimit` AS `bCopyLimit`,`mftproductionreportmaster`.`sStatus` AS `sStatus`,`mftproductionreportmaster`.`bInvalid` AS `bInvalid`,`mftproductionreportmaster`.`sMReserve1` AS `sMReserve1`,`mftproductionreportmaster`.`sMReserve2` AS `sMReserve2`,`mftproductionreportmaster`.`sMReserve3` AS `sMReserve3`,`mftproductionreportmaster`.`sMReserve4` AS `sMReserve4`,`mftproductionreportmaster`.`sMReserve5` AS `sMReserve5`,`mftproductionreportmaster`.`sMReserve6` AS `sMReserve6`,`mftproductionreportmaster`.`dMReserve1` AS `dMReserve1`,`mftproductionreportmaster`.`dMReserve2` AS `dMReserve2`,`mftproductionreportmaster`.`dMReserve3` AS `dMReserve3`,`mftproductionreportmaster`.`iMReserve1` AS `iMReserve1`,`mftproductionreportmaster`.`iMReserve2` AS `iMReserve2`,`mftproductionreportmaster`.`iMReserve3` AS `iMReserve3`,`mftproductionreportmaster`.`tMReserve1` AS `tMReserve1`,`mftproductionreportmaster`.`tMReserve2` AS `tMReserve2`,`mftproductionreportslave`.`sId` AS `sProductionReportId`,`mftproductionreportslave`.`iOrder` AS `iProductionReportOrder`,`mftproductionreportslave`.`sCustomerId` AS `sCustomerId`,`mftproductionreportslave`.`sManualNo` AS `sManualNo`,`mftproductionreportslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`mftproductionreportslave`.`sProductId` AS `sProductId`,`mftproductionreportslave`.`sProcessId` AS `sProcessId`,`mftproductionreportslave`.`dProductQty` AS `dProductQty`,`mftproductionreportslave`.`sSrcControlId` AS `sSrcControlId`,`mftproductionreportslave`.`sPartsName` AS `sPartsName`,`mftproductionreportslave`.`sMachineId` AS `sMachineId`,`mftproductionreportslave`.`tStartDate` AS `tStartDate`,`mftproductionreportslave`.`tEndDate` AS `tEndDate`,`mftproductionreportslave`.`sMaterialsId` AS `sMaterialsId`,`mftproductionreportslave`.`sTeamId` AS `sTeamId`,`mftproductionreportslave`.`dProcessQty` AS `dProcessQty`,`mftproductionreportslave`.`dConversionQty` AS `dConversionQty`,`mftproductionreportslave`.`dHour` AS `dHour`,`mftproductionreportslave`.`sWageId` AS `sWageId`,`mftproductionreportslave`.`dQualifiedProductionQty` AS `dQualifiedProductionQty`,`mftproductionreportslave`.`dNoQualifiedProductQty` AS `dNoQualifiedProductQty`,`mftproductionreportslave`.`dWasteProductionQty` AS `dWasteProductionQty`,`mftproductionreportslave`.`dAdjustableQty` AS `dAdjustableQty`,`mftproductionreportslave`.`dMakeReadyQty` AS `dMakeReadyQty`,`mftproductionreportslave`.`dMakeReadyMoney` AS `dMakeReadyMoney`,`mftproductionreportslave`.`dEquivalentQty` AS `dEquivalentQty`,`mftproductionreportslave`.`dWageMoney` AS `dProductionReportWageMoney`,`mftproductionreportslave`.`dTimeMoney` AS `dProductionReportTimeMoney`,`mftproductionreportslave`.`dLossMoney` AS `dProductionReportLossMoney`,`mftproductionreportslave`.`dOtherMoney` AS `dProductionReportOtherMoney`,`mftproductionreportslave`.`dAllMoney` AS `dAllMoney`,`mftproductionreportslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`mftproductionreportslave`.`sProcessMemo` AS `sProcessMemo`,`mftproductionreportslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`mftproductionreportslave`.`sSrcId` AS `sSrcId`,`mftproductionreportslave`.`sSrcNo` AS `sSrcNo`,`mftproductionreportslave`.`dSrcQty` AS `dSrcQty`,`mftproductionreportslave`.`dProductPQty` AS `dProductPQty`,`mftproductionreportslave`.`sSlaveMemo` AS `sSlaveMemo`,`mftproductionreportslave`.`sWebOrderNo` AS `sWebOrderNo`,`mftproductionreportslave`.`sWebOrderId` AS `sWebOrderId`,`mftproductionreportslave`.`sBarcode` AS `sBarcode`,`mftproductionreportslave`.`sOrderId` AS `sOrderId`,`mftproductionreportslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`mftproductionreportslave`.`sOrderNo` AS `sOrderNo`,`mftproductionreportslave`.`sWorkOrderId` AS `sWorkOrderId`,`mftproductionreportslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`mftproductionreportslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`mftproductionreportslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`mftproductionreportslave`.`sWorkOrderProcessTbId` AS `sWorkOrderProcessTbId`,`mftproductionreportslave`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`mftproductionreportslave`.`sSReserve1` AS `sSReserve1`,`mftproductionreportslave`.`sSReserve2` AS `sSReserve2`,`mftproductionreportslave`.`sSReserve3` AS `sSReserve3`,`mftproductionreportslave`.`sSReserve4` AS `sSReserve4`,`mftproductionreportslave`.`sSReserve5` AS `sSReserve5`,`mftproductionreportslave`.`sSReserve6` AS `sSReserve6`,`mftproductionreportslave`.`dSReserve1` AS `dSReserve1`,`mftproductionreportslave`.`dSReserve2` AS `dSReserve2`,`mftproductionreportslave`.`dSReserve3` AS `dSReserve3`,`mftproductionreportslave`.`iSReserve1` AS `iSReserve1`,`mftproductionreportslave`.`iSReserve2` AS `iSReserve2`,`mftproductionreportslave`.`iSReserve3` AS `iSReserve3`,`mftproductionreportslave`.`tSReserve1` AS `tSReserve1`,`mftproductionreportslave`.`tSReserve2` AS `tSReserve2`,`mftproductionreportslave`.`iIncrement` AS `iIncrement`,`mftproductionreportslave`.`bAffirm` AS `bAffirm`,`mftproductionreportslave`.`tAffirmDate` AS `tAffirmDate`,`mftproductionreportslave`.`sAffirm` AS `sAffirm`,`mftproductionreportslave`.`dEmpHour` AS `dEmpHour`,`mftproductionreportemployee`.`sEmployeeId` AS `sEmployeeId`,`mftproductionreportemployee`.`dProportion` AS `dProportion`,`mftproductionreportemployee`.`dWageMoney` AS `dWageMoney`,`mftproductionreportemployee`.`dTimeMoney` AS `dTimeMoney`,`mftproductionreportemployee`.`dLossMoney` AS `dLossMoney`,`mftproductionreportemployee`.`dOtherMoney` AS `dOtherMoney`,`mftproductionreportemployee`.`dJobMoney` AS `dJobMoney`,`mftproductionreportemployee`.`sEReserve1` AS `sEReserve1`,`mftproductionreportemployee`.`sEReserve2` AS `sEReserve2`,`mftproductionreportemployee`.`sEReserve3` AS `sEReserve3`,`mftproductionreportemployee`.`sEReserve4` AS `sEReserve4`,`mftproductionreportemployee`.`sEReserve5` AS `sEReserve5`,`mftproductionreportemployee`.`sEReserve6` AS `sEReserve6`,`mftproductionreportemployee`.`dEReserve1` AS `dEReserve1`,`mftproductionreportemployee`.`dEReserve2` AS `dEReserve2`,`mftproductionreportemployee`.`dEReserve3` AS `dEReserve3`,`mftproductionreportemployee`.`iEReserve1` AS `iEReserve1`,`mftproductionreportemployee`.`iEReserve2` AS `iEReserve2`,`mftproductionreportemployee`.`iEReserve3` AS `iEReserve3`,`mftproductionreportemployee`.`tEReserve1` AS `tEReserve1`,`mftproductionreportemployee`.`tEReserve2` AS `tEReserve2`,`mftproductionreportemployee`.`sId` AS `sSlaveId`,`mftproductionreportemployee`.`dEmpNum` AS `dEmpNum`,`mftproductionreportslave`.`dAjustReportPlanHour` AS `dAjustReportPlanHour`,(`mftproductionreportemployee`.`dEmpNum` * `mftproductionreportslave`.`dAjustReportPlanHour`) AS `dCYHour`,((`mftproductionreportemployee`.`dEmpNum` / `mftproductionreportslave`.`dSumEmpNum`) * `mftproductionreportslave`.`dProcessQty`) AS `dEmployeeProcessQty` from ((`mftproductionreportmaster` join `mftproductionreportslave` on((`mftproductionreportslave`.`sParentId` = `mftproductionreportmaster`.`sId`))) join `mftproductionreportemployee` on((`mftproductionreportemployee`.`sSlaveId` = `mftproductionreportslave`.`sId`)))
```

## Narrative

_No human-written narrative yet._
