# `viw_pitproductmoney`（视图）


- **是否可更新：** YES
- **定义者：** `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 | `sFormId` | `varchar(100)` | NO |
| 8 | `sBillNo` | `varchar(255)` | NO |
| 9 | `sMemo` | `text` | YES |
| 10 | `bCheck` | `bit(1)` | NO |
| 11 | `tCheckDate` | `datetime` | YES |
| 12 | `sCheckPerson` | `varchar(255)` | YES |
| 13 | `bPrint` | `bit(1)` | NO |
| 14 | `bCopyLimit` | `bit(1)` | NO |
| 15 | `sStatus` | `varchar(255)` | YES |
| 16 | `bInvalid` | `bit(1)` | NO |
| 17 | `sMReserve1` | `varchar(255)` | YES |
| 18 | `sMReserve2` | `varchar(255)` | YES |
| 19 | `sMReserve3` | `varchar(255)` | YES |
| 20 | `sMReserve4` | `varchar(255)` | YES |
| 21 | `sMReserve5` | `varchar(255)` | YES |
| 22 | `sMReserve6` | `varchar(255)` | YES |
| 23 | `dMReserve1` | `decimal(18,6)` | YES |
| 24 | `dMReserve2` | `decimal(18,6)` | YES |
| 25 | `dMReserve3` | `decimal(18,6)` | YES |
| 26 | `iMReserve1` | `int` | YES |
| 27 | `iMReserve2` | `int` | YES |
| 28 | `iMReserve3` | `int` | YES |
| 29 | `tMReserve1` | `datetime` | YES |
| 30 | `tMReserve2` | `datetime` | YES |
| 31 | `sCostPeriod` | `varchar(255)` | YES |
| 32 | `sSlaveId` | `varchar(100)` | NO |
| 33 | `iSlaveOrder` | `int` | NO |
| 34 | `sProductId` | `varchar(100)` | NO |
| 35 | `sProductStyle` | `varchar(255)` | NO |
| 36 | `dProductQty` | `decimal(18,6)` | NO |
| 37 | `dProductPrice` | `decimal(24,13)` | NO |
| 38 | `dProductMoney` | `decimal(18,6)` | NO |
| 39 | `sSrcSlaveId` | `varchar(100)` | NO |
| 40 | `sSrcId` | `varchar(100)` | NO |
| 41 | `sSrcNo` | `varchar(255)` | NO |
| 42 | `dSrcQty` | `decimal(18,6)` | YES |
| 43 | `sSlaveMemo` | `text` | YES |
| 44 | `sTaxId` | `varchar(100)` | YES |
| 45 | `dProductNoTaxPrice` | `decimal(24,13)` | NO |
| 46 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 47 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 48 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 49 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 50 | `sBarcode` | `varchar(255)` | YES |
| 51 | `sOrderId` | `varchar(100)` | NO |
| 52 | `sOrderNo` | `varchar(255)` | NO |
| 53 | `sWorkOrderId` | `varchar(100)` | NO |
| 54 | `sWorkOrderNo` | `varchar(255)` | NO |
| 55 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 56 | `sSReserve1` | `varchar(255)` | YES |
| 57 | `sSReserve2` | `varchar(255)` | YES |
| 58 | `sSReserve3` | `varchar(255)` | YES |
| 59 | `sSReserve4` | `varchar(255)` | YES |
| 60 | `sSReserve5` | `varchar(255)` | YES |
| 61 | `sSReserve6` | `varchar(255)` | YES |
| 62 | `dSReserve1` | `decimal(18,6)` | YES |
| 63 | `dSReserve2` | `decimal(18,6)` | YES |
| 64 | `dSReserve3` | `decimal(18,6)` | YES |
| 65 | `iSReserve1` | `int` | YES |
| 66 | `iSReserve2` | `int` | YES |
| 67 | `iSReserve3` | `int` | YES |
| 68 | `tSReserve1` | `datetime` | YES |
| 69 | `tSReserve2` | `datetime` | YES |
| 70 | `sDefineNo` | `varchar(255)` | NO |
| 71 | `sDefineNo2` | `varchar(255)` | NO |
| 72 | `sWareHouseId` | `varchar(100)` | NO |
| 73 | `sLocationId` | `varchar(100)` | NO |
| 74 | `sWarehouseLocationId` | `varchar(100)` | NO |
| 75 | `sVoucherBillNo` | `varchar(255)` | NO |
| 76 | `sVoucherBillId` | `varchar(255)` | NO |

## 定义

```sql
select `xlyweberp_saas_ai`.`pitproductmoneymaster`.`sId` AS `sId`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sBrandsId` AS `sBrandsId`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`tCreateDate` AS `tCreateDate`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMakePerson` AS `sMakePerson`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`iOrder` AS `iOrder`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sFormId` AS `sFormId`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sBillNo` AS `sBillNo`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMemo` AS `sMemo`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`bCheck` AS `bCheck`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`tCheckDate` AS `tCheckDate`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sCheckPerson` AS `sCheckPerson`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`bPrint` AS `bPrint`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`bCopyLimit` AS `bCopyLimit`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sStatus` AS `sStatus`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`bInvalid` AS `bInvalid`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMReserve1` AS `sMReserve1`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMReserve2` AS `sMReserve2`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMReserve3` AS `sMReserve3`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMReserve4` AS `sMReserve4`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMReserve5` AS `sMReserve5`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sMReserve6` AS `sMReserve6`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`dMReserve1` AS `dMReserve1`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`dMReserve2` AS `dMReserve2`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`dMReserve3` AS `dMReserve3`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`iMReserve1` AS `iMReserve1`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`iMReserve2` AS `iMReserve2`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`iMReserve3` AS `iMReserve3`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`tMReserve1` AS `tMReserve1`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`tMReserve2` AS `tMReserve2`,`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sCostPeriod` AS `sCostPeriod`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sId` AS `sSlaveId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`iOrder` AS `iSlaveOrder`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sProductId` AS `sProductId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sProductStyle` AS `sProductStyle`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductQty` AS `dProductQty`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductPrice` AS `dProductPrice`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductMoney` AS `dProductMoney`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSrcId` AS `sSrcId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSrcNo` AS `sSrcNo`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dSrcQty` AS `dSrcQty`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSlaveMemo` AS `sSlaveMemo`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sTaxId` AS `sTaxId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sBarcode` AS `sBarcode`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sOrderId` AS `sOrderId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sOrderNo` AS `sOrderNo`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sWorkOrderId` AS `sWorkOrderId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSReserve1` AS `sSReserve1`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSReserve2` AS `sSReserve2`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSReserve3` AS `sSReserve3`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSReserve4` AS `sSReserve4`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSReserve5` AS `sSReserve5`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sSReserve6` AS `sSReserve6`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dSReserve1` AS `dSReserve1`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dSReserve2` AS `dSReserve2`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`dSReserve3` AS `dSReserve3`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`iSReserve1` AS `iSReserve1`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`iSReserve2` AS `iSReserve2`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`iSReserve3` AS `iSReserve3`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`tSReserve1` AS `tSReserve1`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`tSReserve2` AS `tSReserve2`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sDefineNo` AS `sDefineNo`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sDefineNo2` AS `sDefineNo2`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sWareHouseId` AS `sWareHouseId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sLocationId` AS `sLocationId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sWarehouseLocationId` AS `sWarehouseLocationId`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sVoucherBillNo` AS `sVoucherBillNo`,`xlyweberp_saas_ai`.`pitproductmoneyslave`.`sVoucherBillId` AS `sVoucherBillId` from (`xlyweberp_saas_ai`.`pitproductmoneymaster` join `xlyweberp_saas_ai`.`pitproductmoneyslave` on((`xlyweberp_saas_ai`.`pitproductmoneymaster`.`sId` = `xlyweberp_saas_ai`.`pitproductmoneyslave`.`sParentId`)))
```

## 说明

_暂无人工说明。_
