# `viw_salchildproductapply` (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 | `sMakePerson` | `varchar(255)` | NO |
| 6 | `iOrder` | `int` | NO |
| 7 | `sFormId` | `varchar(100)` | NO |
| 8 | `sBillNo` | `varchar(255)` | NO |
| 9 | `sCustomerId` | `varchar(255)` | YES |
| 10 | `sContacts` | `varchar(255)` | YES |
| 11 | `sPhone` | `varchar(255)` | YES |
| 12 | `tDeliverDate` | `datetime` | YES |
| 13 | `sSalesManId` | `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 | `dAdvanceMoney` | `decimal(18,6)` | YES |
| 31 | `tAdvanceDate` | `datetime` | YES |
| 32 | `dRealAdvanceMoney` | `decimal(18,6)` | YES |
| 33 | `sCurrency` | `varchar(255)` | YES |
| 34 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 35 | `sStatus` | `varchar(255)` | YES |
| 36 | `bInvalid` | `bit(1)` | NO |
| 37 | `sMReserve1` | `varchar(255)` | YES |
| 38 | `sMReserve2` | `varchar(255)` | YES |
| 39 | `sMReserve3` | `varchar(255)` | YES |
| 40 | `sMReserve4` | `varchar(255)` | YES |
| 41 | `sMReserve5` | `varchar(255)` | YES |
| 42 | `sMReserve6` | `varchar(255)` | YES |
| 43 | `dMReserve1` | `decimal(18,6)` | YES |
| 44 | `dMReserve2` | `decimal(18,6)` | YES |
| 45 | `dMReserve3` | `decimal(18,6)` | YES |
| 46 | `iMReserve1` | `int` | YES |
| 47 | `iMReserve2` | `int` | YES |
| 48 | `iMReserve3` | `int` | YES |
| 49 | `tMReserve1` | `datetime` | YES |
| 50 | `tMReserve2` | `datetime` | YES |
| 51 | `sSlaveId` | `varchar(100)` | NO |
| 52 | `iSlaveOrder` | `int` | NO |
| 53 | `sProductId` | `varchar(100)` | NO |
| 54 | `dProductQty` | `decimal(18,6)` | NO |
| 55 | `dProductPrice` | `decimal(24,13)` | NO |
| 56 | `dProductMoney` | `decimal(18,6)` | NO |
| 57 | `sMaterialsMemo` | `text` | YES |
| 58 | `sProcessMemo` | `text` | YES |
| 59 | `sSrcSlaveId` | `varchar(100)` | NO |
| 60 | `sSrcId` | `varchar(100)` | NO |
| 61 | `sSrcNo` | `varchar(255)` | NO |
| 62 | `dSrcQty` | `decimal(18,6)` | YES |
| 63 | `dProductPQty` | `decimal(18,6)` | YES |
| 64 | `bCheckingComplete` | `bit(1)` | NO |
| 65 | `sSlaveMemo` | `text` | YES |
| 66 | `sTaxId` | `varchar(100)` | YES |
| 67 | `dProductNoTaxPrice` | `decimal(24,13)` | NO |
| 68 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 69 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 70 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 71 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 72 | `dCheckingQty` | `decimal(18,6)` | NO |
| 73 | `dReceiptMoney` | `decimal(18,6)` | NO |
| 74 | `sWebOrderNo` | `varchar(255)` | NO |
| 75 | `sWebOrderId` | `varchar(100)` | NO |
| 76 | `sBarcode` | `varchar(255)` | YES |
| 77 | `dGiveQty` | `decimal(18,6)` | NO |
| 78 | `dDeliverQty` | `decimal(18,6)` | NO |
| 79 | `sDefineNo` | `varchar(100)` | NO |
| 80 | `sDefineNo2` | `varchar(100)` | NO |
| 81 | `sWareHouseId` | `varchar(100)` | NO |
| 82 | `sLocationId` | `varchar(100)` | NO |
| 83 | `sWareHouseLocationId` | `varchar(100)` | NO |
| 84 | `sOrderId` | `varchar(100)` | NO |
| 85 | `sOrderNo` | `varchar(255)` | NO |
| 86 | `sWorkOrderId` | `varchar(100)` | NO |
| 87 | `sWorkOrderNo` | `varchar(255)` | NO |
| 88 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 89 | `sSReserve1` | `varchar(255)` | YES |
| 90 | `sSReserve2` | `varchar(255)` | YES |
| 91 | `sSReserve3` | `varchar(255)` | YES |
| 92 | `sSReserve4` | `varchar(255)` | YES |
| 93 | `sSReserve5` | `varchar(255)` | YES |
| 94 | `sSReserve6` | `varchar(255)` | YES |
| 95 | `dSReserve1` | `decimal(18,6)` | YES |
| 96 | `dSReserve2` | `decimal(18,6)` | YES |
| 97 | `dSReserve3` | `decimal(18,6)` | YES |
| 98 | `iSReserve1` | `int` | YES |
| 99 | `iSReserve2` | `int` | YES |
| 100 | `iSReserve3` | `int` | YES |
| 101 | `tSReserve1` | `datetime` | YES |
| 102 | `tSReserve2` | `datetime` | YES |
| 103 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 104 | `sOrderSlaveId` | `varchar(100)` | NO |
| 105 | `bInvoiceComplete` | `bit(1)` | NO |
| 106 | `dInvoiceMoney` | `decimal(18,6)` | NO |
| 107 | `dProductForeignPrice` | `decimal(24,13)` | NO |
| 108 | `sType` | `varchar(255)` | NO |
| 109 | `iIncrement` | `int` | NO |
| 110 | `dNProductPrice` | `decimal(24,13)` | NO |
| 111 | `dNProductMoney` | `decimal(18,6)` | NO |
| 112 | `sAuxiliaryUnit` | `varchar(100)` | NO |
| 113 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 114 | `dCostPrice` | `decimal(24,13)` | NO |
| 115 | `dCostMoney` | `decimal(18,6)` | YES |
| 116 | `sVoucherBillminusNo` | `varchar(255)` | NO |
| 117 | `sVoucherBillminusId` | `varchar(255)` | NO |
| 118 | `sVoucherBillNo` | `varchar(255)` | NO |
| 119 | `sVoucherBillId` | `varchar(255)` | NO |
| 120 | `sMaterialsStyle` | `varchar(100)` | NO |
| 121 | `dPalletQty` | `decimal(18,6)` | YES |
| 122 | `sDeliverPerson` | `varchar(255)` | YES |
| 123 | `sDeliverMobile` | `varchar(255)` | YES |
| 124 | `sDeliverAdd` | `varchar(255)` | YES |
| 125 | `dSendCarQty` | `decimal(18,6)` | YES |
| 126 | `tArrivalDate` | `datetime` | YES |
| 127 | `dProductInStoreQty` | `decimal(18,6)` | YES |
| 128 | `bProductInStoreComplete` | `bit(1)` | YES |
| 129 | `bNoObject` | `bit(1)` | YES |
| 130 | `dProductOutStoreQty` | `decimal(18,6)` | YES |
| 131 | `bProductOutStoreComplete` | `bit(1)` | YES |

## Definition

```sql
select `salchildproductapplymaster`.`sId` AS `sId`,`salchildproductapplymaster`.`sBrandsId` AS `sBrandsId`,`salchildproductapplymaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`salchildproductapplymaster`.`tCreateDate` AS `tCreateDate`,`salchildproductapplymaster`.`sMakePerson` AS `sMakePerson`,`salchildproductapplymaster`.`iOrder` AS `iOrder`,`salchildproductapplymaster`.`sFormId` AS `sFormId`,`salchildproductapplymaster`.`sBillNo` AS `sBillNo`,`salchildproductapplyslave`.`sCustomerId` AS `sCustomerId`,`salchildproductapplymaster`.`sContacts` AS `sContacts`,`salchildproductapplymaster`.`sPhone` AS `sPhone`,`salchildproductapplymaster`.`tDeliverDate` AS `tDeliverDate`,`salchildproductapplymaster`.`sSalesManId` AS `sSalesManId`,`salchildproductapplymaster`.`sGetPayId` AS `sGetPayId`,`salchildproductapplymaster`.`tGetPayDate` AS `tGetPayDate`,`salchildproductapplymaster`.`sConsignee` AS `sConsignee`,`salchildproductapplymaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`salchildproductapplymaster`.`sDeliverId` AS `sDeliverId`,`salchildproductapplymaster`.`sProvince` AS `sProvince`,`salchildproductapplymaster`.`sCity` AS `sCity`,`salchildproductapplymaster`.`sArea` AS `sArea`,`salchildproductapplymaster`.`sDeliverTo` AS `sDeliverTo`,`salchildproductapplymaster`.`sManualNo` AS `sManualNo`,`salchildproductapplymaster`.`sMemo` AS `sMemo`,`salchildproductapplymaster`.`bCheck` AS `bCheck`,`salchildproductapplymaster`.`tCheckDate` AS `tCheckDate`,`salchildproductapplymaster`.`sCheckPerson` AS `sCheckPerson`,`salchildproductapplymaster`.`bPrint` AS `bPrint`,`salchildproductapplymaster`.`bCopyLimit` AS `bCopyLimit`,`salchildproductapplymaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`salchildproductapplymaster`.`tAdvanceDate` AS `tAdvanceDate`,`salchildproductapplymaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`salchildproductapplymaster`.`sCurrency` AS `sCurrency`,`salchildproductapplymaster`.`dCurrencyRate` AS `dCurrencyRate`,`salchildproductapplymaster`.`sStatus` AS `sStatus`,`salchildproductapplymaster`.`bInvalid` AS `bInvalid`,`salchildproductapplymaster`.`sMReserve1` AS `sMReserve1`,`salchildproductapplymaster`.`sMReserve2` AS `sMReserve2`,`salchildproductapplymaster`.`sMReserve3` AS `sMReserve3`,`salchildproductapplymaster`.`sMReserve4` AS `sMReserve4`,`salchildproductapplymaster`.`sMReserve5` AS `sMReserve5`,`salchildproductapplymaster`.`sMReserve6` AS `sMReserve6`,`salchildproductapplymaster`.`dMReserve1` AS `dMReserve1`,`salchildproductapplymaster`.`dMReserve2` AS `dMReserve2`,`salchildproductapplymaster`.`dMReserve3` AS `dMReserve3`,`salchildproductapplymaster`.`iMReserve1` AS `iMReserve1`,`salchildproductapplymaster`.`iMReserve2` AS `iMReserve2`,`salchildproductapplymaster`.`iMReserve3` AS `iMReserve3`,`salchildproductapplymaster`.`tMReserve1` AS `tMReserve1`,`salchildproductapplymaster`.`tMReserve2` AS `tMReserve2`,`salchildproductapplyslave`.`sId` AS `sSlaveId`,`salchildproductapplyslave`.`iOrder` AS `iSlaveOrder`,`salchildproductapplyslave`.`sProductId` AS `sProductId`,`salchildproductapplyslave`.`dProductQty` AS `dProductQty`,`salchildproductapplyslave`.`dProductPrice` AS `dProductPrice`,`salchildproductapplyslave`.`dProductMoney` AS `dProductMoney`,`salchildproductapplyslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`salchildproductapplyslave`.`sProcessMemo` AS `sProcessMemo`,`salchildproductapplyslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`salchildproductapplyslave`.`sSrcId` AS `sSrcId`,`salchildproductapplyslave`.`sSrcNo` AS `sSrcNo`,`salchildproductapplyslave`.`dSrcQty` AS `dSrcQty`,`salchildproductapplyslave`.`dProductPQty` AS `dProductPQty`,`salchildproductapplyslave`.`bCheckingComplete` AS `bCheckingComplete`,`salchildproductapplyslave`.`sSlaveMemo` AS `sSlaveMemo`,`salchildproductapplyslave`.`sTaxId` AS `sTaxId`,`salchildproductapplyslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`salchildproductapplyslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`salchildproductapplyslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`salchildproductapplyslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`salchildproductapplyslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`salchildproductapplyslave`.`dCheckingQty` AS `dCheckingQty`,`salchildproductapplyslave`.`dReceiptMoney` AS `dReceiptMoney`,`salchildproductapplyslave`.`sWebOrderNo` AS `sWebOrderNo`,`salchildproductapplyslave`.`sWebOrderId` AS `sWebOrderId`,`salchildproductapplyslave`.`sBarcode` AS `sBarcode`,`salchildproductapplyslave`.`dGiveQty` AS `dGiveQty`,`salchildproductapplyslave`.`dDeliverQty` AS `dDeliverQty`,`salchildproductapplyslave`.`sDefineNo` AS `sDefineNo`,`salchildproductapplyslave`.`sDefineNo2` AS `sDefineNo2`,`salchildproductapplyslave`.`sWareHouseId` AS `sWareHouseId`,`salchildproductapplyslave`.`sLocationId` AS `sLocationId`,`salchildproductapplyslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`salchildproductapplyslave`.`sOrderId` AS `sOrderId`,`salchildproductapplyslave`.`sOrderNo` AS `sOrderNo`,`salchildproductapplyslave`.`sWorkOrderId` AS `sWorkOrderId`,`salchildproductapplyslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`salchildproductapplyslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`salchildproductapplyslave`.`sSReserve1` AS `sSReserve1`,`salchildproductapplyslave`.`sSReserve2` AS `sSReserve2`,`salchildproductapplyslave`.`sSReserve3` AS `sSReserve3`,`salchildproductapplyslave`.`sSReserve4` AS `sSReserve4`,`salchildproductapplyslave`.`sSReserve5` AS `sSReserve5`,`salchildproductapplyslave`.`sSReserve6` AS `sSReserve6`,`salchildproductapplyslave`.`dSReserve1` AS `dSReserve1`,`salchildproductapplyslave`.`dSReserve2` AS `dSReserve2`,`salchildproductapplyslave`.`dSReserve3` AS `dSReserve3`,`salchildproductapplyslave`.`iSReserve1` AS `iSReserve1`,`salchildproductapplyslave`.`iSReserve2` AS `iSReserve2`,`salchildproductapplyslave`.`iSReserve3` AS `iSReserve3`,`salchildproductapplyslave`.`tSReserve1` AS `tSReserve1`,`salchildproductapplyslave`.`tSReserve2` AS `tSReserve2`,`salchildproductapplyslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`salchildproductapplyslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`salchildproductapplyslave`.`bInvoiceComplete` AS `bInvoiceComplete`,`salchildproductapplyslave`.`dInvoiceMoney` AS `dInvoiceMoney`,`salchildproductapplyslave`.`dProductForeignPrice` AS `dProductForeignPrice`,`salchildproductapplymaster`.`sType` AS `sType`,`salchildproductapplyslave`.`iIncrement` AS `iIncrement`,`salchildproductapplyslave`.`dNProductPrice` AS `dNProductPrice`,`salchildproductapplyslave`.`dNProductMoney` AS `dNProductMoney`,`salchildproductapplyslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`salchildproductapplyslave`.`dMaterialsQty` AS `dMaterialsQty`,`salchildproductapplyslave`.`dCostPrice` AS `dCostPrice`,`salchildproductapplyslave`.`dCostMoney` AS `dCostMoney`,`salchildproductapplyslave`.`sVoucherBillminusNo` AS `sVoucherBillminusNo`,`salchildproductapplyslave`.`sVoucherBillminusId` AS `sVoucherBillminusId`,`salchildproductapplyslave`.`sVoucherBillNo` AS `sVoucherBillNo`,`salchildproductapplyslave`.`sVoucherBillId` AS `sVoucherBillId`,`salchildproductapplyslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`salchildproductapplyslave`.`dPalletQty` AS `dPalletQty`,`salchildproductapplymaster`.`sDeliverPerson` AS `sDeliverPerson`,`salchildproductapplymaster`.`sDeliverMobile` AS `sDeliverMobile`,`salchildproductapplymaster`.`sDeliverAdd` AS `sDeliverAdd`,`salchildproductapplyslave`.`dSendCarQty` AS `dSendCarQty`,`salchildproductapplymaster`.`tArrivalDate` AS `tArrivalDate`,`salchildproductapplyslave`.`dProductInStoreQty` AS `dProductInStoreQty`,`salchildproductapplyslave`.`bProductInStoreComplete` AS `bProductInStoreComplete`,`salchildproductapplyslave`.`bNoObject` AS `bNoObject`,`salchildproductapplyslave`.`dProductOutStoreQty` AS `dProductOutStoreQty`,`salchildproductapplyslave`.`bProductOutStoreComplete` AS `bProductOutStoreComplete` from (`salchildproductapplymaster` join `salchildproductapplyslave` on((`salchildproductapplyslave`.`sParentId` = `salchildproductapplymaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
