# `viw_saldelivergoodsded` (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(100)` | NO |
| 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 | `sProductId` | `varchar(100)` | NO |
| 53 | `dProductQty` | `decimal(18,6)` | NO |
| 54 | `dProductPrice` | `decimal(24,13)` | NO |
| 55 | `dProductMoney` | `decimal(18,6)` | NO |
| 56 | `sMaterialsMemo` | `text` | YES |
| 57 | `sProcessMemo` | `text` | YES |
| 58 | `sSrcSlaveId` | `varchar(100)` | NO |
| 59 | `sSrcId` | `varchar(100)` | NO |
| 60 | `sSrcNo` | `varchar(255)` | NO |
| 61 | `dSrcQty` | `decimal(18,6)` | YES |
| 62 | `dProductPQty` | `decimal(18,6)` | YES |
| 63 | `bCheckingComplete` | `bit(1)` | NO |
| 64 | `sSlaveMemo` | `text` | YES |
| 65 | `sTaxId` | `varchar(100)` | YES |
| 66 | `dProductNoTaxPrice` | `decimal(24,13)` | NO |
| 67 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 68 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 69 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 70 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 71 | `dCheckingQty` | `decimal(18,6)` | NO |
| 72 | `dRejectQty` | `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 | `sDefineNo` | `varchar(100)` | NO |
| 79 | `sDefineNo2` | `varchar(100)` | NO |
| 80 | `sWareHouseId` | `varchar(100)` | NO |
| 81 | `sLocationId` | `varchar(100)` | NO |
| 82 | `sWareHouseLocationId` | `varchar(100)` | NO |
| 83 | `sOrderId` | `varchar(100)` | NO |
| 84 | `sOrderSlaveId` | `varchar(100)` | NO |
| 85 | `sOrderNo` | `varchar(255)` | NO |
| 86 | `sWorkOrderId` | `varchar(100)` | NO |
| 87 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 88 | `sWorkOrderNo` | `varchar(255)` | NO |
| 89 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 90 | `sSReserve1` | `varchar(255)` | YES |
| 91 | `sSReserve2` | `varchar(255)` | YES |
| 92 | `sSReserve3` | `varchar(255)` | YES |
| 93 | `sSReserve4` | `varchar(255)` | YES |
| 94 | `sSReserve5` | `varchar(255)` | YES |
| 95 | `sSReserve6` | `varchar(255)` | YES |
| 96 | `dSReserve1` | `decimal(18,6)` | YES |
| 97 | `dSReserve2` | `decimal(18,6)` | YES |
| 98 | `dSReserve3` | `decimal(18,6)` | YES |
| 99 | `iSReserve1` | `int` | YES |
| 100 | `iSReserve2` | `int` | YES |
| 101 | `iSReserve3` | `int` | YES |
| 102 | `tSReserve1` | `datetime` | YES |
| 103 | `tSReserve2` | `datetime` | YES |
| 104 | `iSlaveOrder` | `int` | NO |
| 105 | `bAdvanceComplete` | `bit(1)` | NO |
| 106 | `sSenderId` | `varchar(100)` | YES |
| 107 | `sLogisticsMobile` | `varchar(255)` | NO |
| 108 | `sLogisticsNo` | `varchar(255)` | NO |
| 109 | `sLogisticsId` | `varchar(100)` | NO |
| 110 | `iIncrement` | `int` | NO |
| 111 | `bSalSendCarComplete` | `bit(1)` | NO |
| 112 | `bReceiptComplete` | `bit(1)` | NO |
| 113 | `dSendCarQty` | `decimal(18,6)` | YES |
| 114 | `dPackQty` | `decimal(18,6)` | NO |
| 115 | `dTrunkQty` | `decimal(18,6)` | NO |
| 116 | `dFractionQty` | `decimal(18,6)` | NO |
| 117 | `sSingleReceipt` | `varchar(255)` | NO |
| 118 | `tSingleReceipt` | `datetime` | YES |
| 119 | `dCostPrice` | `decimal(24,13)` | NO |
| 120 | `dCostMoney` | `decimal(18,6)` | YES |
| 121 | `sMaterialsStyle` | `varchar(100)` | NO |
| 122 | `sAuxiliaryUnit` | `varchar(100)` | NO |
| 123 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 124 | `dConversionQty` | `decimal(18,6)` | NO |
| 125 | `dProofingMoney` | `decimal(18,6)` | NO |
| 126 | `dPlateMoney` | `decimal(18,6)` | NO |
| 127 | `dKnifeMouldMoney` | `decimal(18,6)` | NO |
| 128 | `dFreightMoney` | `decimal(18,6)` | NO |
| 129 | `dNProductPrice` | `decimal(24,13)` | NO |
| 130 | `dNProductMoney` | `decimal(18,6)` | NO |
| 131 | `dProductForeignPrice` | `decimal(24,13)` | NO |
| 132 | `dFreightReturnMoney` | `decimal(18,6)` | NO |
| 133 | `dKnifeMouldReturnMoney` | `decimal(18,6)` | NO |
| 134 | `dPlateReturnMoney` | `decimal(18,6)` | NO |
| 135 | `dProofingReturnMoney` | `decimal(18,6)` | NO |
| 136 | `dSingleReceiptQty` | `decimal(18,6)` | NO |
| 137 | `sSingleReceiptMemo` | `varchar(500)` | NO |
| 138 | `sVoucherBillminusNo` | `varchar(255)` | NO |
| 139 | `sVoucherBillminusId` | `varchar(255)` | NO |
| 140 | `sVoucherBillNo` | `varchar(255)` | NO |
| 141 | `sVoucherBillId` | `varchar(255)` | NO |
| 142 | `dNoCheckingQty` | `decimal(19,6)` | NO |
| 143 | `dProfitMoney` | `decimal(19,6)` | NO |
| 144 | `dProfitRate` | `decimal(18,6)` | YES |
| 145 | `sMinusSrcId` | `varchar(255)` | NO |
| 146 | `sSrcFormId` | `varchar(255)` | NO |
| 147 | `bSingleReceipt` | `int` | NO |
| 148 | `bFinance` | `int` | NO |

## Definition

```sql
select `saldelivergoodsdedmaster`.`sId` AS `sId`,`saldelivergoodsdedmaster`.`sBrandsId` AS `sBrandsId`,`saldelivergoodsdedmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`saldelivergoodsdedmaster`.`tCreateDate` AS `tCreateDate`,`saldelivergoodsdedmaster`.`sMakePerson` AS `sMakePerson`,`saldelivergoodsdedmaster`.`iOrder` AS `iOrder`,`saldelivergoodsdedmaster`.`sFormId` AS `sFormId`,`saldelivergoodsdedmaster`.`sBillNo` AS `sBillNo`,`saldelivergoodsdedmaster`.`sCustomerId` AS `sCustomerId`,`saldelivergoodsdedmaster`.`sContacts` AS `sContacts`,`saldelivergoodsdedmaster`.`sPhone` AS `sPhone`,`saldelivergoodsdedmaster`.`tDeliverDate` AS `tDeliverDate`,`saldelivergoodsdedmaster`.`sSalesManId` AS `sSalesManId`,`saldelivergoodsdedmaster`.`sGetPayId` AS `sGetPayId`,`saldelivergoodsdedmaster`.`tGetPayDate` AS `tGetPayDate`,`saldelivergoodsdedmaster`.`sConsignee` AS `sConsignee`,`saldelivergoodsdedmaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`saldelivergoodsdedmaster`.`sDeliverId` AS `sDeliverId`,`saldelivergoodsdedmaster`.`sProvince` AS `sProvince`,`saldelivergoodsdedmaster`.`sCity` AS `sCity`,`saldelivergoodsdedmaster`.`sArea` AS `sArea`,`saldelivergoodsdedmaster`.`sDeliverTo` AS `sDeliverTo`,`saldelivergoodsdedmaster`.`sManualNo` AS `sManualNo`,`saldelivergoodsdedmaster`.`sMemo` AS `sMemo`,`saldelivergoodsdedmaster`.`bCheck` AS `bCheck`,`saldelivergoodsdedmaster`.`tCheckDate` AS `tCheckDate`,`saldelivergoodsdedmaster`.`sCheckPerson` AS `sCheckPerson`,`saldelivergoodsdedmaster`.`bPrint` AS `bPrint`,`saldelivergoodsdedmaster`.`bCopyLimit` AS `bCopyLimit`,`saldelivergoodsdedmaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`saldelivergoodsdedmaster`.`tAdvanceDate` AS `tAdvanceDate`,`saldelivergoodsdedmaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`saldelivergoodsdedmaster`.`sCurrency` AS `sCurrency`,`saldelivergoodsdedmaster`.`dCurrencyRate` AS `dCurrencyRate`,`saldelivergoodsdedmaster`.`sStatus` AS `sStatus`,`saldelivergoodsdedmaster`.`bInvalid` AS `bInvalid`,`saldelivergoodsdedmaster`.`sMReserve1` AS `sMReserve1`,`saldelivergoodsdedmaster`.`sMReserve2` AS `sMReserve2`,`saldelivergoodsdedmaster`.`sMReserve3` AS `sMReserve3`,`saldelivergoodsdedmaster`.`sMReserve4` AS `sMReserve4`,`saldelivergoodsdedmaster`.`sMReserve5` AS `sMReserve5`,`saldelivergoodsdedmaster`.`sMReserve6` AS `sMReserve6`,`saldelivergoodsdedmaster`.`dMReserve1` AS `dMReserve1`,`saldelivergoodsdedmaster`.`dMReserve2` AS `dMReserve2`,`saldelivergoodsdedmaster`.`dMReserve3` AS `dMReserve3`,`saldelivergoodsdedmaster`.`iMReserve1` AS `iMReserve1`,`saldelivergoodsdedmaster`.`iMReserve2` AS `iMReserve2`,`saldelivergoodsdedmaster`.`iMReserve3` AS `iMReserve3`,`saldelivergoodsdedmaster`.`tMReserve1` AS `tMReserve1`,`saldelivergoodsdedmaster`.`tMReserve2` AS `tMReserve2`,`saldelivergoodsdedslave`.`sId` AS `sSlaveId`,`saldelivergoodsdedslave`.`sProductId` AS `sProductId`,`saldelivergoodsdedslave`.`dProductQty` AS `dProductQty`,`saldelivergoodsdedslave`.`dProductPrice` AS `dProductPrice`,`saldelivergoodsdedslave`.`dProductMoney` AS `dProductMoney`,`saldelivergoodsdedslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`saldelivergoodsdedslave`.`sProcessMemo` AS `sProcessMemo`,`saldelivergoodsdedslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`saldelivergoodsdedslave`.`sSrcId` AS `sSrcId`,`saldelivergoodsdedslave`.`sSrcNo` AS `sSrcNo`,`saldelivergoodsdedslave`.`dSrcQty` AS `dSrcQty`,`saldelivergoodsdedslave`.`dProductPQty` AS `dProductPQty`,`saldelivergoodsdedslave`.`bCheckingComplete` AS `bCheckingComplete`,`saldelivergoodsdedslave`.`sSlaveMemo` AS `sSlaveMemo`,`saldelivergoodsdedslave`.`sTaxId` AS `sTaxId`,`saldelivergoodsdedslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`saldelivergoodsdedslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`saldelivergoodsdedslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`saldelivergoodsdedslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`saldelivergoodsdedslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`saldelivergoodsdedslave`.`dCheckingQty` AS `dCheckingQty`,`saldelivergoodsdedslave`.`dRejectQty` AS `dRejectQty`,`saldelivergoodsdedslave`.`dReceiptMoney` AS `dReceiptMoney`,`saldelivergoodsdedslave`.`sWebOrderNo` AS `sWebOrderNo`,`saldelivergoodsdedslave`.`sWebOrderId` AS `sWebOrderId`,`saldelivergoodsdedslave`.`sBarcode` AS `sBarcode`,`saldelivergoodsdedslave`.`dGiveQty` AS `dGiveQty`,`saldelivergoodsdedslave`.`sDefineNo` AS `sDefineNo`,`saldelivergoodsdedslave`.`sDefineNo2` AS `sDefineNo2`,`saldelivergoodsdedslave`.`sWareHouseId` AS `sWareHouseId`,`saldelivergoodsdedslave`.`sLocationId` AS `sLocationId`,`saldelivergoodsdedslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`saldelivergoodsdedslave`.`sOrderId` AS `sOrderId`,`saldelivergoodsdedslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`saldelivergoodsdedslave`.`sOrderNo` AS `sOrderNo`,`saldelivergoodsdedslave`.`sWorkOrderId` AS `sWorkOrderId`,`saldelivergoodsdedslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`saldelivergoodsdedslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`saldelivergoodsdedslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`saldelivergoodsdedslave`.`sSReserve1` AS `sSReserve1`,`saldelivergoodsdedslave`.`sSReserve2` AS `sSReserve2`,`saldelivergoodsdedslave`.`sSReserve3` AS `sSReserve3`,`saldelivergoodsdedslave`.`sSReserve4` AS `sSReserve4`,`saldelivergoodsdedslave`.`sSReserve5` AS `sSReserve5`,`saldelivergoodsdedslave`.`sSReserve6` AS `sSReserve6`,`saldelivergoodsdedslave`.`dSReserve1` AS `dSReserve1`,`saldelivergoodsdedslave`.`dSReserve2` AS `dSReserve2`,`saldelivergoodsdedslave`.`dSReserve3` AS `dSReserve3`,`saldelivergoodsdedslave`.`iSReserve1` AS `iSReserve1`,`saldelivergoodsdedslave`.`iSReserve2` AS `iSReserve2`,`saldelivergoodsdedslave`.`iSReserve3` AS `iSReserve3`,`saldelivergoodsdedslave`.`tSReserve1` AS `tSReserve1`,`saldelivergoodsdedslave`.`tSReserve2` AS `tSReserve2`,`saldelivergoodsdedslave`.`iOrder` AS `iSlaveOrder`,`saldelivergoodsdedmaster`.`bAdvanceComplete` AS `bAdvanceComplete`,`saldelivergoodsdedmaster`.`sSenderId` AS `sSenderId`,`saldelivergoodsdedmaster`.`sLogisticsMobile` AS `sLogisticsMobile`,`saldelivergoodsdedmaster`.`sLogisticsNo` AS `sLogisticsNo`,`saldelivergoodsdedmaster`.`sLogisticsId` AS `sLogisticsId`,`saldelivergoodsdedslave`.`iIncrement` AS `iIncrement`,`saldelivergoodsdedslave`.`bSalSendCarComplete` AS `bSalSendCarComplete`,`saldelivergoodsdedslave`.`bReceiptComplete` AS `bReceiptComplete`,`saldelivergoodsdedslave`.`dSendCarQty` AS `dSendCarQty`,`saldelivergoodsdedslave`.`dPackQty` AS `dPackQty`,`saldelivergoodsdedslave`.`dTrunkQty` AS `dTrunkQty`,`saldelivergoodsdedslave`.`dFractionQty` AS `dFractionQty`,`saldelivergoodsdedslave`.`sSingleReceipt` AS `sSingleReceipt`,`saldelivergoodsdedslave`.`tSingleReceipt` AS `tSingleReceipt`,`saldelivergoodsdedslave`.`dCostPrice` AS `dCostPrice`,`saldelivergoodsdedslave`.`dCostMoney` AS `dCostMoney`,`saldelivergoodsdedslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`saldelivergoodsdedslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`saldelivergoodsdedslave`.`dMaterialsQty` AS `dMaterialsQty`,`saldelivergoodsdedslave`.`dConversionQty` AS `dConversionQty`,`saldelivergoodsdedslave`.`dProofingMoney` AS `dProofingMoney`,`saldelivergoodsdedslave`.`dPlateMoney` AS `dPlateMoney`,`saldelivergoodsdedslave`.`dKnifeMouldMoney` AS `dKnifeMouldMoney`,`saldelivergoodsdedslave`.`dFreightMoney` AS `dFreightMoney`,`saldelivergoodsdedslave`.`dNProductPrice` AS `dNProductPrice`,`saldelivergoodsdedslave`.`dNProductMoney` AS `dNProductMoney`,`saldelivergoodsdedslave`.`dProductForeignPrice` AS `dProductForeignPrice`,`saldelivergoodsdedslave`.`dFreightReturnMoney` AS `dFreightReturnMoney`,`saldelivergoodsdedslave`.`dKnifeMouldReturnMoney` AS `dKnifeMouldReturnMoney`,`saldelivergoodsdedslave`.`dPlateReturnMoney` AS `dPlateReturnMoney`,`saldelivergoodsdedslave`.`dProofingReturnMoney` AS `dProofingReturnMoney`,`saldelivergoodsdedslave`.`dSingleReceiptQty` AS `dSingleReceiptQty`,`saldelivergoodsdedslave`.`sSingleReceiptMemo` AS `sSingleReceiptMemo`,`saldelivergoodsdedslave`.`sVoucherBillminusNo` AS `sVoucherBillminusNo`,`saldelivergoodsdedslave`.`sVoucherBillminusId` AS `sVoucherBillminusId`,`saldelivergoodsdedslave`.`sVoucherBillNo` AS `sVoucherBillNo`,`saldelivergoodsdedslave`.`sVoucherBillId` AS `sVoucherBillId`,(`saldelivergoodsdedslave`.`dProductQty` - `saldelivergoodsdedslave`.`dCheckingQty`) AS `dNoCheckingQty`,(ifnull(`saldelivergoodsdedslave`.`dProductNoTaxMoney`,0) - ifnull(`saldelivergoodsdedslave`.`dCostMoney`,0)) AS `dProfitMoney`,cast(((ifnull(`saldelivergoodsdedslave`.`dProductNoTaxMoney`,0) - ifnull(`saldelivergoodsdedslave`.`dCostMoney`,0)) / ifnull(`saldelivergoodsdedslave`.`dProductNoTaxMoney`,0)) as decimal(18,6)) AS `dProfitRate`,`saldelivergoodsdedmaster`.`sMinusSrcId` AS `sMinusSrcId`,`saldelivergoodsdedslave`.`sSrcFormId` AS `sSrcFormId`,0 AS `bSingleReceipt`,0 AS `bFinance` from (`saldelivergoodsdedmaster` join `saldelivergoodsdedslave` on((`saldelivergoodsdedslave`.`sParentId` = `saldelivergoodsdedmaster`.`sId`)))
```

## Narrative

_No human-written narrative yet._
