# `viw_cahfinancialadjust`（视图）


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

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | NO |
| 2 | `sBrandsId` | `varchar(100)` | NO |
| 3 | `sSubsidiaryId` | `varchar(100)` | NO |
| 4 | `tCreateDate` | `datetime` | NO |
| 5 | `sMakePerson` | `varchar(255)` | NO |
| 6 | `iOrder` | `int` | NO |
| 7 | `sBillNo` | `varchar(255)` | NO |
| 8 | `sFormId` | `varchar(100)` | NO |
| 9 | `sBillType` | `varchar(255)` | NO |
| 10 | `bInvalid` | `bit(1)` | NO |
| 11 | `sEmployeeId` | `varchar(100)` | NO |
| 12 | `tAdjustDate` | `datetime` | YES |
| 13 | `dAdjustMoney` | `decimal(22,6)` | YES |
| 14 | `dInvoiceMoney` | `decimal(18,2)` | YES |
| 15 | `dReceiptMoney` | `decimal(18,6)` | NO |
| 16 | `sFamilyId` | `varchar(100)` | NO |
| 17 | `sMemo` | `text` | YES |
| 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 | `bCheck` | `bit(1)` | NO |
| 33 | `tCheckDate` | `datetime` | YES |
| 34 | `sCheckPerson` | `varchar(255)` | YES |
| 35 | `bPrint` | `bit(1)` | NO |
| 36 | `bCopyLimit` | `bit(1)` | NO |
| 37 | `sStatus` | `varchar(255)` | YES |
| 38 | `bPaymentComplete` | `bit(1)` | NO |
| 39 | `bReceiptComplete` | `bit(1)` | NO |
| 40 | `bInvoiceComplete` | `bit(1)` | NO |
| 41 | `sSlaveId` | `varchar(50)` | YES |
| 42 | `sProductId` | `varchar(50)` | YES |
| 43 | `dProductNoTaxPrice` | `decimal(18,6)` | YES |
| 44 | `dProductNoTaxMoney` | `decimal(18,2)` | YES |
| 45 | `dProductTaxMoney` | `decimal(18,2)` | YES |
| 46 | `dProductTaxForeignMoney` | `decimal(18,2)` | YES |
| 47 | `dProductMoney` | `decimal(18,2)` | YES |
| 48 | `sTaxId` | `varchar(50)` | YES |
| 49 | `iIncrement` | `int` | YES |

## 定义

```sql
select `xlyweberp_saas_ai`.`cahfinancialadjust`.`sId` AS `sId`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sBillType` AS `sBillType`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sEmployeeId` AS `sEmployeeId`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`tAdjustDate` AS `tAdjustDate`,if((ifnull(`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`sId`,'') = ''),`xlyweberp_saas_ai`.`cahfinancialadjust`.`dAdjustMoney`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`dTotalMoney`) AS `dAdjustMoney`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`dInvoiceMoney` AS `dInvoiceMoney`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`dReceiptMoney` AS `dReceiptMoney`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sFamilyId` AS `sFamilyId`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`tMReserve2` AS `tMReserve2`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`bPrint` AS `bPrint`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`bCopyLimit` AS `bCopyLimit`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`bPaymentComplete` AS `bPaymentComplete`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`bReceiptComplete` AS `bReceiptComplete`,`xlyweberp_saas_ai`.`cahfinancialadjust`.`bInvoiceComplete` AS `bInvoiceComplete`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`sProductId` AS `sProductId`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`dProductMoney` AS `dProductMoney`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`sTaxId` AS `sTaxId`,`xlyweberp_saas_ai`.`cahfinancialadjustslave`.`iIncrement` AS `iIncrement` from (`xlyweberp_saas_ai`.`cahfinancialadjust` left join `xlyweberp_saas_ai`.`cahfinancialadjustslave` on((`xlyweberp_saas_ai`.`cahfinancialadjust`.`sId` = `xlyweberp_saas_ai`.`cahfinancialadjustslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
