# `viw_mitproductionapply` (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 | `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 | `sMachineId` | `varchar(100)` | NO |
| 32 | `iVouchermark` | `int` | YES |
| 33 | `sSlaveId` | `varchar(100)` | NO |
| 34 | `sParentId` | `varchar(100)` | NO |
| 35 | `iSlaveOrder` | `int` | NO |
| 36 | `sMaterialsId` | `varchar(100)` | NO |
| 37 | `sMaterialsStyle` | `varchar(255)` | NO |
| 38 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 39 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 40 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 41 | `dConversionQty` | `decimal(18,6)` | NO |
| 42 | `dMaterialsPrice` | `decimal(18,6)` | NO |
| 43 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 44 | `sSrcSlaveId` | `varchar(100)` | NO |
| 45 | `sSrcId` | `varchar(100)` | NO |
| 46 | `sSrcNo` | `varchar(255)` | NO |
| 47 | `dSrcQty` | `decimal(18,6)` | YES |
| 48 | `sSlaveMemo` | `text` | YES |
| 49 | `sTaxId` | `varchar(100)` | YES |
| 50 | `dMaterialsNoTaxPrice` | `decimal(18,6)` | YES |
| 51 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 52 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 53 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 54 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 55 | `dRejectAuxiliaryQty` | `decimal(18,6)` | NO |
| 56 | `dRejectQty` | `decimal(18,6)` | NO |
| 57 | `tInStoreDate` | `datetime` | YES |
| 58 | `sBarcode` | `varchar(255)` | YES |
| 59 | `sOrderId` | `varchar(100)` | NO |
| 60 | `sOrderNo` | `varchar(255)` | NO |
| 61 | `sWorkOrderId` | `varchar(100)` | NO |
| 62 | `sWorkOrderNo` | `varchar(255)` | NO |
| 63 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 64 | `sSReserve1` | `varchar(255)` | YES |
| 65 | `sSReserve2` | `varchar(255)` | YES |
| 66 | `sSReserve3` | `varchar(255)` | YES |
| 67 | `sSReserve4` | `varchar(255)` | YES |
| 68 | `sSReserve5` | `varchar(255)` | YES |
| 69 | `sSReserve6` | `varchar(255)` | YES |
| 70 | `dSReserve1` | `decimal(18,6)` | YES |
| 71 | `dSReserve2` | `decimal(18,6)` | YES |
| 72 | `dSReserve3` | `decimal(18,6)` | YES |
| 73 | `iSReserve1` | `int` | YES |
| 74 | `iSReserve2` | `int` | YES |
| 75 | `iSReserve3` | `int` | YES |
| 76 | `tSReserve1` | `datetime` | YES |
| 77 | `tSReserve2` | `datetime` | YES |
| 78 | `sWareHouseId` | `varchar(100)` | NO |
| 79 | `sLocationId` | `varchar(100)` | NO |
| 80 | `sWareHouseLocationId` | `varchar(100)` | NO |
| 81 | `sDefineNo` | `varchar(100)` | NO |
| 82 | `sDefineNo2` | `varchar(100)` | NO |
| 83 | `dReelAuxiliaryQty` | `decimal(18,6)` | NO |
| 84 | `sEmployeeId` | `varchar(100)` | NO |
| 85 | `sType` | `varchar(255)` | NO |
| 86 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 87 | `sOrderSlaveId` | `varchar(100)` | NO |
| 88 | `sWorkOrderMaterialsTbId` | `varchar(100)` | NO |
| 89 | `bProductionComplete` | `bit(1)` | NO |
| 90 | `dProductionAuxiliaryQty` | `decimal(18,6)` | NO |
| 91 | `iIncrement` | `int` | NO |
| 92 | `bComMaterials` | `decimal(18,6)` | NO |
| 93 | `dProductionQty` | `decimal(18,6)` | NO |
| 94 | `sCustomerId` | `varchar(100)` | NO |
| 95 | `sProductId` | `varchar(100)` | NO |
| 96 | `sSlaveType` | `varchar(255)` | YES |
| 97 | `dKGQty` | `decimal(18,6)` | YES |
| 98 | `sBackType` | `varchar(255)` | YES |
| 99 | `sUseDeptId` | `varchar(255)` | YES |
| 100 | `bPurchaseComplete` | `bit(1)` | YES |
| 101 | `dApplyAuxiliaryQty` | `decimal(18,6)` | NO |
| 102 | `dApplyQty` | `decimal(18,6)` | NO |
| 103 | `iSource` | `int` | YES |
| 104 | `sWorkCenterId` | `varchar(100)` | NO |
| 105 | `sWorkCenterName` | `varchar(100)` | NO |
| 106 | `sReelMaterialsStyle` | `varchar(255)` | NO |

## Definition

```sql
select `mitproductionapplymaster`.`sId` AS `sId`,`mitproductionapplymaster`.`sBrandsId` AS `sBrandsId`,`mitproductionapplymaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`mitproductionapplymaster`.`tCreateDate` AS `tCreateDate`,`mitproductionapplymaster`.`sMakePerson` AS `sMakePerson`,`mitproductionapplymaster`.`iOrder` AS `iOrder`,`mitproductionapplymaster`.`sFormId` AS `sFormId`,`mitproductionapplymaster`.`sBillNo` AS `sBillNo`,`mitproductionapplymaster`.`sMemo` AS `sMemo`,`mitproductionapplymaster`.`bCheck` AS `bCheck`,`mitproductionapplymaster`.`tCheckDate` AS `tCheckDate`,`mitproductionapplymaster`.`sCheckPerson` AS `sCheckPerson`,`mitproductionapplymaster`.`bPrint` AS `bPrint`,`mitproductionapplymaster`.`bCopyLimit` AS `bCopyLimit`,`mitproductionapplymaster`.`sStatus` AS `sStatus`,`mitproductionapplymaster`.`bInvalid` AS `bInvalid`,`mitproductionapplymaster`.`sMReserve1` AS `sMReserve1`,`mitproductionapplymaster`.`sMReserve2` AS `sMReserve2`,`mitproductionapplymaster`.`sMReserve3` AS `sMReserve3`,`mitproductionapplymaster`.`sMReserve4` AS `sMReserve4`,`mitproductionapplymaster`.`sMReserve5` AS `sMReserve5`,`mitproductionapplymaster`.`sMReserve6` AS `sMReserve6`,`mitproductionapplymaster`.`dMReserve1` AS `dMReserve1`,`mitproductionapplymaster`.`dMReserve2` AS `dMReserve2`,`mitproductionapplymaster`.`dMReserve3` AS `dMReserve3`,`mitproductionapplymaster`.`iMReserve1` AS `iMReserve1`,`mitproductionapplymaster`.`iMReserve2` AS `iMReserve2`,`mitproductionapplymaster`.`iMReserve3` AS `iMReserve3`,`mitproductionapplymaster`.`tMReserve1` AS `tMReserve1`,`mitproductionapplymaster`.`tMReserve2` AS `tMReserve2`,`mitproductionapplymaster`.`sMachineId` AS `sMachineId`,`mitproductionapplymaster`.`iVouchermark` AS `iVouchermark`,`mitproductionapplyslave`.`sId` AS `sSlaveId`,`mitproductionapplyslave`.`sParentId` AS `sParentId`,`mitproductionapplyslave`.`iOrder` AS `iSlaveOrder`,`mitproductionapplyslave`.`sMaterialsId` AS `sMaterialsId`,`mitproductionapplyslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`mitproductionapplyslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`mitproductionapplyslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`mitproductionapplyslave`.`dMaterialsQty` AS `dMaterialsQty`,`mitproductionapplyslave`.`dConversionQty` AS `dConversionQty`,`mitproductionapplyslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`mitproductionapplyslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`mitproductionapplyslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`mitproductionapplyslave`.`sSrcId` AS `sSrcId`,`mitproductionapplyslave`.`sSrcNo` AS `sSrcNo`,`mitproductionapplyslave`.`dSrcQty` AS `dSrcQty`,`mitproductionapplyslave`.`sSlaveMemo` AS `sSlaveMemo`,`mitproductionapplyslave`.`sTaxId` AS `sTaxId`,`mitproductionapplyslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`mitproductionapplyslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`mitproductionapplyslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`mitproductionapplyslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`mitproductionapplyslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`mitproductionapplyslave`.`dRejectAuxiliaryQty` AS `dRejectAuxiliaryQty`,`mitproductionapplyslave`.`dRejectQty` AS `dRejectQty`,`mitproductionapplyslave`.`tInStoreDate` AS `tInStoreDate`,`mitproductionapplyslave`.`sBarcode` AS `sBarcode`,`mitproductionapplyslave`.`sOrderId` AS `sOrderId`,`mitproductionapplyslave`.`sOrderNo` AS `sOrderNo`,`mitproductionapplyslave`.`sWorkOrderId` AS `sWorkOrderId`,`mitproductionapplyslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`mitproductionapplyslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`mitproductionapplyslave`.`sSReserve1` AS `sSReserve1`,`mitproductionapplyslave`.`sSReserve2` AS `sSReserve2`,`mitproductionapplyslave`.`sSReserve3` AS `sSReserve3`,`mitproductionapplyslave`.`sSReserve4` AS `sSReserve4`,`mitproductionapplyslave`.`sSReserve5` AS `sSReserve5`,`mitproductionapplyslave`.`sSReserve6` AS `sSReserve6`,`mitproductionapplyslave`.`dSReserve1` AS `dSReserve1`,`mitproductionapplyslave`.`dSReserve2` AS `dSReserve2`,`mitproductionapplyslave`.`dSReserve3` AS `dSReserve3`,`mitproductionapplyslave`.`iSReserve1` AS `iSReserve1`,`mitproductionapplyslave`.`iSReserve2` AS `iSReserve2`,`mitproductionapplyslave`.`iSReserve3` AS `iSReserve3`,`mitproductionapplyslave`.`tSReserve1` AS `tSReserve1`,`mitproductionapplyslave`.`tSReserve2` AS `tSReserve2`,`mitproductionapplyslave`.`sWareHouseId` AS `sWareHouseId`,`mitproductionapplyslave`.`sLocationId` AS `sLocationId`,`mitproductionapplyslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`mitproductionapplyslave`.`sDefineNo` AS `sDefineNo`,`mitproductionapplyslave`.`sDefineNo2` AS `sDefineNo2`,`mitproductionapplyslave`.`dReelAuxiliaryQty` AS `dReelAuxiliaryQty`,`mitproductionapplymaster`.`sEmployeeId` AS `sEmployeeId`,`mitproductionapplymaster`.`sType` AS `sType`,`mitproductionapplyslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`mitproductionapplyslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`mitproductionapplyslave`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`mitproductionapplyslave`.`bProductionComplete` AS `bProductionComplete`,`mitproductionapplyslave`.`dProductionAuxiliaryQty` AS `dProductionAuxiliaryQty`,`mitproductionapplyslave`.`iIncrement` AS `iIncrement`,`mitproductionapplyslave`.`bComMaterials` AS `bComMaterials`,`mitproductionapplyslave`.`dProductionQty` AS `dProductionQty`,`mitproductionapplyslave`.`sCustomerId` AS `sCustomerId`,`mitproductionapplyslave`.`sProductId` AS `sProductId`,`mitproductionapplyslave`.`sType` AS `sSlaveType`,`mitproductionapplyslave`.`dKGQty` AS `dKGQty`,`mitproductionapplymaster`.`sBackType` AS `sBackType`,`mitproductionapplymaster`.`sUseDeptId` AS `sUseDeptId`,`mitproductionapplyslave`.`bPurchaseComplete` AS `bPurchaseComplete`,`mitproductionapplyslave`.`dApplyAuxiliaryQty` AS `dApplyAuxiliaryQty`,`mitproductionapplyslave`.`dApplyQty` AS `dApplyQty`,`mitproductionapplymaster`.`iSource` AS `iSource`,`mitproductionapplyslave`.`sWorkCenterId` AS `sWorkCenterId`,`mitproductionapplyslave`.`sWorkCenterName` AS `sWorkCenterName`,`mitproductionapplyslave`.`sReelMaterialsStyle` AS `sReelMaterialsStyle` from (`mitproductionapplymaster` join `mitproductionapplyslave` on((`mitproductionapplyslave`.`sParentId` = `mitproductionapplymaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
