# `viw_elematerialsyear`（视图）


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

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |
| 2 | `sId` | `varchar(100)` | NO |
| 3 | `sBrandsId` | `varchar(100)` | NO |
| 4 | `sSubsidiaryId` | `varchar(100)` | NO |
| 5 | `tCreateDate` | `datetime` | NO |
| 6 | `sMakePerson` | `varchar(255)` | NO |
| 7 | `iOrder` | `int` | NO |
| 8 | `sBillNo` | `varchar(50)` | YES |
| 9 | `sYear` | `varchar(255)` | YES |
| 10 | `sMemo` | `text` | YES |
| 11 | `bInvalid` | `bit(1)` | NO |
| 12 | `sMReserve1` | `varchar(255)` | YES |
| 13 | `sMReserve2` | `varchar(255)` | YES |
| 14 | `sMReserve3` | `varchar(255)` | YES |
| 15 | `sMReserve4` | `varchar(255)` | YES |
| 16 | `sMReserve5` | `varchar(255)` | YES |
| 17 | `sMReserve6` | `varchar(255)` | YES |
| 18 | `dMReserve1` | `decimal(18,6)` | YES |
| 19 | `dMReserve2` | `decimal(18,6)` | YES |
| 20 | `dMReserve3` | `decimal(18,6)` | YES |
| 21 | `iMReserve1` | `int` | YES |
| 22 | `iMReserve2` | `int` | YES |
| 23 | `iMReserve3` | `int` | YES |
| 24 | `tMReserve1` | `datetime` | YES |
| 25 | `tMReserve2` | `datetime` | YES |
| 26 | `bStartMark` | `bit(1)` | NO |
| 27 | `sFormId` | `varchar(255)` | YES |
| 28 | `tCheckDate` | `datetime` | YES |
| 29 | `sCheckPerson` | `varchar(255)` | YES |
| 30 | `sStatus` | `varchar(255)` | YES |
| 31 | `bCheck` | `bit(1)` | YES |
| 32 | `sEmployeeId` | `varchar(255)` | YES |
| 33 | `sSlaveId` | `varchar(100)` | NO |
| 34 | `sParentId` | `varchar(100)` | NO |
| 35 | `sSlaveMemo` | `varchar(2000)` | YES |
| 36 | `sMaterialsId` | `varchar(255)` | YES |
| 37 | `dNewPrice` | `decimal(24,13)` | NO |
| 38 | `dOldPrice` | `decimal(24,13)` | NO |

## 定义

```sql
select `xlyweberp_saas_ai`.`elematerialsyearmaster`.`iIncrement` AS `iIncrement`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sYear` AS `sYear`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`tMReserve2` AS `tMReserve2`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`bStartMark` AS `bStartMark`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sEmployeeId` AS `sEmployeeId`,`xlyweberp_saas_ai`.`elematerialsyearslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`elematerialsyearslave`.`sParentId` AS `sParentId`,`xlyweberp_saas_ai`.`elematerialsyearslave`.`sSlaveMemo` AS `sSlaveMemo`,`xlyweberp_saas_ai`.`elematerialsyearslave`.`sMaterialsId` AS `sMaterialsId`,`xlyweberp_saas_ai`.`elematerialsyearslave`.`dNewPrice` AS `dNewPrice`,`xlyweberp_saas_ai`.`elematerialsyearslave`.`dOldPrice` AS `dOldPrice` from (`xlyweberp_saas_ai`.`elematerialsyearmaster` join `xlyweberp_saas_ai`.`elematerialsyearslave` on((`xlyweberp_saas_ai`.`elematerialsyearmaster`.`sId` = `xlyweberp_saas_ai`.`elematerialsyearslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
