# `viw_purpurchaseorderreport` (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 | `tCheckDate` | `datetime` | YES |
| 6 | `sMakePerson` | `varchar(255)` | NO |
| 7 | `sCheckPerson` | `varchar(255)` | YES |
| 8 | `iOrder` | `int` | NO |
| 9 | `sFormId` | `varchar(100)` | NO |
| 10 | `sBillNo` | `varchar(255)` | NO |
| 11 | `sSupplyId` | `varchar(100)` | NO |
| 12 | `sStatus` | `varchar(255)` | YES |
| 13 | `bInvalid` | `bit(1)` | NO |
| 14 | `bCheck` | `bit(1)` | NO |
| 15 | `sSlaveId` | `varchar(100)` | NO |
| 16 | `iSlaveOrder` | `int` | NO |
| 17 | `sParentId` | `varchar(100)` | NO |
| 18 | `sMaterialsId` | `varchar(100)` | NO |
| 19 | `sMaterialsStyle` | `varchar(255)` | NO |
| 20 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 21 | `sAuxiliaryUnit` | `varchar(255)` | NO |
| 22 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 23 | `dConversionQty` | `decimal(18,6)` | NO |
| 24 | `dMaterialsPrice` | `decimal(18,6)` | NO |
| 25 | `dOldMaterialsPrice` | `decimal(24,13)` | NO |
| 26 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 27 | `sSlaveMemo` | `text` | YES |
| 28 | `sTaxId` | `varchar(100)` | YES |
| 29 | `dMaterialsNoTaxPrice` | `decimal(18,6)` | YES |
| 30 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 31 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 32 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 33 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 34 | `iIncrement` | `int` | NO |
| 35 | `bVMI` | `bit(1)` | YES |
| 36 | `sMemo` | `text` | YES |
| 37 | `dBusinessPrice` | `decimal(18,6)` | YES |
| 38 | `dOldMaterialsMoney` | `decimal(18,6)` | YES |

## Definition

```sql
select `purpurchaseordermaster`.`sId` AS `sId`,`purpurchaseordermaster`.`sBrandsId` AS `sBrandsId`,`purpurchaseordermaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`purpurchaseordermaster`.`tCreateDate` AS `tCreateDate`,`purpurchaseordermaster`.`tCheckDate` AS `tCheckDate`,`purpurchaseordermaster`.`sMakePerson` AS `sMakePerson`,`purpurchaseordermaster`.`sCheckPerson` AS `sCheckPerson`,`purpurchaseordermaster`.`iOrder` AS `iOrder`,`purpurchaseordermaster`.`sFormId` AS `sFormId`,`purpurchaseordermaster`.`sBillNo` AS `sBillNo`,`purpurchaseordermaster`.`sSupplyId` AS `sSupplyId`,`purpurchaseordermaster`.`sStatus` AS `sStatus`,`purpurchaseordermaster`.`bInvalid` AS `bInvalid`,`purpurchaseordermaster`.`bCheck` AS `bCheck`,`purpurchaseorderslave`.`sId` AS `sSlaveId`,`purpurchaseorderslave`.`iOrder` AS `iSlaveOrder`,`purpurchaseorderslave`.`sParentId` AS `sParentId`,`purpurchaseorderslave`.`sMaterialsId` AS `sMaterialsId`,`purpurchaseorderslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`purpurchaseorderslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`purpurchaseorderslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`purpurchaseorderslave`.`dMaterialsQty` AS `dMaterialsQty`,`purpurchaseorderslave`.`dConversionQty` AS `dConversionQty`,`purpurchaseorderslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`purpurchaseorderslave`.`dOldMaterialsPrice` AS `dOldMaterialsPrice`,`purpurchaseorderslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`purpurchaseorderslave`.`sSlaveMemo` AS `sSlaveMemo`,`purpurchaseorderslave`.`sTaxId` AS `sTaxId`,`purpurchaseorderslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`purpurchaseorderslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`purpurchaseorderslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`purpurchaseorderslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`purpurchaseorderslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`purpurchaseorderslave`.`iIncrement` AS `iIncrement`,`purpurchaseorderslave`.`bVMI` AS `bVMI`,`purpurchaseordermaster`.`sMemo` AS `sMemo`,`purpurchaseorderslave`.`dBusinessPrice` AS `dBusinessPrice`,`purpurchaseorderslave`.`dOldMaterialsMoney` AS `dOldMaterialsMoney` from (`purpurchaseordermaster` join `purpurchaseorderslave` on((`purpurchaseorderslave`.`sParentId` = `purpurchaseordermaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
