# `viw_accproductdoing`（视图）


- **是否可更新：** YES
- **定义者：** `xlyprint@%`

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | NO |
| 2 | `sBrandsId` | `varchar(100)` | NO |
| 3 | `sSubsidiaryId` | `varchar(100)` | NO |
| 4 | `iIncrement` | `int` | NO |
| 5 | `tCreateDate` | `datetime` | NO |
| 6 | `sMakePerson` | `varchar(255)` | NO |
| 7 | `sFormId` | `varchar(100)` | NO |
| 8 | `iOrder` | `int` | NO |
| 9 | `sBillNo` | `varchar(255)` | NO |
| 10 | `sMemo` | `text` | YES |
| 11 | `bCheck` | `bit(1)` | NO |
| 12 | `tCheckDate` | `datetime` | YES |
| 13 | `sCheckPerson` | `varchar(255)` | YES |
| 14 | `bPrint` | `bit(1)` | NO |
| 15 | `bCopyLimit` | `bit(1)` | NO |
| 16 | `sStatus` | `varchar(255)` | YES |
| 17 | `sEmployeeId` | `varchar(100)` | NO |
| 18 | `bInvalid` | `bit(1)` | NO |
| 19 | `sMReserve1` | `varchar(255)` | YES |
| 20 | `sMReserve2` | `varchar(255)` | YES |
| 21 | `sMReserve3` | `varchar(255)` | YES |
| 22 | `sMReserve4` | `varchar(255)` | YES |
| 23 | `sMReserve5` | `varchar(255)` | YES |
| 24 | `sMReserve6` | `varchar(255)` | YES |
| 25 | `dMReserve1` | `decimal(18,6)` | YES |
| 26 | `dMReserve2` | `decimal(18,6)` | YES |
| 27 | `dMReserve3` | `decimal(18,6)` | YES |
| 28 | `iMReserve1` | `int` | YES |
| 29 | `iMReserve2` | `int` | YES |
| 30 | `iMReserve3` | `int` | YES |
| 31 | `tMReserve1` | `datetime` | YES |
| 32 | `tMReserve2` | `datetime` | YES |
| 33 | `sCostPeriod` | `varchar(100)` | NO |
| 34 | `sConfirmMonth` | `varchar(100)` | NO |
| 35 | `bConfirm` | `bit(1)` | NO |
| 36 | `sSlaveId` | `varchar(100)` | NO |
| 37 | `iSlaveOrder` | `int` | NO |
| 38 | `sCustomerId` | `varchar(100)` | YES |
| 39 | `sProductId` | `varchar(100)` | NO |
| 40 | `dProductQty` | `decimal(18,6)` | YES |
| 41 | `dProductPrice` | `decimal(24,13)` | NO |
| 42 | `dProductMoney` | `decimal(18,6)` | NO |
| 43 | `sSrcId` | `varchar(100)` | NO |
| 44 | `sSrcSlaveId` | `varchar(100)` | NO |
| 45 | `sSrcNo` | `varchar(255)` | NO |
| 46 | `dSrcQty` | `decimal(18,6)` | YES |
| 47 | `sSlaveMemo` | `text` | YES |
| 48 | `dProductNoTaxPrice` | `decimal(24,13)` | NO |
| 49 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 50 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 51 | `sBarcode` | `varchar(255)` | YES |
| 52 | `sDefineNo` | `varchar(255)` | NO |
| 53 | `sDefineNo2` | `varchar(255)` | NO |
| 54 | `sSReserve1` | `varchar(255)` | YES |
| 55 | `sSReserve2` | `varchar(255)` | YES |
| 56 | `sSReserve3` | `varchar(255)` | YES |
| 57 | `sSReserve4` | `varchar(255)` | YES |
| 58 | `sSReserve5` | `varchar(255)` | YES |
| 59 | `sSReserve6` | `varchar(255)` | YES |
| 60 | `dSReserve1` | `decimal(18,6)` | YES |
| 61 | `dSReserve2` | `decimal(18,6)` | YES |
| 62 | `dSReserve3` | `decimal(18,6)` | YES |
| 63 | `iSReserve1` | `int` | YES |
| 64 | `iSReserve2` | `int` | YES |
| 65 | `iSReserve3` | `int` | YES |
| 66 | `tSReserve1` | `datetime` | YES |
| 67 | `tSReserve2` | `datetime` | YES |
| 68 | `dCostPrice` | `decimal(24,13)` | NO |
| 69 | `dCostMoney` | `decimal(18,6)` | NO |
| 70 | `sWorkOrderId` | `varchar(100)` | NO |
| 71 | `sWorkOrderNo` | `varchar(255)` | NO |
| 72 | `sOrderId` | `varchar(100)` | NO |
| 73 | `sOrderNo` | `varchar(255)` | NO |
| 74 | `sOrderSlaveId` | `varchar(100)` | NO |
| 75 | `sProcessId` | `varchar(100)` | NO |
| 76 | `dDoingQty` | `decimal(18,6)` | YES |
| 77 | `sMaterialsId` | `varchar(100)` | NO |
| 78 | `sMaterialsStyle` | `varchar(100)` | NO |
| 79 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 80 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 81 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 82 | `dConversionQty` | `decimal(18,6)` | NO |
| 83 | `dMaterialsPrice` | `decimal(24,13)` | NO |
| 84 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 85 | `dCoefficient` | `decimal(18,6)` | NO |
| 86 | `sOutsideType` | `varchar(255)` | NO |
| 87 | `dEndExpense1Money` | `decimal(18,2)` | NO |
| 88 | `dEndExpense3Money` | `decimal(18,2)` | NO |
| 89 | `dEndExpense21Money` | `decimal(18,2)` | NO |
| 90 | `dEndExpense19Money` | `decimal(18,2)` | NO |
| 91 | `dEndExpense8Money` | `decimal(18,2)` | NO |
| 92 | `dEndExpense11Money` | `decimal(18,2)` | NO |
| 93 | `dEndExpense16Money` | `decimal(18,2)` | NO |
| 94 | `dMaterialsTaxMoney` | `decimal(18,6)` | NO |
| 95 | `dMaterialsNoTaxPrice` | `decimal(24,13)` | NO |
| 96 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | NO |
| 97 | `sSupplyId` | `varchar(100)` | YES |
| 98 | `sMaterialsUnit` | `varchar(1)` | NO |
| 99 | `staxid` | `varchar(255)` | YES |
| 100 | `dMaterialsForeignMoney` | `decimal(18,6)` | NO |
| 101 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | NO |

## 定义

```sql
select `xlyweberp_saas_ai`.`accproductdoingmaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`iIncrement` AS `iIncrement`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`bPrint` AS `bPrint`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`bCopyLimit` AS `bCopyLimit`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sEmployeeId` AS `sEmployeeId`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`tMReserve2` AS `tMReserve2`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sCostPeriod` AS `sCostPeriod`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`sConfirmMonth` AS `sConfirmMonth`,`xlyweberp_saas_ai`.`accproductdoingmaster`.`bConfirm` AS `bConfirm`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`iOrder` AS `iSlaveOrder`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sCustomerId` AS `sCustomerId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sProductId` AS `sProductId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dProductQty` AS `dProductQty`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dProductPrice` AS `dProductPrice`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dProductMoney` AS `dProductMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSrcId` AS `sSrcId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSrcNo` AS `sSrcNo`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dSrcQty` AS `dSrcQty`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSlaveMemo` AS `sSlaveMemo`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sBarcode` AS `sBarcode`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sDefineNo` AS `sDefineNo`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sDefineNo2` AS `sDefineNo2`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSReserve1` AS `sSReserve1`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSReserve2` AS `sSReserve2`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSReserve3` AS `sSReserve3`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSReserve4` AS `sSReserve4`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSReserve5` AS `sSReserve5`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSReserve6` AS `sSReserve6`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dSReserve1` AS `dSReserve1`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dSReserve2` AS `dSReserve2`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dSReserve3` AS `dSReserve3`,`xlyweberp_saas_ai`.`accproductdoingslave`.`iSReserve1` AS `iSReserve1`,`xlyweberp_saas_ai`.`accproductdoingslave`.`iSReserve2` AS `iSReserve2`,`xlyweberp_saas_ai`.`accproductdoingslave`.`iSReserve3` AS `iSReserve3`,`xlyweberp_saas_ai`.`accproductdoingslave`.`tSReserve1` AS `tSReserve1`,`xlyweberp_saas_ai`.`accproductdoingslave`.`tSReserve2` AS `tSReserve2`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dCostPrice` AS `dCostPrice`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dCostMoney` AS `dCostMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sWorkOrderId` AS `sWorkOrderId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sOrderId` AS `sOrderId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sOrderNo` AS `sOrderNo`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sProcessId` AS `sProcessId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dDoingQty` AS `dDoingQty`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sMaterialsId` AS `sMaterialsId`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsQty` AS `dMaterialsQty`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dConversionQty` AS `dConversionQty`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dCoefficient` AS `dCoefficient`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sOutsideType` AS `sOutsideType`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dEndExpense1Money` AS `dEndExpense1Money`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dEndExpense3Money` AS `dEndExpense3Money`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dEndExpense21Money` AS `dEndExpense21Money`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dEndExpense19Money` AS `dEndExpense19Money`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dEndExpense8Money` AS `dEndExpense8Money`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dEndExpense11Money` AS `dEndExpense11Money`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dEndExpense16Money` AS `dEndExpense16Money`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sSupplyId` AS `sSupplyId`,'个' AS `sMaterialsUnit`,`xlyweberp_saas_ai`.`accproductdoingslave`.`sTaxId` AS `staxid`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`xlyweberp_saas_ai`.`accproductdoingslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney` from (`xlyweberp_saas_ai`.`accproductdoingmaster` join `xlyweberp_saas_ai`.`accproductdoingslave` on((`xlyweberp_saas_ai`.`accproductdoingmaster`.`sId` = `xlyweberp_saas_ai`.`accproductdoingslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
