# `viw_opsoutsideinvoice` (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 | `sFormId` | `varchar(100)` | NO |
| 8 | `sBillNo` | `varchar(255)` | NO |
| 9 | `sSupplyId` | `varchar(100)` | NO |
| 10 | `sContacts` | `varchar(255)` | YES |
| 11 | `sPhone` | `varchar(255)` | YES |
| 12 | `tDeliverDate` | `datetime` | YES |
| 13 | `sPurchaseManId` | `varchar(100)` | YES |
| 14 | `sGetPayId` | `varchar(100)` | YES |
| 15 | `tGetPayDate` | `datetime` | YES |
| 16 | `sConsignee` | `varchar(255)` | YES |
| 17 | `sConsigneeMobile` | `varchar(255)` | YES |
| 18 | `sDeliverId` | `varchar(100)` | YES |
| 19 | `sProvince` | `varchar(255)` | YES |
| 20 | `sCity` | `varchar(255)` | YES |
| 21 | `sArea` | `varchar(255)` | YES |
| 22 | `sDeliverTo` | `varchar(255)` | YES |
| 23 | `sManualNo` | `varchar(255)` | YES |
| 24 | `sMemo` | `text` | YES |
| 25 | `bCheck` | `bit(1)` | NO |
| 26 | `tCheckDate` | `datetime` | YES |
| 27 | `sCheckPerson` | `varchar(255)` | YES |
| 28 | `bPrint` | `bit(1)` | NO |
| 29 | `bCopyLimit` | `bit(1)` | NO |
| 30 | `sCurrency` | `varchar(255)` | YES |
| 31 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 32 | `sStatus` | `varchar(255)` | YES |
| 33 | `bInvalid` | `bit(1)` | NO |
| 34 | `sMReserve1` | `varchar(255)` | YES |
| 35 | `sMReserve2` | `varchar(255)` | YES |
| 36 | `sMReserve3` | `varchar(255)` | YES |
| 37 | `sMReserve4` | `varchar(255)` | YES |
| 38 | `sMReserve5` | `varchar(255)` | YES |
| 39 | `sMReserve6` | `varchar(255)` | YES |
| 40 | `dMReserve1` | `decimal(18,6)` | YES |
| 41 | `dMReserve2` | `decimal(18,6)` | YES |
| 42 | `dMReserve3` | `decimal(18,6)` | YES |
| 43 | `iMReserve1` | `int` | YES |
| 44 | `iMReserve2` | `int` | YES |
| 45 | `iMReserve3` | `int` | YES |
| 46 | `tMReserve1` | `datetime` | YES |
| 47 | `tMReserve2` | `datetime` | YES |
| 48 | `iVouchermark` | `int` | YES |
| 49 | `bAdvance` | `bit(1)` | NO |
| 50 | `sSlaveId` | `varchar(100)` | YES |
| 51 | `iSlaveOrder` | `int` | YES |
| 52 | `sMaterialsId` | `varchar(100)` | YES |
| 53 | `sMaterialsStyle` | `varchar(255)` | YES |
| 54 | `dAuxiliaryQty` | `decimal(18,6)` | YES |
| 55 | `sAuxiliaryUnit` | `varchar(255)` | YES |
| 56 | `dMaterialsQty` | `decimal(18,6)` | YES |
| 57 | `dConversionQty` | `decimal(18,6)` | YES |
| 58 | `dMaterialsPrice` | `decimal(18,6)` | YES |
| 59 | `dMaterialsMoney` | `decimal(18,6)` | YES |
| 60 | `sSrcSlaveId` | `varchar(100)` | YES |
| 61 | `sSrcId` | `varchar(100)` | YES |
| 62 | `sSrcNo` | `varchar(255)` | YES |
| 63 | `dSrcQty` | `decimal(18,6)` | YES |
| 64 | `sSlaveMemo` | `text` | YES |
| 65 | `sTaxId` | `varchar(100)` | YES |
| 66 | `dMaterialsNoTaxPrice` | `decimal(18,6)` | YES |
| 67 | `dMaterialsNoTaxMoney` | `decimal(18,6)` | YES |
| 68 | `dMaterialsTaxMoney` | `decimal(18,6)` | YES |
| 69 | `dMaterialsTaxForeignMoney` | `decimal(18,6)` | YES |
| 70 | `dMaterialsForeignMoney` | `decimal(18,6)` | YES |
| 71 | `sBarcode` | `varchar(255)` | YES |
| 72 | `sOrderId` | `varchar(100)` | YES |
| 73 | `sOrderNo` | `varchar(255)` | YES |
| 74 | `sWorkOrderId` | `varchar(100)` | YES |
| 75 | `sWorkOrderNo` | `varchar(255)` | YES |
| 76 | `sWorkOrderControlId` | `varchar(100)` | YES |
| 77 | `dPayMoney` | `decimal(18,6)` | YES |
| 78 | `sSReserve1` | `varchar(255)` | YES |
| 79 | `sSReserve2` | `varchar(255)` | YES |
| 80 | `sSReserve3` | `varchar(255)` | YES |
| 81 | `sSReserve4` | `varchar(255)` | YES |
| 82 | `sSReserve5` | `varchar(255)` | YES |
| 83 | `sSReserve6` | `varchar(255)` | YES |
| 84 | `dSReserve1` | `decimal(18,6)` | YES |
| 85 | `dSReserve2` | `decimal(18,6)` | YES |
| 86 | `dSReserve3` | `decimal(18,6)` | YES |
| 87 | `iSReserve1` | `int` | YES |
| 88 | `iSReserve2` | `int` | YES |
| 89 | `iSReserve3` | `int` | YES |
| 90 | `tSReserve1` | `datetime` | YES |
| 91 | `tSReserve2` | `datetime` | YES |
| 92 | `sWorkOrderMaterialsTbId` | `varchar(100)` | YES |
| 93 | `sWorkOrderProcessTbId` | `varchar(100)` | YES |
| 94 | `sWorkOrderSlaveId` | `varchar(100)` | YES |
| 95 | `sOrderSlaveId` | `varchar(100)` | YES |
| 96 | `sCustomerId` | `varchar(100)` | YES |
| 97 | `sProductId` | `varchar(100)` | YES |
| 98 | `sProcessId` | `varchar(100)` | YES |
| 99 | `sWebOrderNo` | `varchar(255)` | YES |
| 100 | `sWebOrderId` | `varchar(100)` | YES |
| 101 | `iIncrement` | `int` | YES |
| 102 | `bPaymentComplete` | `bit(1)` | YES |
| 103 | `dTotalMoney` | `decimal(18,6)` | YES |
| 104 | `sInvoiceNo` | `varchar(255)` | YES |
| 105 | `sSrcFormId` | `varchar(100)` | YES |

## Definition

```sql
select `opsoutsideinvoicemaster`.`sId` AS `sId`,`opsoutsideinvoicemaster`.`sBrandsId` AS `sBrandsId`,`opsoutsideinvoicemaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`opsoutsideinvoicemaster`.`tCreateDate` AS `tCreateDate`,`opsoutsideinvoicemaster`.`sMakePerson` AS `sMakePerson`,`opsoutsideinvoicemaster`.`iOrder` AS `iOrder`,`opsoutsideinvoicemaster`.`sFormId` AS `sFormId`,`opsoutsideinvoicemaster`.`sBillNo` AS `sBillNo`,`opsoutsideinvoicemaster`.`sSupplyId` AS `sSupplyId`,`opsoutsideinvoicemaster`.`sContacts` AS `sContacts`,`opsoutsideinvoicemaster`.`sPhone` AS `sPhone`,`opsoutsideinvoicemaster`.`tDeliverDate` AS `tDeliverDate`,`opsoutsideinvoicemaster`.`sPurchaseManId` AS `sPurchaseManId`,`opsoutsideinvoicemaster`.`sGetPayId` AS `sGetPayId`,`opsoutsideinvoicemaster`.`tGetPayDate` AS `tGetPayDate`,`opsoutsideinvoicemaster`.`sConsignee` AS `sConsignee`,`opsoutsideinvoicemaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`opsoutsideinvoicemaster`.`sDeliverId` AS `sDeliverId`,`opsoutsideinvoicemaster`.`sProvince` AS `sProvince`,`opsoutsideinvoicemaster`.`sCity` AS `sCity`,`opsoutsideinvoicemaster`.`sArea` AS `sArea`,`opsoutsideinvoicemaster`.`sDeliverTo` AS `sDeliverTo`,`opsoutsideinvoicemaster`.`sManualNo` AS `sManualNo`,`opsoutsideinvoicemaster`.`sMemo` AS `sMemo`,`opsoutsideinvoicemaster`.`bCheck` AS `bCheck`,`opsoutsideinvoicemaster`.`tCheckDate` AS `tCheckDate`,`opsoutsideinvoicemaster`.`sCheckPerson` AS `sCheckPerson`,`opsoutsideinvoicemaster`.`bPrint` AS `bPrint`,`opsoutsideinvoicemaster`.`bCopyLimit` AS `bCopyLimit`,`opsoutsideinvoicemaster`.`sCurrency` AS `sCurrency`,`opsoutsideinvoicemaster`.`dCurrencyRate` AS `dCurrencyRate`,`opsoutsideinvoicemaster`.`sStatus` AS `sStatus`,`opsoutsideinvoicemaster`.`bInvalid` AS `bInvalid`,`opsoutsideinvoicemaster`.`sMReserve1` AS `sMReserve1`,`opsoutsideinvoicemaster`.`sMReserve2` AS `sMReserve2`,`opsoutsideinvoicemaster`.`sMReserve3` AS `sMReserve3`,`opsoutsideinvoicemaster`.`sMReserve4` AS `sMReserve4`,`opsoutsideinvoicemaster`.`sMReserve5` AS `sMReserve5`,`opsoutsideinvoicemaster`.`sMReserve6` AS `sMReserve6`,`opsoutsideinvoicemaster`.`dMReserve1` AS `dMReserve1`,`opsoutsideinvoicemaster`.`dMReserve2` AS `dMReserve2`,`opsoutsideinvoicemaster`.`dMReserve3` AS `dMReserve3`,`opsoutsideinvoicemaster`.`iMReserve1` AS `iMReserve1`,`opsoutsideinvoicemaster`.`iMReserve2` AS `iMReserve2`,`opsoutsideinvoicemaster`.`iMReserve3` AS `iMReserve3`,`opsoutsideinvoicemaster`.`tMReserve1` AS `tMReserve1`,`opsoutsideinvoicemaster`.`tMReserve2` AS `tMReserve2`,`opsoutsideinvoicemaster`.`iVouchermark` AS `iVouchermark`,`opsoutsideinvoicemaster`.`bAdvance` AS `bAdvance`,`opsoutsideinvoiceslave`.`sId` AS `sSlaveId`,`opsoutsideinvoiceslave`.`iOrder` AS `iSlaveOrder`,`opsoutsideinvoiceslave`.`sMaterialsId` AS `sMaterialsId`,`opsoutsideinvoiceslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`opsoutsideinvoiceslave`.`dAuxiliaryQty` AS `dAuxiliaryQty`,`opsoutsideinvoiceslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`opsoutsideinvoiceslave`.`dMaterialsQty` AS `dMaterialsQty`,`opsoutsideinvoiceslave`.`dConversionQty` AS `dConversionQty`,`opsoutsideinvoiceslave`.`dMaterialsPrice` AS `dMaterialsPrice`,`opsoutsideinvoiceslave`.`dMaterialsMoney` AS `dMaterialsMoney`,`opsoutsideinvoiceslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`opsoutsideinvoiceslave`.`sSrcId` AS `sSrcId`,`opsoutsideinvoiceslave`.`sSrcNo` AS `sSrcNo`,`opsoutsideinvoiceslave`.`dSrcQty` AS `dSrcQty`,`opsoutsideinvoiceslave`.`sSlaveMemo` AS `sSlaveMemo`,`opsoutsideinvoiceslave`.`sTaxId` AS `sTaxId`,`opsoutsideinvoiceslave`.`dMaterialsNoTaxPrice` AS `dMaterialsNoTaxPrice`,`opsoutsideinvoiceslave`.`dMaterialsNoTaxMoney` AS `dMaterialsNoTaxMoney`,`opsoutsideinvoiceslave`.`dMaterialsTaxMoney` AS `dMaterialsTaxMoney`,`opsoutsideinvoiceslave`.`dMaterialsTaxForeignMoney` AS `dMaterialsTaxForeignMoney`,`opsoutsideinvoiceslave`.`dMaterialsForeignMoney` AS `dMaterialsForeignMoney`,`opsoutsideinvoiceslave`.`sBarcode` AS `sBarcode`,`opsoutsideinvoiceslave`.`sOrderId` AS `sOrderId`,`opsoutsideinvoiceslave`.`sOrderNo` AS `sOrderNo`,`opsoutsideinvoiceslave`.`sWorkOrderId` AS `sWorkOrderId`,`opsoutsideinvoiceslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`opsoutsideinvoiceslave`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`opsoutsideinvoiceslave`.`dPayMoney` AS `dPayMoney`,`opsoutsideinvoiceslave`.`sSReserve1` AS `sSReserve1`,`opsoutsideinvoiceslave`.`sSReserve2` AS `sSReserve2`,`opsoutsideinvoiceslave`.`sSReserve3` AS `sSReserve3`,`opsoutsideinvoiceslave`.`sSReserve4` AS `sSReserve4`,`opsoutsideinvoiceslave`.`sSReserve5` AS `sSReserve5`,`opsoutsideinvoiceslave`.`sSReserve6` AS `sSReserve6`,`opsoutsideinvoiceslave`.`dSReserve1` AS `dSReserve1`,`opsoutsideinvoiceslave`.`dSReserve2` AS `dSReserve2`,`opsoutsideinvoiceslave`.`dSReserve3` AS `dSReserve3`,`opsoutsideinvoiceslave`.`iSReserve1` AS `iSReserve1`,`opsoutsideinvoiceslave`.`iSReserve2` AS `iSReserve2`,`opsoutsideinvoiceslave`.`iSReserve3` AS `iSReserve3`,`opsoutsideinvoiceslave`.`tSReserve1` AS `tSReserve1`,`opsoutsideinvoiceslave`.`tSReserve2` AS `tSReserve2`,`opsoutsideinvoiceslave`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`opsoutsideinvoiceslave`.`sWorkOrderProcessTbId` AS `sWorkOrderProcessTbId`,`opsoutsideinvoiceslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`opsoutsideinvoiceslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`opsoutsideinvoiceslave`.`sCustomerId` AS `sCustomerId`,`opsoutsideinvoiceslave`.`sProductId` AS `sProductId`,`opsoutsideinvoiceslave`.`sProcessId` AS `sProcessId`,`opsoutsideinvoiceslave`.`sWebOrderNo` AS `sWebOrderNo`,`opsoutsideinvoiceslave`.`sWebOrderId` AS `sWebOrderId`,`opsoutsideinvoiceslave`.`iIncrement` AS `iIncrement`,`opsoutsideinvoiceslave`.`bPaymentComplete` AS `bPaymentComplete`,`opsoutsideinvoiceslave`.`dTotalMoney` AS `dTotalMoney`,`opsoutsideinvoicemaster`.`sInvoiceNo` AS `sInvoiceNo`,`opsoutsideinvoiceslave`.`sSrcFormId` AS `sSrcFormId` from (`opsoutsideinvoicemaster` left join `opsoutsideinvoiceslave` on((`opsoutsideinvoiceslave`.`sParentId` = `opsoutsideinvoicemaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
