# `viw_financialvoucher` (view)


- **Updatable:** NO

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | NO |
| 2 | `sSlaveId` | `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 | `sFormId` | `varchar(100)` | NO |
| 9 | `sBillType` | `varchar(255)` | NO |
| 10 | `sBillNo` | `varchar(255)` | NO |
| 11 | `sMemo` | `mediumtext` | YES |
| 12 | `bCheck` | `bit(1)` | NO |
| 13 | `tCheckDate` | `datetime` | YES |
| 14 | `sCheckPerson` | `varchar(255)` | YES |
| 15 | `sInvoiceNo` | `varchar(255)` | YES |
| 16 | `dTotalMoney` | `decimal(18,6)` | NO |
| 17 | `sCurrency` | `varchar(255)` | YES |
| 18 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 19 | `iVouchermark` | `int` | YES |
| 20 | `sVoucherBillNo` | `varchar(255)` | NO |
| 21 | `sVoucherBillId` | `varchar(255)` | NO |
| 22 | `dProductForeignMoney` | `decimal(18,6)` | NO |
| 23 | `sSupplyId` | `varchar(100)` | NO |
| 24 | `bInvalid` | `bit(1)` | NO |
| 25 | `sSettlementId` | `varchar(100)` | NO |

## Definition

```sql
select `a`.`sId` AS `sId`,`a`.`sId` AS `sSlaveId`,`a`.`sBrandsId` AS `sBrandsId`,`a`.`sSubsidiaryId` AS `sSubsidiaryId`,`a`.`tCreateDate` AS `tCreateDate`,`a`.`sMakePerson` AS `sMakePerson`,`a`.`iOrder` AS `iOrder`,`a`.`sFormId` AS `sFormId`,`a`.`sBillType` AS `sBillType`,`a`.`sBillNo` AS `sBillNo`,`a`.`sMemo` AS `sMemo`,`a`.`bCheck` AS `bCheck`,`a`.`tCheckDate` AS `tCheckDate`,`a`.`sCheckPerson` AS `sCheckPerson`,`a`.`sInvoiceNo` AS `sInvoiceNo`,`a`.`dTotalMoney` AS `dTotalMoney`,`a`.`sCurrency` AS `sCurrency`,`a`.`dCurrencyRate` AS `dCurrencyRate`,`a`.`iVouchermark` AS `iVouchermark`,`a`.`sVoucherBillNo` AS `sVoucherBillNo`,`a`.`sVoucherBillId` AS `sVoucherBillId`,`a`.`dProductForeignMoney` AS `dProductForeignMoney`,`a`.`sSupplyId` AS `sSupplyId`,`a`.`bInvalid` AS `bInvalid`,`a`.`sSettlementId` AS `sSettlementId` from `cahpaymentmaster` `a` union select `a`.`sId` AS `sId`,`a`.`sId` AS `sSlaveId`,`a`.`sBrandsId` AS `sBrandsId`,`a`.`sSubsidiaryId` AS `sSubsidiaryId`,`a`.`tCreateDate` AS `tCreateDate`,`a`.`sMakePerson` AS `sMakePerson`,`a`.`iOrder` AS `iOrder`,`a`.`sFormId` AS `sFormId`,`a`.`sBillType` AS `sBillType`,`a`.`sBillNo` AS `sBillNo`,`a`.`sMemo` AS `sMemo`,`a`.`bCheck` AS `bCheck`,`a`.`tCheckDate` AS `tCheckDate`,`a`.`sCheckPerson` AS `sCheckPerson`,`a`.`sInvoiceNo` AS `sInvoiceNo`,`a`.`dTotalMoney` AS `dTotalMoney`,`a`.`sCurrency` AS `sCurrency`,`a`.`dCurrencyRate` AS `dCurrencyRate`,`a`.`iVouchermark` AS `iVouchermark`,`a`.`sVoucherBillNo` AS `sVoucherBillNo`,`a`.`sVoucherBillId` AS `sVoucherBillId`,`a`.`dProductForeignMoney` AS `dProductForeignMoney`,`a`.`sCustomerId` AS `sSupplyId`,`a`.`bInvalid` AS `bInvalid`,`a`.`sSettlementId` AS `sSettlementId` from `cahreceiptmaster` `a`
```

## Narrative

_No human-written narrative yet._
