# `viw_elematerials` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `iIncrement` | `int` | NO |
| 2 | `sId` | `varchar(50)` | NO |
| 3 | `sSlaveId` | `varchar(50)` | NO |
| 4 | `sBrandsId` | `varchar(50)` | NO |
| 5 | `sSubsidiaryId` | `varchar(50)` | NO |
| 6 | `tCreateDate` | `datetime` | NO |
| 7 | `sMakePerson` | `varchar(50)` | NO |
| 8 | `iOrder` | `int` | NO |
| 9 | `sParentId` | `varchar(50)` | YES |
| 10 | `sMaterialsType` | `varchar(50)` | YES |
| 11 | `sMaterialsNo` | `varchar(50)` | NO |
| 12 | `sMaterialsName` | `varchar(100)` | NO |
| 13 | `sMaterialsShort` | `varchar(50)` | YES |
| 14 | `sMaterialsUnit` | `varchar(50)` | YES |
| 15 | `sAuxiliaryUnit` | `varchar(6)` | NO |
| 16 | `dCoefficient` | `decimal(18,6)` | YES |
| 17 | `sConversionUnit` | `varchar(50)` | YES |
| 18 | `sComputeId` | `varchar(50)` | YES |
| 19 | `bInverse` | `bit(1)` | NO |
| 20 | `sReComputeId` | `varchar(50)` | YES |
| 21 | `sAutoComputeId` | `varchar(50)` | YES |
| 22 | `sConversionComputeId` | `varchar(50)` | YES |
| 23 | `sReConversionComputeId` | `varchar(50)` | YES |
| 24 | `dGramWeight` | `decimal(18,6)` | YES |
| 25 | `bPurchase` | `bit(1)` | NO |
| 26 | `bReel` | `bit(1)` | NO |
| 27 | `bSales` | `bit(1)` | NO |
| 28 | `bCorrugate` | `bit(1)` | NO |
| 29 | `dPurchasePrice` | `decimal(18,6)` | YES |
| 30 | `dSalesPrice` | `decimal(18,6)` | YES |
| 31 | `dRecentPurchasePrice` | `decimal(18,6)` | YES |
| 32 | `dDesignateSalesPrice` | `decimal(18,6)` | YES |
| 33 | `dProcurementCycle` | `decimal(18,6)` | YES |
| 34 | `sSupplyId` | `varchar(50)` | YES |
| 35 | `bCheck` | `bit(1)` | NO |
| 36 | `bInvalid` | `bit(1)` | NO |
| 37 | `sMemo` | `text` | YES |
| 38 | `sMReserve1` | `varchar(50)` | YES |
| 39 | `sMReserve2` | `varchar(50)` | YES |
| 40 | `sMReserve3` | `varchar(50)` | YES |
| 41 | `sMReserve4` | `varchar(50)` | YES |
| 42 | `sMReserve5` | `varchar(50)` | YES |
| 43 | `sMReserve6` | `varchar(50)` | YES |
| 44 | `dMReserve1` | `decimal(18,6)` | YES |
| 45 | `dMReserve2` | `decimal(18,6)` | YES |
| 46 | `dMReserve3` | `decimal(18,6)` | YES |
| 47 | `iMReserve1` | `int` | YES |
| 48 | `iMReserve2` | `int` | YES |
| 49 | `iMReserve3` | `int` | YES |
| 50 | `tMReserve1` | `datetime` | YES |
| 51 | `tMReserve2` | `datetime` | YES |
| 52 | `bComMaterials` | `bit(1)` | NO |
| 53 | `iTestType` | `int` | NO |
| 54 | `sTestStandardId` | `varchar(50)` | YES |
| 55 | `dGuarantee` | `decimal(18,6)` | NO |
| 56 | `sICP` | `varchar(50)` | NO |
| 57 | `tICPLimitDate` | `datetime` | YES |
| 58 | `sStorageLocatLabel` | `varchar(50)` | NO |
| 59 | `bIsHomemade` | `bit(1)` | NO |
| 60 | `sQuotationMoneyComputeId` | `varchar(50)` | NO |
| 61 | `bQuotation` | `bit(1)` | NO |
| 62 | `sAccountNo` | `varchar(50)` | NO |
| 63 | `bAutoCalcKQty` | `bit(1)` | NO |
| 64 | `sPurchaseMode` | `varchar(50)` | NO |
| 65 | `bBidding` | `bit(1)` | NO |
| 66 | `bAssessment` | `bit(1)` | NO |
| 67 | `bBomMaterials` | `bit(1)` | NO |
| 68 | `bWarranty` | `bit(1)` | NO |
| 69 | `bBatch` | `bit(1)` | NO |
| 70 | `bTurnover` | `bit(1)` | NO |
| 71 | `bFocus` | `bit(1)` | NO |
| 72 | `bQuoted` | `bit(1)` | NO |
| 73 | `bCustoms` | `bit(1)` | NO |
| 74 | `sMinPackUint` | `varchar(50)` | NO |
| 75 | `dMinPackQty` | `decimal(18,6)` | NO |
| 76 | `bFSC` | `bit(1)` | NO |
| 77 | `sBrand` | `varchar(50)` | YES |
| 78 | `sOldNo` | `varchar(50)` | YES |
| 79 | `dThickness` | `decimal(18,6)` | YES |
| 80 | `bGreenPrint` | `bit(1)` | NO |
| 81 | `sCostFrameId` | `varchar(50)` | NO |
| 82 | `dGuidePrice` | `decimal(24,13)` | NO |
| 83 | `sOneId` | `varchar(255)` | YES |
| 84 | `sTwoId` | `varchar(255)` | YES |
| 85 | `sThreeId` | `varchar(255)` | YES |
| 86 | `sFourId` | `varchar(255)` | YES |
| 87 | `sFiveId` | `varchar(255)` | YES |
| 88 | `sOneParentId` | `varchar(100)` | YES |
| 89 | `sOneParentName` | `varchar(50)` | YES |
| 90 | `sTwoParentId` | `varchar(100)` | YES |
| 91 | `sTwoParentName` | `varchar(50)` | YES |
| 92 | `tCheckDate` | `datetime` | YES |
| 93 | `sCheckPerson` | `varchar(50)` | YES |
| 94 | `sStatus` | `varchar(5)` | YES |
| 95 | `iAssort` | `int` | YES |
| 96 | `iLineWareHouse` | `int` | YES |
| 97 | `iAlways` | `int` | YES |
| 98 | `sOldMaterialsNo` | `varchar(50)` | NO |
| 99 | `iMetre` | `int` | YES |
| 100 | `iImputation` | `int` | YES |

## Definition

```sql
select `elematerials`.`iIncrement` AS `iIncrement`,`elematerials`.`sId` AS `sId`,`elematerials`.`sId` AS `sSlaveId`,`elematerials`.`sBrandsId` AS `sBrandsId`,`elematerials`.`sSubsidiaryId` AS `sSubsidiaryId`,`elematerials`.`tCreateDate` AS `tCreateDate`,`elematerials`.`sMakePerson` AS `sMakePerson`,`elematerials`.`iOrder` AS `iOrder`,`elematerials`.`sParentId` AS `sParentId`,`elematerials`.`sMaterialsType` AS `sMaterialsType`,`elematerials`.`sMaterialsNo` AS `sMaterialsNo`,`elematerials`.`sMaterialsName` AS `sMaterialsName`,`elematerials`.`sMaterialsShort` AS `sMaterialsShort`,`elematerials`.`sMaterialsUnit` AS `sMaterialsUnit`,`elematerials`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`elematerials`.`dCoefficient` AS `dCoefficient`,`elematerials`.`sConversionUnit` AS `sConversionUnit`,`elematerials`.`sComputeId` AS `sComputeId`,`elematerials`.`bInverse` AS `bInverse`,`elematerials`.`sReComputeId` AS `sReComputeId`,`elematerials`.`sAutoComputeId` AS `sAutoComputeId`,`elematerials`.`sConversionComputeId` AS `sConversionComputeId`,`elematerials`.`sReConversionComputeId` AS `sReConversionComputeId`,`elematerials`.`dGramWeight` AS `dGramWeight`,`elematerials`.`bPurchase` AS `bPurchase`,`elematerials`.`bReel` AS `bReel`,`elematerials`.`bSales` AS `bSales`,`elematerials`.`bCorrugate` AS `bCorrugate`,`elematerials`.`dPurchasePrice` AS `dPurchasePrice`,`elematerials`.`dSalesPrice` AS `dSalesPrice`,`elematerials`.`dRecentPurchasePrice` AS `dRecentPurchasePrice`,`elematerials`.`dDesignateSalesPrice` AS `dDesignateSalesPrice`,`elematerials`.`dProcurementCycle` AS `dProcurementCycle`,`elematerials`.`sSupplyId` AS `sSupplyId`,`elematerials`.`bCheck` AS `bCheck`,`elematerials`.`bInvalid` AS `bInvalid`,`elematerials`.`sMemo` AS `sMemo`,`elematerials`.`sMReserve1` AS `sMReserve1`,`elematerials`.`sMReserve2` AS `sMReserve2`,`elematerials`.`sMReserve3` AS `sMReserve3`,`elematerials`.`sMReserve4` AS `sMReserve4`,`elematerials`.`sMReserve5` AS `sMReserve5`,`elematerials`.`sMReserve6` AS `sMReserve6`,`elematerials`.`dMReserve1` AS `dMReserve1`,`elematerials`.`dMReserve2` AS `dMReserve2`,`elematerials`.`dMReserve3` AS `dMReserve3`,`elematerials`.`iMReserve1` AS `iMReserve1`,`elematerials`.`iMReserve2` AS `iMReserve2`,`elematerials`.`iMReserve3` AS `iMReserve3`,`elematerials`.`tMReserve1` AS `tMReserve1`,`elematerials`.`tMReserve2` AS `tMReserve2`,`elematerials`.`bComMaterials` AS `bComMaterials`,`elematerials`.`iTestType` AS `iTestType`,`elematerials`.`sTestStandardId` AS `sTestStandardId`,`elematerials`.`dGuarantee` AS `dGuarantee`,`elematerials`.`sICP` AS `sICP`,`elematerials`.`tICPLimitDate` AS `tICPLimitDate`,`elematerials`.`sStorageLocatLabel` AS `sStorageLocatLabel`,`elematerials`.`bIsHomemade` AS `bIsHomemade`,`elematerials`.`sQuotationMoneyComputeId` AS `sQuotationMoneyComputeId`,`elematerials`.`bQuotation` AS `bQuotation`,`elematerials`.`sAccountNo` AS `sAccountNo`,`elematerials`.`bAutoCalcKQty` AS `bAutoCalcKQty`,`elematerials`.`sPurchaseMode` AS `sPurchaseMode`,`elematerials`.`bBidding` AS `bBidding`,`elematerials`.`bAssessment` AS `bAssessment`,`elematerials`.`bBomMaterials` AS `bBomMaterials`,`elematerials`.`bWarranty` AS `bWarranty`,`elematerials`.`bBatch` AS `bBatch`,`elematerials`.`bTurnover` AS `bTurnover`,`elematerials`.`bFocus` AS `bFocus`,`elematerials`.`bQuoted` AS `bQuoted`,`elematerials`.`bCustoms` AS `bCustoms`,`elematerials`.`sMinPackUint` AS `sMinPackUint`,`elematerials`.`dMinPackQty` AS `dMinPackQty`,`elematerials`.`bFSC` AS `bFSC`,`elematerials`.`sBrand` AS `sBrand`,`elematerials`.`sOldNo` AS `sOldNo`,`elematerials`.`dThickness` AS `dThickness`,`elematerials`.`bGreenPrint` AS `bGreenPrint`,`elematerials`.`sCostFrameId` AS `sCostFrameId`,`elematerials`.`dGuidePrice` AS `dGuidePrice`,`elematerials`.`sOneId` AS `sOneId`,`elematerials`.`sTwoId` AS `sTwoId`,`elematerials`.`sThreeId` AS `sThreeId`,`elematerials`.`sFourId` AS `sFourId`,`elematerials`.`sFiveId` AS `sFiveId`,`elematerials`.`sOneParentId` AS `sOneParentId`,`elematerials`.`sOneParentName` AS `sOneParentName`,`elematerials`.`sTwoParentId` AS `sTwoParentId`,`elematerials`.`sTwoParentName` AS `sTwoParentName`,`elematerials`.`tCheckDate` AS `tCheckDate`,`elematerials`.`sCheckPerson` AS `sCheckPerson`,`elematerials`.`sStatus` AS `sStatus`,`elematerials`.`iAssort` AS `iAssort`,`elematerials`.`iLineWareHouse` AS `iLineWareHouse`,`elematerials`.`iAlways` AS `iAlways`,`elematerials`.`sOldMaterialsNo` AS `sOldMaterialsNo`,`elematerials`.`iMetre` AS `iMetre`,`elematerials`.`iImputation` AS `iImputation` from `elematerials`
```

## Narrative

_No human-written narrative yet._
