# `viw_mftqualityaccidenteqp` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |
| 2 | `sSrcId` | `varchar(100)` | NO |
| 3 | `sSrcSlaveId` | `varchar(100)` | NO |
| 4 | `sId` | `varchar(100)` | NO |
| 5 | `sBrandsId` | `varchar(100)` | NO |
| 6 | `sSubsidiaryId` | `varchar(100)` | NO |
| 7 | `tCreateDate` | `datetime` | NO |
| 8 | `sMakePerson` | `varchar(255)` | NO |
| 9 | `iOrder` | `int` | NO |
| 10 | `sFormId` | `varchar(100)` | NO |
| 11 | `sBillNo` | `varchar(255)` | NO |
| 12 | `sMemo` | `text` | YES |
| 13 | `bCheck` | `bit(1)` | NO |
| 14 | `tCheckDate` | `datetime` | YES |
| 15 | `sCheckPerson` | `varchar(255)` | YES |
| 16 | `bPrint` | `bit(1)` | NO |
| 17 | `bCopyLimit` | `bit(1)` | NO |
| 18 | `sStatus` | `varchar(255)` | YES |
| 19 | `bInvalid` | `bit(1)` | NO |
| 20 | `sMReserve1` | `varchar(255)` | YES |
| 21 | `sMReserve2` | `varchar(255)` | YES |
| 22 | `sMReserve3` | `varchar(255)` | YES |
| 23 | `sMReserve4` | `varchar(255)` | YES |
| 24 | `sMReserve5` | `varchar(255)` | YES |
| 25 | `sMReserve6` | `varchar(255)` | YES |
| 26 | `dMReserve1` | `decimal(18,6)` | YES |
| 27 | `dMReserve2` | `decimal(18,6)` | YES |
| 28 | `dMReserve3` | `decimal(18,6)` | YES |
| 29 | `iMReserve1` | `int` | YES |
| 30 | `iMReserve2` | `int` | YES |
| 31 | `iMReserve3` | `int` | YES |
| 32 | `tMReserve1` | `datetime` | YES |
| 33 | `tMReserve2` | `datetime` | YES |
| 34 | `sSrcNo` | `varchar(100)` | YES |
| 35 | `sUnTaskFormId` | `varchar(100)` | NO |
| 36 | `sMReserve7` | `varchar(255)` | YES |
| 37 | `sMReserve8` | `varchar(255)` | YES |
| 38 | `sProduceType` | `varchar(255)` | YES |
| 39 | `tProduceDate` | `datetime` | YES |
| 40 | `tManuDate` | `datetime` | YES |
| 41 | `tOutDate` | `datetime` | YES |
| 42 | `tInDate` | `datetime` | YES |
| 43 | `sCustomerId` | `varchar(255)` | YES |
| 44 | `sCustomerName` | `varchar(255)` | YES |
| 45 | `sSalesName` | `varchar(255)` | YES |
| 46 | `dContractMoney` | `decimal(18,6)` | YES |
| 47 | `sWorkOrderId` | `varchar(255)` | YES |
| 48 | `sWorkOrderNo` | `varchar(255)` | YES |
| 49 | `sAccidentType` | `varchar(255)` | YES |
| 50 | `sSpecial` | `varchar(255)` | YES |
| 51 | `sProductId` | `varchar(255)` | YES |
| 52 | `sProductName` | `varchar(255)` | YES |
| 53 | `dOkQty` | `decimal(18,6)` | YES |
| 54 | `dLossQty` | `decimal(18,6)` | YES |
| 55 | `sRate` | `varchar(255)` | YES |
| 56 | `sQuestionMemo` | `text` | YES |
| 57 | `sAnalysisMemo` | `text` | YES |
| 58 | `sMeasuresMemo` | `text` | YES |
| 59 | `sPreventionMemo` | `text` | YES |
| 60 | `tCompleteDate` | `datetime` | YES |
| 61 | `dTotalMoney` | `decimal(18,6)` | YES |
| 62 | `dPlateMoney` | `decimal(18,6)` | YES |
| 63 | `dMaterialsMoney` | `decimal(18,6)` | YES |
| 64 | `dPrintPlateMoney` | `decimal(18,6)` | YES |
| 65 | `dPrintMoney` | `decimal(18,6)` | YES |
| 66 | `dBindMoney` | `decimal(18,6)` | YES |
| 67 | `dAccessoriesMoney` | `decimal(18,6)` | YES |
| 68 | `dHour` | `decimal(18,6)` | YES |
| 69 | `dOtherMoney` | `decimal(18,6)` | YES |
| 70 | `dLossMoney` | `decimal(18,6)` | YES |
| 71 | `dDeductionMoney` | `decimal(18,6)` | YES |
| 72 | `sProcessName` | `varchar(255)` | YES |
| 73 | `sReasonType` | `varchar(255)` | YES |
| 74 | `sReasonMemo` | `text` | YES |
| 75 | `sFileSource` | `varchar(255)` | YES |
| 76 | `sSlaveId` | `varchar(100)` | NO |

## Definition

```sql
select `m`.`iIncrement` AS `iIncrement`,`m`.`sSrcId` AS `sSrcId`,`m`.`sSrcSlaveId` AS `sSrcSlaveId`,`m`.`sId` AS `sId`,`m`.`sBrandsId` AS `sBrandsId`,`m`.`sSubsidiaryId` AS `sSubsidiaryId`,`m`.`tCreateDate` AS `tCreateDate`,`m`.`sMakePerson` AS `sMakePerson`,`m`.`iOrder` AS `iOrder`,`m`.`sFormId` AS `sFormId`,`m`.`sBillNo` AS `sBillNo`,`m`.`sMemo` AS `sMemo`,`m`.`bCheck` AS `bCheck`,`m`.`tCheckDate` AS `tCheckDate`,`m`.`sCheckPerson` AS `sCheckPerson`,`m`.`bPrint` AS `bPrint`,`m`.`bCopyLimit` AS `bCopyLimit`,`m`.`sStatus` AS `sStatus`,`m`.`bInvalid` AS `bInvalid`,`m`.`sMReserve1` AS `sMReserve1`,`m`.`sMReserve2` AS `sMReserve2`,`m`.`sMReserve3` AS `sMReserve3`,`m`.`sMReserve4` AS `sMReserve4`,`m`.`sMReserve5` AS `sMReserve5`,`m`.`sMReserve6` AS `sMReserve6`,`m`.`dMReserve1` AS `dMReserve1`,`m`.`dMReserve2` AS `dMReserve2`,`m`.`dMReserve3` AS `dMReserve3`,`m`.`iMReserve1` AS `iMReserve1`,`m`.`iMReserve2` AS `iMReserve2`,`m`.`iMReserve3` AS `iMReserve3`,`m`.`tMReserve1` AS `tMReserve1`,`m`.`tMReserve2` AS `tMReserve2`,`m`.`sSrcNo` AS `sSrcNo`,`m`.`sUnTaskFormId` AS `sUnTaskFormId`,`m`.`sMReserve7` AS `sMReserve7`,`m`.`sMReserve8` AS `sMReserve8`,`m`.`sProduceType` AS `sProduceType`,`m`.`tProduceDate` AS `tProduceDate`,`m`.`tManuDate` AS `tManuDate`,`m`.`tOutDate` AS `tOutDate`,`m`.`tInDate` AS `tInDate`,`m`.`sCustomerId` AS `sCustomerId`,`m`.`sCustomerName` AS `sCustomerName`,`m`.`sSalesName` AS `sSalesName`,`m`.`dContractMoney` AS `dContractMoney`,`m`.`sWorkOrderId` AS `sWorkOrderId`,`m`.`sWorkOrderNo` AS `sWorkOrderNo`,`m`.`sAccidentType` AS `sAccidentType`,`m`.`sSpecial` AS `sSpecial`,`m`.`sProductId` AS `sProductId`,`m`.`sProductName` AS `sProductName`,`m`.`dOkQty` AS `dOkQty`,`m`.`dLossQty` AS `dLossQty`,`m`.`sRate` AS `sRate`,`m`.`sQuestionMemo` AS `sQuestionMemo`,`m`.`sAnalysisMemo` AS `sAnalysisMemo`,`m`.`sMeasuresMemo` AS `sMeasuresMemo`,`m`.`sPreventionMemo` AS `sPreventionMemo`,`m`.`tCompleteDate` AS `tCompleteDate`,`m`.`dTotalMoney` AS `dTotalMoney`,`m`.`dPlateMoney` AS `dPlateMoney`,`m`.`dMaterialsMoney` AS `dMaterialsMoney`,`m`.`dPrintPlateMoney` AS `dPrintPlateMoney`,`m`.`dPrintMoney` AS `dPrintMoney`,`m`.`dBindMoney` AS `dBindMoney`,`m`.`dAccessoriesMoney` AS `dAccessoriesMoney`,`m`.`dHour` AS `dHour`,`m`.`dOtherMoney` AS `dOtherMoney`,`m`.`dLossMoney` AS `dLossMoney`,`m`.`dDeductionMoney` AS `dDeductionMoney`,`m`.`sProcessName` AS `sProcessName`,`m`.`sReasonType` AS `sReasonType`,`m`.`sReasonMemo` AS `sReasonMemo`,`m`.`sFileSource` AS `sFileSource`,`m`.`sId` AS `sSlaveId` from (`mftqualityaccidenteqpmaster` `m` join `mftqualityaccidentslave` `s` on((`m`.`sId` = `s`.`sParentId`)))
```

## Narrative

_No human-written narrative yet._
