# `viw_cahreceiptmaster` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 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 | `sFormId` | `varchar(100)` | NO |
| 8 | `sBillType` | `varchar(255)` | NO |
| 9 | `sBillNo` | `varchar(255)` | NO |
| 10 | `sCustomerId` | `varchar(100)` | NO |
| 11 | `sContacts` | `varchar(255)` | YES |
| 12 | `sPhone` | `varchar(255)` | YES |
| 13 | `tProofingDate` | `datetime` | YES |
| 14 | `tDeliverDate` | `datetime` | YES |
| 15 | `sSalesManId` | `varchar(100)` | YES |
| 16 | `sGetPayId` | `varchar(100)` | YES |
| 17 | `tGetPayDate` | `datetime` | YES |
| 18 | `sConsignee` | `varchar(255)` | YES |
| 19 | `sConsigneeMobile` | `varchar(255)` | YES |
| 20 | `sDeliverId` | `varchar(100)` | YES |
| 21 | `sProvince` | `varchar(255)` | YES |
| 22 | `sCity` | `varchar(255)` | YES |
| 23 | `sArea` | `varchar(255)` | YES |
| 24 | `sDeliverTo` | `varchar(255)` | YES |
| 25 | `sManualNo` | `varchar(255)` | YES |
| 26 | `sCustomerOrderNo` | `varchar(11)` | YES |
| 27 | `sMemo` | `text` | YES |
| 28 | `bCheck` | `bit(1)` | NO |
| 29 | `tCheckDate` | `datetime` | YES |
| 30 | `sCheckPerson` | `varchar(255)` | YES |
| 31 | `bPrint` | `bit(1)` | NO |
| 32 | `bCopyLimit` | `bit(1)` | NO |
| 33 | `dTotalMoney` | `decimal(18,6)` | NO |
| 34 | `dAdvanceMoney` | `decimal(18,6)` | NO |
| 35 | `tAdvanceDate` | `datetime` | YES |
| 36 | `dRealAdvanceMoney` | `decimal(18,6)` | NO |
| 37 | `sCurrency` | `varchar(255)` | YES |
| 38 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 39 | `sStatus` | `varchar(255)` | YES |
| 40 | `bInvalid` | `bit(1)` | NO |
| 41 | `sSalesId` | `varchar(100)` | NO |
| 42 | `bAdvance` | `bit(1)` | NO |
| 43 | `sSettlementMode` | `varchar(255)` | NO |
| 44 | `sMReserve1` | `varchar(255)` | YES |
| 45 | `sMReserve2` | `varchar(255)` | YES |
| 46 | `sMReserve3` | `varchar(255)` | YES |
| 47 | `sMReserve4` | `varchar(255)` | YES |
| 48 | `sMReserve5` | `varchar(255)` | YES |
| 49 | `sMReserve6` | `varchar(255)` | YES |
| 50 | `dMReserve1` | `decimal(18,6)` | YES |
| 51 | `dMReserve2` | `decimal(18,6)` | YES |
| 52 | `dMReserve3` | `decimal(18,6)` | YES |
| 53 | `iMReserve1` | `int` | YES |
| 54 | `iMReserve2` | `int` | YES |
| 55 | `iMReserve3` | `int` | YES |
| 56 | `tMReserve1` | `datetime` | YES |
| 57 | `tMReserve2` | `datetime` | YES |
| 58 | `dSumRoundingMoney` | `decimal(40,6)` | YES |
| 59 | `dSumTotalMoney` | `decimal(40,6)` | YES |
| 60 | `iIncrement` | `int` | NO |

## Definition

```sql
select `cahreceiptmaster`.`sId` AS `sId`,`cahreceiptmaster`.`sBrandsId` AS `sBrandsId`,`cahreceiptmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`cahreceiptmaster`.`tCreateDate` AS `tCreateDate`,`cahreceiptmaster`.`sMakePerson` AS `sMakePerson`,`cahreceiptmaster`.`iOrder` AS `iOrder`,`cahreceiptmaster`.`sFormId` AS `sFormId`,`cahreceiptmaster`.`sBillType` AS `sBillType`,`cahreceiptmaster`.`sBillNo` AS `sBillNo`,`cahreceiptmaster`.`sCustomerId` AS `sCustomerId`,`cahreceiptmaster`.`sContacts` AS `sContacts`,`cahreceiptmaster`.`sPhone` AS `sPhone`,`cahreceiptmaster`.`tProofingDate` AS `tProofingDate`,`cahreceiptmaster`.`tDeliverDate` AS `tDeliverDate`,`cahreceiptmaster`.`sSalesManId` AS `sSalesManId`,`cahreceiptmaster`.`sGetPayId` AS `sGetPayId`,`cahreceiptmaster`.`tGetPayDate` AS `tGetPayDate`,`cahreceiptmaster`.`sConsignee` AS `sConsignee`,`cahreceiptmaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`cahreceiptmaster`.`sDeliverId` AS `sDeliverId`,`cahreceiptmaster`.`sProvince` AS `sProvince`,`cahreceiptmaster`.`sCity` AS `sCity`,`cahreceiptmaster`.`sArea` AS `sArea`,`cahreceiptmaster`.`sDeliverTo` AS `sDeliverTo`,`cahreceiptmaster`.`sManualNo` AS `sManualNo`,`cahreceiptmaster`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`cahreceiptmaster`.`sMemo` AS `sMemo`,`cahreceiptmaster`.`bCheck` AS `bCheck`,`cahreceiptmaster`.`tCheckDate` AS `tCheckDate`,`cahreceiptmaster`.`sCheckPerson` AS `sCheckPerson`,`cahreceiptmaster`.`bPrint` AS `bPrint`,`cahreceiptmaster`.`bCopyLimit` AS `bCopyLimit`,`cahreceiptmaster`.`dTotalMoney` AS `dTotalMoney`,`cahreceiptmaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`cahreceiptmaster`.`tAdvanceDate` AS `tAdvanceDate`,`cahreceiptmaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`cahreceiptmaster`.`sCurrency` AS `sCurrency`,`cahreceiptmaster`.`dCurrencyRate` AS `dCurrencyRate`,`cahreceiptmaster`.`sStatus` AS `sStatus`,`cahreceiptmaster`.`bInvalid` AS `bInvalid`,`cahreceiptmaster`.`sSalesId` AS `sSalesId`,`cahreceiptmaster`.`bAdvance` AS `bAdvance`,`cahreceiptmaster`.`sSettlementMode` AS `sSettlementMode`,`cahreceiptmaster`.`sMReserve1` AS `sMReserve1`,`cahreceiptmaster`.`sMReserve2` AS `sMReserve2`,`cahreceiptmaster`.`sMReserve3` AS `sMReserve3`,`cahreceiptmaster`.`sMReserve4` AS `sMReserve4`,`cahreceiptmaster`.`sMReserve5` AS `sMReserve5`,`cahreceiptmaster`.`sMReserve6` AS `sMReserve6`,`cahreceiptmaster`.`dMReserve1` AS `dMReserve1`,`cahreceiptmaster`.`dMReserve2` AS `dMReserve2`,`cahreceiptmaster`.`dMReserve3` AS `dMReserve3`,`cahreceiptmaster`.`iMReserve1` AS `iMReserve1`,`cahreceiptmaster`.`iMReserve2` AS `iMReserve2`,`cahreceiptmaster`.`iMReserve3` AS `iMReserve3`,`cahreceiptmaster`.`tMReserve1` AS `tMReserve1`,`cahreceiptmaster`.`tMReserve2` AS `tMReserve2`,`b`.`dSumRoundingMoney` AS `dSumRoundingMoney`,`b`.`dSumTotalMoney` AS `dSumTotalMoney`,`cahreceiptmaster`.`iIncrement` AS `iIncrement` from (`cahreceiptmaster` join `viw_1cahreceiptslavesum` `b` on((`b`.`sparentid` = `cahreceiptmaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
