viw_cahfinancialadjust.md
4.96 KB
viw_cahfinancialadjust (view)
- Updatable: NO
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 | 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 |
Definition
select `cahfinancialadjust`.`sId` AS `sId`,`cahfinancialadjust`.`sBrandsId` AS `sBrandsId`,`cahfinancialadjust`.`sSubsidiaryId` AS `sSubsidiaryId`,`cahfinancialadjust`.`tCreateDate` AS `tCreateDate`,`cahfinancialadjust`.`sMakePerson` AS `sMakePerson`,`cahfinancialadjust`.`iOrder` AS `iOrder`,`cahfinancialadjust`.`sBillNo` AS `sBillNo`,`cahfinancialadjust`.`sFormId` AS `sFormId`,`cahfinancialadjust`.`sBillType` AS `sBillType`,`cahfinancialadjust`.`bInvalid` AS `bInvalid`,`cahfinancialadjust`.`sEmployeeId` AS `sEmployeeId`,`cahfinancialadjust`.`tAdjustDate` AS `tAdjustDate`,if((ifnull(`cahfinancialadjustslave`.`sId`,'') = ''),`cahfinancialadjust`.`dAdjustMoney`,`cahfinancialadjustslave`.`dTotalMoney`) AS `dAdjustMoney`,`cahfinancialadjustslave`.`dInvoiceMoney` AS `dInvoiceMoney`,`cahfinancialadjust`.`dReceiptMoney` AS `dReceiptMoney`,`cahfinancialadjust`.`sFamilyId` AS `sFamilyId`,`cahfinancialadjust`.`sMemo` AS `sMemo`,`cahfinancialadjust`.`sMReserve1` AS `sMReserve1`,`cahfinancialadjust`.`sMReserve2` AS `sMReserve2`,`cahfinancialadjust`.`sMReserve3` AS `sMReserve3`,`cahfinancialadjust`.`sMReserve4` AS `sMReserve4`,`cahfinancialadjust`.`sMReserve5` AS `sMReserve5`,`cahfinancialadjust`.`sMReserve6` AS `sMReserve6`,`cahfinancialadjust`.`dMReserve1` AS `dMReserve1`,`cahfinancialadjust`.`dMReserve2` AS `dMReserve2`,`cahfinancialadjust`.`dMReserve3` AS `dMReserve3`,`cahfinancialadjust`.`iMReserve1` AS `iMReserve1`,`cahfinancialadjust`.`iMReserve2` AS `iMReserve2`,`cahfinancialadjust`.`iMReserve3` AS `iMReserve3`,`cahfinancialadjust`.`tMReserve1` AS `tMReserve1`,`cahfinancialadjust`.`tMReserve2` AS `tMReserve2`,`cahfinancialadjust`.`bCheck` AS `bCheck`,`cahfinancialadjust`.`tCheckDate` AS `tCheckDate`,`cahfinancialadjust`.`sCheckPerson` AS `sCheckPerson`,`cahfinancialadjust`.`bPrint` AS `bPrint`,`cahfinancialadjust`.`bCopyLimit` AS `bCopyLimit`,`cahfinancialadjust`.`sStatus` AS `sStatus`,`cahfinancialadjust`.`bPaymentComplete` AS `bPaymentComplete`,`cahfinancialadjust`.`bReceiptComplete` AS `bReceiptComplete`,`cahfinancialadjust`.`bInvoiceComplete` AS `bInvoiceComplete`,`cahfinancialadjustslave`.`sId` AS `sSlaveId`,`cahfinancialadjustslave`.`sProductId` AS `sProductId`,`cahfinancialadjustslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`cahfinancialadjustslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`cahfinancialadjustslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`cahfinancialadjustslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`cahfinancialadjustslave`.`dProductMoney` AS `dProductMoney`,`cahfinancialadjustslave`.`sTaxId` AS `sTaxId`,`cahfinancialadjustslave`.`iIncrement` AS `iIncrement` from (`cahfinancialadjust` left join `cahfinancialadjustslave` on((`cahfinancialadjust`.`sId` = `cahfinancialadjustslave`.`sParentId`)))
Narrative
No human-written narrative yet.