# `viw_budgetadjustmentcheck` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 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 | `sCheckNumber` | `varchar(100)` | YES |
| 15 | `sMakePersonId` | `varchar(255)` | YES |
| 16 | `sDeptCheckPerson` | `varchar(100)` | YES |
| 17 | `sDeptCheckPersonId` | `varchar(100)` | YES |
| 18 | `sDeptOpinionMemo` | `text` | YES |
| 19 | `sGeneralManager` | `varchar(100)` | YES |
| 20 | `sGeneralManagerId` | `varchar(100)` | YES |
| 21 | `sGeneralCheckOpinionMemo` | `text` | YES |
| 22 | `sCarbonCopyRecipients` | `varchar(100)` | YES |
| 23 | `sCarbonCopyRecipientsId` | `varchar(100)` | YES |
| 24 | `sCarbonCheckOpinionMemo` | `text` | YES |
| 25 | `sMemo` | `text` | YES |
| 26 | `sStatus` | `varchar(255)` | YES |
| 27 | `bInvalid` | `bit(1)` | NO |
| 28 | `sMReserve1` | `varchar(255)` | YES |
| 29 | `sMReserve2` | `varchar(255)` | YES |
| 30 | `sMReserve3` | `varchar(255)` | YES |
| 31 | `sMReserve4` | `varchar(255)` | YES |
| 32 | `sMReserve5` | `varchar(255)` | YES |
| 33 | `sMReserve6` | `varchar(255)` | YES |
| 34 | `dMReserve1` | `decimal(18,6)` | YES |
| 35 | `dMReserve2` | `decimal(18,6)` | YES |
| 36 | `dMReserve3` | `decimal(18,6)` | YES |
| 37 | `iMReserve1` | `int` | YES |
| 38 | `iMReserve2` | `int` | YES |
| 39 | `iMReserve3` | `int` | YES |
| 40 | `tMReserve1` | `datetime` | YES |
| 41 | `tMReserve2` | `datetime` | YES |
| 42 | `sSlaveId` | `varchar(100)` | NO |
| 43 | `iSlaveOrder` | `int` | NO |
| 44 | `iAdjustmentType` | `int` | NO |
| 45 | `sBeforeExpenseCategoryId` | `varchar(100)` | YES |
| 46 | `sBeforeExpenseCategory` | `varchar(100)` | YES |
| 47 | `sBeforeExpenseDetail` | `varchar(100)` | NO |
| 48 | `sAfterExpenseCategoryId` | `varchar(100)` | YES |
| 49 | `sAfterExpenseCategory` | `varchar(100)` | YES |
| 50 | `sAfterExpenseDetail` | `varchar(100)` | NO |
| 51 | `dAfterBudgetMoney` | `decimal(18,6)` | NO |
| 52 | `sReasonForAdjustment` | `text` | YES |
| 53 | `dTaxRate` | `decimal(18,6)` | NO |
| 54 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 55 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | NO |
| 56 | `sTaxId` | `varchar(100)` | YES |
| 57 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 58 | `dMaterialsPrice` | `decimal(24,13)` | NO |
| 59 | `ssMemo` | `text` | YES |
| 60 | `sSReserve1` | `varchar(255)` | YES |
| 61 | `sSReserve2` | `varchar(255)` | YES |
| 62 | `sSReserve3` | `varchar(255)` | YES |
| 63 | `sSReserve4` | `varchar(255)` | YES |
| 64 | `sSReserve5` | `varchar(255)` | YES |
| 65 | `sSReserve6` | `varchar(255)` | YES |
| 66 | `dSReserve1` | `decimal(18,6)` | YES |
| 67 | `dSReserve2` | `decimal(18,6)` | YES |
| 68 | `dSReserve3` | `decimal(18,6)` | YES |
| 69 | `iSReserve1` | `int` | YES |
| 70 | `iSReserve2` | `int` | YES |
| 71 | `iSReserve3` | `int` | YES |
| 72 | `tSReserve1` | `datetime` | YES |
| 73 | `tSReserve2` | `datetime` | YES |
| 74 | `sDepartName` | `varchar(255)` | YES |
| 75 | `sDepartId` | `varchar(255)` | YES |
| 76 | `sApplyPerson` | `varchar(100)` | NO |
| 77 | `sMasterDepartName` | `varchar(100)` | NO |
| 78 | `sMasterDepartId` | `varchar(100)` | NO |
| 79 | `sApplyPersonID` | `varchar(100)` | NO |
| 80 | `iCigPack` | `int` | YES |
| 81 | `sCigPack` | `varchar(1)` | NO |

## Definition

```sql
select `budgetadjustmentcheckmaster`.`sId` AS `sId`,`budgetadjustmentcheckmaster`.`sBrandsId` AS `sBrandsId`,`budgetadjustmentcheckmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`budgetadjustmentcheckmaster`.`iIncrement` AS `iIncrement`,`budgetadjustmentcheckmaster`.`tCreateDate` AS `tCreateDate`,`budgetadjustmentcheckmaster`.`sMakePerson` AS `sMakePerson`,`budgetadjustmentcheckmaster`.`sFormId` AS `sFormId`,`budgetadjustmentcheckmaster`.`sCustomerId` AS `sCustomerId`,`budgetadjustmentcheckmaster`.`iOrder` AS `iOrder`,`budgetadjustmentcheckmaster`.`sBillNo` AS `sBillNo`,`budgetadjustmentcheckmaster`.`bCheck` AS `bCheck`,`budgetadjustmentcheckmaster`.`tCheckDate` AS `tCheckDate`,`budgetadjustmentcheckmaster`.`sCheckPerson` AS `sCheckPerson`,`budgetadjustmentcheckmaster`.`sCheckNumber` AS `sCheckNumber`,`budgetadjustmentcheckmaster`.`sMakePersonId` AS `sMakePersonId`,`budgetadjustmentcheckmaster`.`sDeptCheckPerson` AS `sDeptCheckPerson`,`budgetadjustmentcheckmaster`.`sDeptCheckPersonId` AS `sDeptCheckPersonId`,`budgetadjustmentcheckmaster`.`sDeptOpinionMemo` AS `sDeptOpinionMemo`,`budgetadjustmentcheckmaster`.`sGeneralManager` AS `sGeneralManager`,`budgetadjustmentcheckmaster`.`sGeneralManagerId` AS `sGeneralManagerId`,`budgetadjustmentcheckmaster`.`sGeneralCheckOpinionMemo` AS `sGeneralCheckOpinionMemo`,`budgetadjustmentcheckmaster`.`sCarbonCopyRecipients` AS `sCarbonCopyRecipients`,`budgetadjustmentcheckmaster`.`sCarbonCopyRecipientsId` AS `sCarbonCopyRecipientsId`,`budgetadjustmentcheckmaster`.`sCarbonCheckOpinionMemo` AS `sCarbonCheckOpinionMemo`,`budgetadjustmentcheckmaster`.`sMemo` AS `sMemo`,`budgetadjustmentcheckmaster`.`sStatus` AS `sStatus`,`budgetadjustmentcheckmaster`.`bInvalid` AS `bInvalid`,`budgetadjustmentcheckmaster`.`sMReserve1` AS `sMReserve1`,`budgetadjustmentcheckmaster`.`sMReserve2` AS `sMReserve2`,`budgetadjustmentcheckmaster`.`sMReserve3` AS `sMReserve3`,`budgetadjustmentcheckmaster`.`sMReserve4` AS `sMReserve4`,`budgetadjustmentcheckmaster`.`sMReserve5` AS `sMReserve5`,`budgetadjustmentcheckmaster`.`sMReserve6` AS `sMReserve6`,`budgetadjustmentcheckmaster`.`dMReserve1` AS `dMReserve1`,`budgetadjustmentcheckmaster`.`dMReserve2` AS `dMReserve2`,`budgetadjustmentcheckmaster`.`dMReserve3` AS `dMReserve3`,`budgetadjustmentcheckmaster`.`iMReserve1` AS `iMReserve1`,`budgetadjustmentcheckmaster`.`iMReserve2` AS `iMReserve2`,`budgetadjustmentcheckmaster`.`iMReserve3` AS `iMReserve3`,`budgetadjustmentcheckmaster`.`tMReserve1` AS `tMReserve1`,`budgetadjustmentcheckmaster`.`tMReserve2` AS `tMReserve2`,`budgetadjustmentcheckslave`.`sId` AS `sSlaveId`,`budgetadjustmentcheckslave`.`iOrder` AS `iSlaveOrder`,`budgetadjustmentcheckslave`.`iAdjustmentType` AS `iAdjustmentType`,`budgetadjustmentcheckslave`.`sBeforeExpenseCategoryId` AS `sBeforeExpenseCategoryId`,`budgetadjustmentcheckslave`.`sBeforeExpenseCategory` AS `sBeforeExpenseCategory`,`budgetadjustmentcheckslave`.`sBeforeExpenseDetail` AS `sBeforeExpenseDetail`,`budgetadjustmentcheckslave`.`sAfterExpenseCategoryId` AS `sAfterExpenseCategoryId`,`budgetadjustmentcheckslave`.`sAfterExpenseCategory` AS `sAfterExpenseCategory`,`budgetadjustmentcheckslave`.`sAfterExpenseDetail` AS `sAfterExpenseDetail`,`budgetadjustmentcheckslave`.`dAfterBudgetMoney` AS `dAfterBudgetMoney`,`budgetadjustmentcheckslave`.`sReasonForAdjustment` AS `sReasonForAdjustment`,`budgetadjustmentcheckslave`.`dTaxRate` AS `dTaxRate`,`budgetadjustmentcheckslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`budgetadjustmentcheckslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`budgetadjustmentcheckslave`.`sTaxId` AS `sTaxId`,`budgetadjustmentcheckslave`.`dMaterialsQty` AS `dMaterialsQty`,`budgetadjustmentcheckslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`budgetadjustmentcheckslave`.`sMemo` AS `ssMemo`,`budgetadjustmentcheckslave`.`sSReserve1` AS `sSReserve1`,`budgetadjustmentcheckslave`.`sSReserve2` AS `sSReserve2`,`budgetadjustmentcheckslave`.`sSReserve3` AS `sSReserve3`,`budgetadjustmentcheckslave`.`sSReserve4` AS `sSReserve4`,`budgetadjustmentcheckslave`.`sSReserve5` AS `sSReserve5`,`budgetadjustmentcheckslave`.`sSReserve6` AS `sSReserve6`,`budgetadjustmentcheckslave`.`dSReserve1` AS `dSReserve1`,`budgetadjustmentcheckslave`.`dSReserve2` AS `dSReserve2`,`budgetadjustmentcheckslave`.`dSReserve3` AS `dSReserve3`,`budgetadjustmentcheckslave`.`iSReserve1` AS `iSReserve1`,`budgetadjustmentcheckslave`.`iSReserve2` AS `iSReserve2`,`budgetadjustmentcheckslave`.`iSReserve3` AS `iSReserve3`,`budgetadjustmentcheckslave`.`tSReserve1` AS `tSReserve1`,`budgetadjustmentcheckslave`.`tSReserve2` AS `tSReserve2`,`budgetadjustmentcheckmaster`.`sDepartName` AS `sDepartName`,`budgetadjustmentcheckmaster`.`sDepartId` AS `sDepartId`,`budgetadjustmentcheckmaster`.`sApplyPerson` AS `sApplyPerson`,`budgetadjustmentcheckmaster`.`sMasterDepartName` AS `sMasterDepartName`,`budgetadjustmentcheckmaster`.`sMasterDepartId` AS `sMasterDepartId`,`budgetadjustmentcheckmaster`.`sApplyPersonId` AS `sApplyPersonID`,`budgetadjustmentcheckmaster`.`iCigPack` AS `iCigPack`,(case `budgetadjustmentcheckmaster`.`iCigPack` when 1 then '是' else '否' end) AS `sCigPack` from (`budgetadjustmentcheckmaster` join `budgetadjustmentcheckslave` on((`budgetadjustmentcheckmaster`.`sId` = `budgetadjustmentcheckslave`.`sParentId`)))
```

## Narrative

_No human-written narrative yet._
