# `viw_accmaterialsinit`（视图）


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

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | YES |
| 2 | `sBrandsId` | `varchar(100)` | YES |
| 3 | `sSubsidiaryId` | `varchar(100)` | YES |
| 4 | `tCreateDate` | `datetime` | NO |
| 5 | `sMakePerson` | `varchar(255)` | YES |
| 6 | `sFormId` | `varchar(100)` | YES |
| 7 | `iOrder` | `int` | NO |
| 8 | `sBillNo` | `varchar(255)` | YES |
| 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 | `sEmployeeId` | `varchar(100)` | YES |
| 17 | `bInvalid` | `bit(1)` | NO |
| 18 | `sMReserve1` | `varchar(255)` | YES |
| 19 | `sMReserve2` | `varchar(255)` | YES |
| 20 | `sMReserve3` | `varchar(255)` | YES |
| 21 | `sMReserve4` | `varchar(255)` | YES |
| 22 | `sMReserve5` | `varchar(255)` | YES |
| 23 | `sMReserve6` | `varchar(255)` | YES |
| 24 | `dMReserve1` | `decimal(18,6)` | YES |
| 25 | `dMReserve2` | `decimal(18,6)` | YES |
| 26 | `dMReserve3` | `decimal(18,6)` | YES |
| 27 | `iMReserve1` | `int` | YES |
| 28 | `iMReserve2` | `int` | YES |
| 29 | `iMReserve3` | `int` | YES |
| 30 | `tMReserve1` | `datetime` | YES |
| 31 | `tMReserve2` | `datetime` | YES |
| 32 | `sCostPeriod` | `varchar(100)` | YES |
| 33 | `sConfirmMonth` | `varchar(100)` | YES |
| 34 | `bConfirm` | `bit(1)` | NO |
| 35 | `sSlaveId` | `varchar(100)` | YES |
| 36 | `iSlaveOrder` | `int` | NO |
| 37 | `sSupplyId` | `varchar(100)` | YES |
| 38 | `sMaterialsId` | `varchar(100)` | YES |
| 39 | `sMaterialsStyle` | `varchar(100)` | YES |
| 40 | `dOriginalAuxiliaryQty` | `decimal(18,6)` | NO |
| 41 | `dOriginalQty` | `decimal(18,6)` | NO |
| 42 | `dOriginalMoney` | `decimal(18,6)` | NO |
| 43 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 44 | `sAuxiliaryUnit` | `varchar(255)` | YES |
| 45 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 46 | `dConversionQty` | `decimal(18,6)` | NO |
| 47 | `dMaterialsPrice` | `decimal(24,13)` | NO |
| 48 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 49 | `dProfitLossAuxiliaryQty` | `decimal(18,6)` | YES |
| 50 | `dProfitLossQty` | `decimal(18,6)` | YES |
| 51 | `dProfitLossMoney` | `decimal(18,6)` | YES |
| 52 | `dProfitLossPrice` | `decimal(24,13)` | NO |
| 53 | `sSrcId` | `varchar(100)` | YES |
| 54 | `sSrcSlaveId` | `varchar(100)` | YES |
| 55 | `sSrcNo` | `varchar(255)` | YES |
| 56 | `dSrcQty` | `decimal(18,6)` | YES |
| 57 | `sSlaveMemo` | `text` | YES |
| 58 | `sBarcode` | `varchar(255)` | YES |
| 59 | `sDefineNo` | `varchar(100)` | YES |
| 60 | `sDefineNo2` | `varchar(100)` | YES |
| 61 | `sWareHouseId` | `varchar(100)` | YES |
| 62 | `sLocationId` | `varchar(100)` | YES |
| 63 | `sWareHouseLocationId` | `varchar(100)` | YES |
| 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 | `dInvoiceMoney` | `decimal(18,6)` | NO |

## 定义

```sql
select `xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`bPrint` AS `bPrint`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`bCopyLimit` AS `bCopyLimit`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sEmployeeId` AS `sEmployeeId`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`tMReserve2` AS `tMReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sCostPeriod` AS `sCostPeriod`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sConfirmMonth` AS `sConfirmMonth`,`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`bConfirm` AS `bConfirm`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`iOrder` AS `iSlaveOrder`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSupplyId` AS `sSupplyId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sMaterialsId` AS `sMaterialsId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dOriginalAuxiliaryQty` AS `dOriginalAuxiliaryQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dOriginalQty` AS `dOriginalQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dOriginalMoney` AS `dOriginalMoney`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dMaterialsQty` AS `dMaterialsQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dConversionQty` AS `dConversionQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dProfitLossAuxiliaryQty` AS `dProfitLossAuxiliaryQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dProfitLossQty` AS `dProfitLossQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dProfitLossMoney` AS `dProfitLossMoney`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dProfitLossPrice` AS `dProfitLossPrice`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSrcId` AS `sSrcId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSrcNo` AS `sSrcNo`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dSrcQty` AS `dSrcQty`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSlaveMemo` AS `sSlaveMemo`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sBarcode` AS `sBarcode`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sDefineNo` AS `sDefineNo`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sDefineNo2` AS `sDefineNo2`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sWareHouseId` AS `sWareHouseId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sLocationId` AS `sLocationId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSReserve1` AS `sSReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSReserve2` AS `sSReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSReserve3` AS `sSReserve3`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSReserve4` AS `sSReserve4`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSReserve5` AS `sSReserve5`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`sSReserve6` AS `sSReserve6`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dSReserve1` AS `dSReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dSReserve2` AS `dSReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dSReserve3` AS `dSReserve3`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`iSReserve1` AS `iSReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`iSReserve2` AS `iSReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`iSReserve3` AS `iSReserve3`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`tSReserve1` AS `tSReserve1`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`tSReserve2` AS `tSReserve2`,`xlyweberp_saas_ai`.`accmaterialsinitslave`.`dInvoiceMoney` AS `dInvoiceMoney` from (`xlyweberp_saas_ai`.`accmaterialsinitmaster` join `xlyweberp_saas_ai`.`accmaterialsinitslave` on((`xlyweberp_saas_ai`.`accmaterialsinitmaster`.`sId` = `xlyweberp_saas_ai`.`accmaterialsinitslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
