# `viw_accmaterialsinit` (view)


- **Updatable:** YES

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | YES |
| 2 | `sBrandsId` | `varchar(100)` | YES |
| 3 | `sSubsidiaryId` | `varchar(100)` | YES |
| 4 | `tCreateDate` | `datetime` | NO |
| 5 | `sMakePerson` | `varchar(255)` | YES |
| 6 | `sFormId` | `varchar(100)` | YES |
| 7 | `iOrder` | `int` | NO |
| 8 | `sBillNo` | `varchar(255)` | YES |
| 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 | `sEmployeeId` | `varchar(100)` | YES |
| 17 | `bInvalid` | `bit(1)` | NO |
| 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 | `sCostPeriod` | `varchar(100)` | YES |
| 33 | `sConfirmMonth` | `varchar(100)` | YES |
| 34 | `bConfirm` | `bit(1)` | NO |
| 35 | `sSlaveId` | `varchar(100)` | YES |
| 36 | `iSlaveOrder` | `int` | NO |
| 37 | `sSupplyId` | `varchar(100)` | YES |
| 38 | `sMaterialsId` | `varchar(100)` | YES |
| 39 | `sMaterialsStyle` | `varchar(100)` | YES |
| 40 | `dOriginalAuxiliaryQty` | `decimal(18,6)` | NO |
| 41 | `dOriginalQty` | `decimal(18,6)` | NO |
| 42 | `dOriginalMoney` | `decimal(18,6)` | NO |
| 43 | `dAuxiliaryQty` | `decimal(18,6)` | NO |
| 44 | `sAuxiliaryUnit` | `varchar(255)` | YES |
| 45 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 46 | `dConversionQty` | `decimal(18,6)` | NO |
| 47 | `dMaterialsPrice` | `decimal(24,13)` | NO |
| 48 | `dMaterialsMoney` | `decimal(18,6)` | NO |
| 49 | `dProfitLossAuxiliaryQty` | `decimal(18,6)` | YES |
| 50 | `dProfitLossQty` | `decimal(18,6)` | YES |
| 51 | `dProfitLossMoney` | `decimal(18,6)` | YES |
| 52 | `dProfitLossPrice` | `decimal(24,13)` | NO |
| 53 | `sSrcId` | `varchar(100)` | YES |
| 54 | `sSrcSlaveId` | `varchar(100)` | YES |
| 55 | `sSrcNo` | `varchar(255)` | YES |
| 56 | `dSrcQty` | `decimal(18,6)` | YES |
| 57 | `sSlaveMemo` | `text` | YES |
| 58 | `sBarcode` | `varchar(255)` | YES |
| 59 | `sDefineNo` | `varchar(100)` | YES |
| 60 | `sDefineNo2` | `varchar(100)` | YES |
| 61 | `sWareHouseId` | `varchar(100)` | YES |
| 62 | `sLocationId` | `varchar(100)` | YES |
| 63 | `sWareHouseLocationId` | `varchar(100)` | YES |
| 64 | `sSReserve1` | `varchar(255)` | YES |
| 65 | `sSReserve2` | `varchar(255)` | YES |
| 66 | `sSReserve3` | `varchar(255)` | YES |
| 67 | `sSReserve4` | `varchar(255)` | YES |
| 68 | `sSReserve5` | `varchar(255)` | YES |
| 69 | `sSReserve6` | `varchar(255)` | YES |
| 70 | `dSReserve1` | `decimal(18,6)` | YES |
| 71 | `dSReserve2` | `decimal(18,6)` | YES |
| 72 | `dSReserve3` | `decimal(18,6)` | YES |
| 73 | `iSReserve1` | `int` | YES |
| 74 | `iSReserve2` | `int` | YES |
| 75 | `iSReserve3` | `int` | YES |
| 76 | `tSReserve1` | `datetime` | YES |
| 77 | `tSReserve2` | `datetime` | YES |
| 78 | `dInvoiceMoney` | `decimal(18,6)` | NO |

## Definition

```sql
select `accmaterialsinitmaster`.`sId` AS `sId`,`accmaterialsinitmaster`.`sBrandsId` AS `sBrandsId`,`accmaterialsinitmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`accmaterialsinitmaster`.`tCreateDate` AS `tCreateDate`,`accmaterialsinitmaster`.`sMakePerson` AS `sMakePerson`,`accmaterialsinitmaster`.`sFormId` AS `sFormId`,`accmaterialsinitmaster`.`iOrder` AS `iOrder`,`accmaterialsinitmaster`.`sBillNo` AS `sBillNo`,`accmaterialsinitmaster`.`sMemo` AS `sMemo`,`accmaterialsinitmaster`.`bCheck` AS `bCheck`,`accmaterialsinitmaster`.`tCheckDate` AS `tCheckDate`,`accmaterialsinitmaster`.`sCheckPerson` AS `sCheckPerson`,`accmaterialsinitmaster`.`bPrint` AS `bPrint`,`accmaterialsinitmaster`.`bCopyLimit` AS `bCopyLimit`,`accmaterialsinitmaster`.`sStatus` AS `sStatus`,`accmaterialsinitmaster`.`sEmployeeId` AS `sEmployeeId`,`accmaterialsinitmaster`.`bInvalid` AS `bInvalid`,`accmaterialsinitmaster`.`sMReserve1` AS `sMReserve1`,`accmaterialsinitmaster`.`sMReserve2` AS `sMReserve2`,`accmaterialsinitmaster`.`sMReserve3` AS `sMReserve3`,`accmaterialsinitmaster`.`sMReserve4` AS `sMReserve4`,`accmaterialsinitmaster`.`sMReserve5` AS `sMReserve5`,`accmaterialsinitmaster`.`sMReserve6` AS `sMReserve6`,`accmaterialsinitmaster`.`dMReserve1` AS `dMReserve1`,`accmaterialsinitmaster`.`dMReserve2` AS `dMReserve2`,`accmaterialsinitmaster`.`dMReserve3` AS `dMReserve3`,`accmaterialsinitmaster`.`iMReserve1` AS `iMReserve1`,`accmaterialsinitmaster`.`iMReserve2` AS `iMReserve2`,`accmaterialsinitmaster`.`iMReserve3` AS `iMReserve3`,`accmaterialsinitmaster`.`tMReserve1` AS `tMReserve1`,`accmaterialsinitmaster`.`tMReserve2` AS `tMReserve2`,`accmaterialsinitmaster`.`sCostPeriod` AS `sCostPeriod`,`accmaterialsinitmaster`.`sConfirmMonth` AS `sConfirmMonth`,`accmaterialsinitmaster`.`bConfirm` AS `bConfirm`,`accmaterialsinitslave`.`sId` AS `sSlaveId`,`accmaterialsinitslave`.`iOrder` AS `iSlaveOrder`,`accmaterialsinitslave`.`sSupplyId` AS `sSupplyId`,`accmaterialsinitslave`.`sMaterialsId` AS `sMaterialsId`,`accmaterialsinitslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`accmaterialsinitslave`.`dOriginalAuxiliaryQty` AS `dOriginalAuxiliaryQty`,`accmaterialsinitslave`.`dOriginalQty` AS `dOriginalQty`,`accmaterialsinitslave`.`dOriginalMoney` AS `dOriginalMoney`,`accmaterialsinitslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`accmaterialsinitslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`accmaterialsinitslave`.`dMaterialsQty` AS `dMaterialsQty`,`accmaterialsinitslave`.`dConversionQty` AS `dConversionQty`,`accmaterialsinitslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`accmaterialsinitslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`accmaterialsinitslave`.`dProfitLossAuxiliaryQty` AS `dProfitLossAuxiliaryQty`,`accmaterialsinitslave`.`dProfitLossQty` AS `dProfitLossQty`,`accmaterialsinitslave`.`dProfitLossMoney` AS `dProfitLossMoney`,`accmaterialsinitslave`.`dProfitLossPrice` AS `dProfitLossPrice`,`accmaterialsinitslave`.`sSrcId` AS `sSrcId`,`accmaterialsinitslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`accmaterialsinitslave`.`sSrcNo` AS `sSrcNo`,`accmaterialsinitslave`.`dSrcQty` AS `dSrcQty`,`accmaterialsinitslave`.`sSlaveMemo` AS `sSlaveMemo`,`accmaterialsinitslave`.`sBarcode` AS `sBarcode`,`accmaterialsinitslave`.`sDefineNo` AS `sDefineNo`,`accmaterialsinitslave`.`sDefineNo2` AS `sDefineNo2`,`accmaterialsinitslave`.`sWareHouseId` AS `sWareHouseId`,`accmaterialsinitslave`.`sLocationId` AS `sLocationId`,`accmaterialsinitslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`accmaterialsinitslave`.`sSReserve1` AS `sSReserve1`,`accmaterialsinitslave`.`sSReserve2` AS `sSReserve2`,`accmaterialsinitslave`.`sSReserve3` AS `sSReserve3`,`accmaterialsinitslave`.`sSReserve4` AS `sSReserve4`,`accmaterialsinitslave`.`sSReserve5` AS `sSReserve5`,`accmaterialsinitslave`.`sSReserve6` AS `sSReserve6`,`accmaterialsinitslave`.`dSReserve1` AS `dSReserve1`,`accmaterialsinitslave`.`dSReserve2` AS `dSReserve2`,`accmaterialsinitslave`.`dSReserve3` AS `dSReserve3`,`accmaterialsinitslave`.`iSReserve1` AS `iSReserve1`,`accmaterialsinitslave`.`iSReserve2` AS `iSReserve2`,`accmaterialsinitslave`.`iSReserve3` AS `iSReserve3`,`accmaterialsinitslave`.`tSReserve1` AS `tSReserve1`,`accmaterialsinitslave`.`tSReserve2` AS `tSReserve2`,`accmaterialsinitslave`.`dInvoiceMoney` AS `dInvoiceMoney` from (`accmaterialsinitmaster` join `accmaterialsinitslave` on((`accmaterialsinitmaster`.`sId` = `accmaterialsinitslave`.`sParentId`)))
```

## Narrative

_No human-written narrative yet._
