# `viw_cahpaymentmaster` (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 | `sSupplyId` | `varchar(100)` | NO |
| 11 | `sContacts` | `varchar(255)` | YES |
| 12 | `sPhone` | `varchar(255)` | YES |
| 13 | `tDeliverDate` | `datetime` | YES |
| 14 | `sPurchaseId` | `varchar(100)` | NO |
| 15 | `sPurchaseManId` | `varchar(100)` | NO |
| 16 | `dTotalMoney` | `decimal(18,6)` | NO |
| 17 | `sGetPayId` | `varchar(100)` | YES |
| 18 | `tGetPayDate` | `datetime` | YES |
| 19 | `sConsignee` | `varchar(255)` | YES |
| 20 | `sConsigneeMobile` | `varchar(255)` | YES |
| 21 | `sDeliverId` | `varchar(100)` | YES |
| 22 | `sProvince` | `varchar(255)` | YES |
| 23 | `sCity` | `varchar(255)` | YES |
| 24 | `sArea` | `varchar(255)` | YES |
| 25 | `sDeliverTo` | `varchar(255)` | YES |
| 26 | `sManualNo` | `varchar(255)` | 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 | `dAdvanceMoney` | `decimal(18,6)` | NO |
| 34 | `dRealAdvanceMoney` | `decimal(18,6)` | NO |
| 35 | `sCurrency` | `varchar(255)` | YES |
| 36 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 37 | `sStatus` | `varchar(255)` | YES |
| 38 | `bInvalid` | `bit(1)` | NO |
| 39 | `bAdvance` | `bit(1)` | NO |
| 40 | `sSettlementMode` | `varchar(255)` | NO |
| 41 | `sMReserve1` | `varchar(255)` | YES |
| 42 | `sMReserve2` | `varchar(255)` | YES |
| 43 | `sMReserve3` | `varchar(255)` | YES |
| 44 | `sMReserve4` | `varchar(255)` | YES |
| 45 | `sMReserve5` | `varchar(255)` | YES |
| 46 | `sMReserve6` | `varchar(255)` | YES |
| 47 | `dMReserve1` | `decimal(18,6)` | YES |
| 48 | `dMReserve2` | `decimal(18,6)` | YES |
| 49 | `dMReserve3` | `decimal(18,6)` | YES |
| 50 | `iMReserve1` | `int` | YES |
| 51 | `iMReserve2` | `int` | YES |
| 52 | `iMReserve3` | `int` | YES |
| 53 | `tMReserve1` | `datetime` | YES |
| 54 | `tMReserve2` | `datetime` | YES |
| 55 | `iIncrement` | `int` | NO |

## Definition

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

## Narrative

_No human-written narrative yet._
