# `viw_departmentalbudget`（视图）


- **是否可更新：** 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 | `sCustomerId` | `varchar(100)` | YES |
| 9 | `iOrder` | `int` | NO |
| 10 | `sBillNo` | `varchar(255)` | NO |
| 11 | `bCheck` | `bit(1)` | NO |
| 12 | `tCheckDate` | `datetime` | YES |
| 13 | `sCheckPerson` | `varchar(255)` | YES |
| 14 | `sYear` | `varchar(100)` | NO |
| 15 | `sMemo` | `text` | 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 | `sSlaveId` | `varchar(100)` | NO |
| 32 | `iSlaveOrder` | `int` | NO |
| 33 | `sExpenseCategoryId` | `varchar(100)` | NO |
| 34 | `sExpenseCategory` | `varchar(100)` | NO |
| 35 | `sExpenseDetail` | `varchar(100)` | NO |
| 36 | `sDetailMemo` | `text` | YES |
| 37 | `dSumBudget` | `decimal(18,6)` | NO |
| 38 | `dJanuaryBudget` | `decimal(18,6)` | NO |
| 39 | `dFebruaryBudget` | `decimal(18,6)` | NO |
| 40 | `dMarchBudget` | `decimal(18,6)` | NO |
| 41 | `dAprilBudget` | `decimal(18,6)` | NO |
| 42 | `dMayBudget` | `decimal(18,6)` | NO |
| 43 | `dJuneBudget` | `decimal(18,6)` | NO |
| 44 | `dJulyBudget` | `decimal(18,6)` | NO |
| 45 | `dAugustBudget` | `decimal(18,6)` | NO |
| 46 | `dSeptemberBudget` | `decimal(18,6)` | NO |
| 47 | `dOctoberBudget` | `decimal(18,6)` | NO |
| 48 | `dNovemberBudget` | `decimal(18,6)` | NO |
| 49 | `dDecemberBudget` | `decimal(18,6)` | NO |
| 50 | `ssMemo` | `text` | YES |
| 51 | `sSReserve1` | `varchar(255)` | YES |
| 52 | `sSReserve2` | `varchar(255)` | YES |
| 53 | `sSReserve3` | `varchar(255)` | YES |
| 54 | `sSReserve4` | `varchar(255)` | YES |
| 55 | `sSReserve5` | `varchar(255)` | YES |
| 56 | `sSReserve6` | `varchar(255)` | YES |
| 57 | `dSReserve1` | `decimal(18,6)` | YES |
| 58 | `dSReserve2` | `decimal(18,6)` | YES |
| 59 | `dSReserve3` | `decimal(18,6)` | YES |
| 60 | `iSReserve1` | `int` | YES |
| 61 | `iSReserve2` | `int` | YES |
| 62 | `iSReserve3` | `int` | YES |
| 63 | `tSReserve1` | `datetime` | YES |
| 64 | `tSReserve2` | `datetime` | YES |
| 65 | `sDepartName` | `varchar(100)` | NO |
| 66 | `sDepartId` | `varchar(100)` | NO |

## 定义

```sql
select `xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`iIncrement` AS `iIncrement`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sCustomerId` AS `sCustomerId`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sYear` AS `sYear`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`tMReserve2` AS `tMReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`iOrder` AS `iSlaveOrder`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sExpenseCategoryId` AS `sExpenseCategoryId`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sExpenseCategory` AS `sExpenseCategory`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sExpenseDetail` AS `sExpenseDetail`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sDetailMemo` AS `sDetailMemo`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dSumBudget` AS `dSumBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dJanuaryBudget` AS `dJanuaryBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dFebruaryBudget` AS `dFebruaryBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dMarchBudget` AS `dMarchBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dAprilBudget` AS `dAprilBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dMayBudget` AS `dMayBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dJuneBudget` AS `dJuneBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dJulyBudget` AS `dJulyBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dAugustBudget` AS `dAugustBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dSeptemberBudget` AS `dSeptemberBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dOctoberBudget` AS `dOctoberBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dNovemberBudget` AS `dNovemberBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dDecemberBudget` AS `dDecemberBudget`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sMemo` AS `ssMemo`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sSReserve1` AS `sSReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sSReserve2` AS `sSReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sSReserve3` AS `sSReserve3`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sSReserve4` AS `sSReserve4`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sSReserve5` AS `sSReserve5`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`sSReserve6` AS `sSReserve6`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dSReserve1` AS `dSReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dSReserve2` AS `dSReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`dSReserve3` AS `dSReserve3`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`iSReserve1` AS `iSReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`iSReserve2` AS `iSReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`iSReserve3` AS `iSReserve3`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`tSReserve1` AS `tSReserve1`,`xlyweberp_saas_ai`.`departmentalbudgetslave`.`tSReserve2` AS `tSReserve2`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sDepartName` AS `sDepartName`,`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sDepartId` AS `sDepartId` from (`xlyweberp_saas_ai`.`departmentalbudgetmaster` join `xlyweberp_saas_ai`.`departmentalbudgetslave` on((`xlyweberp_saas_ai`.`departmentalbudgetmaster`.`sId` = `xlyweberp_saas_ai`.`departmentalbudgetslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
