# `viw_ai_saldelivergoods` (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 | `tUpdateDate` | `datetime` | NO |
| 6 | `sMakePerson` | `varchar(255)` | NO |
| 7 | `iOrder` | `int` | NO |
| 8 | `sFormId` | `varchar(100)` | NO |
| 9 | `sBillNo` | `varchar(255)` | NO |
| 10 | `sCustomerId` | `varchar(100)` | NO |
| 11 | `sContacts` | `varchar(255)` | YES |
| 12 | `sPhone` | `varchar(255)` | YES |
| 13 | `tDeliverDate` | `datetime` | YES |
| 14 | `sSalesManId` | `varchar(100)` | YES |
| 15 | `sGetPayId` | `varchar(100)` | YES |
| 16 | `tGetPayDate` | `datetime` | YES |
| 17 | `sConsignee` | `varchar(255)` | YES |
| 18 | `sConsigneeMobile` | `varchar(255)` | YES |
| 19 | `sDeliverId` | `varchar(100)` | NO |
| 20 | `sProvince` | `varchar(255)` | YES |
| 21 | `sCity` | `varchar(255)` | YES |
| 22 | `sArea` | `varchar(255)` | YES |
| 23 | `sDeliverTo` | `varchar(255)` | YES |
| 24 | `sManualNo` | `varchar(255)` | YES |
| 25 | `sMemo` | `text` | YES |
| 26 | `bCheck` | `bit(1)` | NO |
| 27 | `tCheckDate` | `datetime` | YES |
| 28 | `sCheckPerson` | `varchar(255)` | YES |
| 29 | `bPrint` | `bit(1)` | NO |
| 30 | `bCopyLimit` | `bit(1)` | NO |
| 31 | `dAdvanceMoney` | `decimal(18,6)` | YES |
| 32 | `tAdvanceDate` | `datetime` | YES |
| 33 | `dRealAdvanceMoney` | `decimal(18,6)` | YES |
| 34 | `sCurrency` | `varchar(255)` | YES |
| 35 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 36 | `sStatus` | `varchar(255)` | YES |
| 37 | `bInvalid` | `bit(1)` | NO |
| 38 | `sMReserve1` | `varchar(255)` | YES |
| 39 | `sMReserve2` | `varchar(255)` | YES |
| 40 | `sMReserve3` | `varchar(255)` | YES |
| 41 | `sMReserve4` | `varchar(255)` | YES |
| 42 | `sMReserve5` | `varchar(255)` | YES |
| 43 | `sMReserve6` | `varchar(255)` | 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 | `sSlaveId` | `varchar(100)` | NO |
| 53 | `sProductId` | `varchar(100)` | NO |
| 54 | `dProductQty` | `decimal(18,6)` | NO |
| 55 | `dProductPrice` | `decimal(18,6)` | 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(18,6)` | YES |
| 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 | `dRejectQty` | `decimal(18,6)` | NO |
| 74 | `dReceiptMoney` | `decimal(18,6)` | NO |
| 75 | `sWebOrderNo` | `varchar(255)` | NO |
| 76 | `sWebOrderId` | `varchar(100)` | NO |
| 77 | `sBarcode` | `varchar(255)` | YES |
| 78 | `dGiveQty` | `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 | `sOrderSlaveId` | `varchar(100)` | NO |
| 86 | `sOrderNo` | `varchar(255)` | NO |
| 87 | `sWorkOrderId` | `varchar(100)` | NO |
| 88 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 89 | `sWorkOrderNo` | `varchar(255)` | NO |
| 90 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 91 | `sSReserve1` | `varchar(255)` | YES |
| 92 | `sSReserve2` | `varchar(255)` | YES |
| 93 | `sSReserve3` | `varchar(255)` | YES |
| 94 | `sSReserve4` | `varchar(255)` | YES |
| 95 | `sSReserve5` | `varchar(255)` | YES |
| 96 | `sSReserve6` | `varchar(255)` | YES |
| 97 | `dSReserve1` | `decimal(18,6)` | YES |
| 98 | `dSReserve2` | `decimal(18,6)` | YES |
| 99 | `dSReserve3` | `decimal(18,6)` | YES |
| 100 | `iSReserve1` | `int` | YES |
| 101 | `iSReserve2` | `int` | YES |
| 102 | `iSReserve3` | `int` | YES |
| 103 | `tSReserve1` | `datetime` | YES |
| 104 | `tSReserve2` | `datetime` | YES |
| 105 | `iSlaveOrder` | `int` | NO |
| 106 | `bAdvanceComplete` | `bit(1)` | NO |
| 107 | `sSenderId` | `varchar(100)` | YES |
| 108 | `sLogisticsMobile` | `varchar(255)` | NO |
| 109 | `sLogisticsNo` | `varchar(255)` | NO |
| 110 | `sLogisticsId` | `varchar(100)` | NO |
| 111 | `iIncrement` | `int` | NO |
| 112 | `bSalSendCarComplete` | `bit(1)` | NO |
| 113 | `bReceiptComplete` | `bit(1)` | NO |
| 114 | `dSendCarQty` | `decimal(18,6)` | YES |
| 115 | `dPackQty` | `decimal(18,6)` | NO |
| 116 | `dTrunkQty` | `decimal(18,6)` | NO |
| 117 | `dFractionQty` | `decimal(18,6)` | NO |
| 118 | `sSingleReceipt` | `varchar(255)` | NO |
| 119 | `tSingleReceipt` | `datetime` | YES |
| 120 | `dCostPrice` | `decimal(18,6)` | YES |
| 121 | `dCostMoney` | `decimal(18,6)` | YES |
| 122 | `sMaterialsStyle` | `varchar(100)` | NO |
| 123 | `sAuxiliaryUnit` | `varchar(100)` | NO |
| 124 | `dMaterialsQty` | `decimal(18,6)` | NO |
| 125 | `dConversionQty` | `decimal(18,6)` | NO |
| 126 | `dProofingMoney` | `decimal(18,6)` | NO |
| 127 | `dPlateMoney` | `decimal(18,6)` | NO |
| 128 | `dKnifeMouldMoney` | `decimal(18,6)` | NO |
| 129 | `dFreightMoney` | `decimal(18,6)` | NO |
| 130 | `dNProductPrice` | `decimal(18,6)` | NO |
| 131 | `dNProductMoney` | `decimal(18,6)` | NO |
| 132 | `dProductForeignPrice` | `decimal(18,6)` | NO |
| 133 | `dFreightReturnMoney` | `decimal(18,6)` | NO |
| 134 | `dKnifeMouldReturnMoney` | `decimal(18,6)` | NO |
| 135 | `dPlateReturnMoney` | `decimal(18,6)` | NO |
| 136 | `dProofingReturnMoney` | `decimal(18,6)` | NO |
| 137 | `dSingleReceiptQty` | `decimal(18,6)` | NO |
| 138 | `sSingleReceiptMemo` | `varchar(500)` | NO |
| 139 | `sVoucherBillminusNo` | `varchar(255)` | NO |
| 140 | `sVoucherBillminusId` | `varchar(255)` | NO |
| 141 | `sVoucherBillNo` | `varchar(255)` | NO |
| 142 | `sVoucherBillId` | `varchar(255)` | NO |
| 143 | `dNoCheckingQty` | `decimal(19,6)` | NO |
| 144 | `dProfitMoney` | `decimal(19,6)` | NO |
| 145 | `sMinusSrcId` | `varchar(255)` | NO |
| 146 | `sSrcFormId` | `varchar(255)` | NO |
| 147 | `bMasterFinance` | `bit(1)` | YES |
| 148 | `sMasterFinancePerson` | `varchar(255)` | YES |
| 149 | `tMasterFinanceDate` | `datetime` | YES |
| 150 | `dSparesQty` | `decimal(18,6)` | YES |
| 151 | `dBackSparesQty` | `decimal(18,6)` | YES |
| 152 | `sCustomerStyle` | `varchar(255)` | YES |
| 153 | `sDeliverNotifyId` | `varchar(100)` | NO |
| 154 | `sDeliverNotifySlaveId` | `varchar(100)` | NO |
| 155 | `sDeliverNotifyNo` | `varchar(255)` | NO |
| 156 | `bSingleReceipt` | `bit(1)` | YES |
| 157 | `bFinance` | `bit(1)` | YES |
| 158 | `sFinancePerson` | `varchar(255)` | YES |
| 159 | `tFinanceDate` | `datetime` | YES |
| 160 | `dRemainderQty` | `decimal(18,2)` | NO |
| 161 | `dBackRemainderQty` | `decimal(18,2)` | NO |
| 162 | `bLogisticsComplete` | `bit(1)` | YES |
| 163 | `dPresentQty` | `decimal(18,6)` | NO |
| 164 | `dSendCarSparesQty` | `decimal(18,6)` | YES |
| 165 | `dSendCarGiveQty` | `decimal(18,6)` | YES |
| 166 | `bRemainderScrap` | `bit(1)` | YES |
| 167 | `sCustomerName` | `varchar(255)` | NO |
| 168 | `sProductName` | `varchar(100)` | NO |
| 169 | `sWareHouseName` | `varchar(255)` | NO |
| 170 | `dCostProductQty` | `decimal(23,6)` | NO |
| 171 | `dCheckingMaterialsQty` | `decimal(18,6)` | NO |

## Definition

```sql
select `saldelivergoodsmaster`.`sId` AS `sId`,`saldelivergoodsmaster`.`sBrandsId` AS `sBrandsId`,`saldelivergoodsmaster`.`sSubsidiaryId` AS `sSubsidiaryId`,`saldelivergoodsmaster`.`tCreateDate` AS `tCreateDate`,`saldelivergoodsmaster`.`tCreateDate` AS `tUpdateDate`,`saldelivergoodsmaster`.`sMakePerson` AS `sMakePerson`,`saldelivergoodsmaster`.`iOrder` AS `iOrder`,`saldelivergoodsmaster`.`sFormId` AS `sFormId`,`saldelivergoodsmaster`.`sBillNo` AS `sBillNo`,`saldelivergoodsmaster`.`sCustomerId` AS `sCustomerId`,`saldelivergoodsmaster`.`sContacts` AS `sContacts`,`saldelivergoodsmaster`.`sPhone` AS `sPhone`,`saldelivergoodsmaster`.`tDeliverDate` AS `tDeliverDate`,`saldelivergoodsmaster`.`sSalesManId` AS `sSalesManId`,`saldelivergoodsmaster`.`sGetPayId` AS `sGetPayId`,`saldelivergoodsmaster`.`tGetPayDate` AS `tGetPayDate`,`saldelivergoodsmaster`.`sConsignee` AS `sConsignee`,`saldelivergoodsmaster`.`sConsigneeMobile` AS `sConsigneeMobile`,`saldelivergoodsmaster`.`sDeliverId` AS `sDeliverId`,`saldelivergoodsmaster`.`sProvince` AS `sProvince`,`saldelivergoodsmaster`.`sCity` AS `sCity`,`saldelivergoodsmaster`.`sArea` AS `sArea`,`saldelivergoodsmaster`.`sDeliverTo` AS `sDeliverTo`,`saldelivergoodsmaster`.`sManualNo` AS `sManualNo`,`saldelivergoodsmaster`.`sMemo` AS `sMemo`,`saldelivergoodsmaster`.`bCheck` AS `bCheck`,`saldelivergoodsmaster`.`tCheckDate` AS `tCheckDate`,`saldelivergoodsmaster`.`sCheckPerson` AS `sCheckPerson`,`saldelivergoodsmaster`.`bPrint` AS `bPrint`,`saldelivergoodsmaster`.`bCopyLimit` AS `bCopyLimit`,`saldelivergoodsmaster`.`dAdvanceMoney` AS `dAdvanceMoney`,`saldelivergoodsmaster`.`tAdvanceDate` AS `tAdvanceDate`,`saldelivergoodsmaster`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`saldelivergoodsmaster`.`sCurrency` AS `sCurrency`,`saldelivergoodsmaster`.`dCurrencyRate` AS `dCurrencyRate`,`saldelivergoodsmaster`.`sStatus` AS `sStatus`,`saldelivergoodsmaster`.`bInvalid` AS `bInvalid`,`saldelivergoodsmaster`.`sMReserve1` AS `sMReserve1`,`saldelivergoodsmaster`.`sMReserve2` AS `sMReserve2`,`saldelivergoodsmaster`.`sMReserve3` AS `sMReserve3`,`saldelivergoodsmaster`.`sMReserve4` AS `sMReserve4`,`saldelivergoodsmaster`.`sMReserve5` AS `sMReserve5`,`saldelivergoodsmaster`.`sMReserve6` AS `sMReserve6`,`saldelivergoodsmaster`.`dMReserve1` AS `dMReserve1`,`saldelivergoodsmaster`.`dMReserve2` AS `dMReserve2`,`saldelivergoodsmaster`.`dMReserve3` AS `dMReserve3`,`saldelivergoodsmaster`.`iMReserve1` AS `iMReserve1`,`saldelivergoodsmaster`.`iMReserve2` AS `iMReserve2`,`saldelivergoodsmaster`.`iMReserve3` AS `iMReserve3`,`saldelivergoodsmaster`.`tMReserve1` AS `tMReserve1`,`saldelivergoodsmaster`.`tMReserve2` AS `tMReserve2`,`saldelivergoodsslave`.`sId` AS `sSlaveId`,`saldelivergoodsslave`.`sProductId` AS `sProductId`,`saldelivergoodsslave`.`dProductQty` AS `dProductQty`,`saldelivergoodsslave`.`dProductPrice` AS `dProductPrice`,`saldelivergoodsslave`.`dProductMoney` AS `dProductMoney`,`saldelivergoodsslave`.`sMaterialsMemo` AS `sMaterialsMemo`,`saldelivergoodsslave`.`sProcessMemo` AS `sProcessMemo`,`saldelivergoodsslave`.`sSrcSlaveId` AS `sSrcSlaveId`,`saldelivergoodsslave`.`sSrcId` AS `sSrcId`,`saldelivergoodsslave`.`sSrcNo` AS `sSrcNo`,`saldelivergoodsslave`.`dSrcQty` AS `dSrcQty`,`saldelivergoodsslave`.`dProductPQty` AS `dProductPQty`,`saldelivergoodsslave`.`bCheckingComplete` AS `bCheckingComplete`,`saldelivergoodsslave`.`sSlaveMemo` AS `sSlaveMemo`,`saldelivergoodsslave`.`sTaxId` AS `sTaxId`,`saldelivergoodsslave`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`saldelivergoodsslave`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`saldelivergoodsslave`.`dProductTaxMoney` AS `dProductTaxMoney`,`saldelivergoodsslave`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`saldelivergoodsslave`.`dProductForeignMoney` AS `dProductForeignMoney`,`saldelivergoodsslave`.`dCheckingQty` AS `dCheckingQty`,`saldelivergoodsslave`.`dRejectQty` AS `dRejectQty`,`saldelivergoodsslave`.`dReceiptMoney` AS `dReceiptMoney`,`saldelivergoodsslave`.`sWebOrderNo` AS `sWebOrderNo`,`saldelivergoodsslave`.`sWebOrderId` AS `sWebOrderId`,`saldelivergoodsslave`.`sBarcode` AS `sBarcode`,`saldelivergoodsslave`.`dGiveQty` AS `dGiveQty`,`saldelivergoodsslave`.`sDefineNo` AS `sDefineNo`,`saldelivergoodsslave`.`sDefineNo2` AS `sDefineNo2`,`saldelivergoodsslave`.`sWareHouseId` AS `sWareHouseId`,`saldelivergoodsslave`.`sLocationId` AS `sLocationId`,`saldelivergoodsslave`.`sWareHouseLocationId` AS `sWareHouseLocationId`,`saldelivergoodsslave`.`sOrderId` AS `sOrderId`,`saldelivergoodsslave`.`sOrderSlaveId` AS `sOrderSlaveId`,`saldelivergoodsslave`.`sOrderNo` AS `sOrderNo`,`saldelivergoodsslave`.`sWorkOrderId` AS `sWorkOrderId`,`saldelivergoodsslave`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`saldelivergoodsslave`.`sWorkOrderNo` AS `sWorkOrderNo`,`saldelivergoodsslave`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`saldelivergoodsslave`.`sSReserve1` AS `sSReserve1`,`saldelivergoodsslave`.`sSReserve2` AS `sSReserve2`,`saldelivergoodsslave`.`sSReserve3` AS `sSReserve3`,`saldelivergoodsslave`.`sSReserve4` AS `sSReserve4`,`saldelivergoodsslave`.`sSReserve5` AS `sSReserve5`,`saldelivergoodsslave`.`sSReserve6` AS `sSReserve6`,`saldelivergoodsslave`.`dSReserve1` AS `dSReserve1`,`saldelivergoodsslave`.`dSReserve2` AS `dSReserve2`,`saldelivergoodsslave`.`dSReserve3` AS `dSReserve3`,`saldelivergoodsslave`.`iSReserve1` AS `iSReserve1`,`saldelivergoodsslave`.`iSReserve2` AS `iSReserve2`,`saldelivergoodsslave`.`iSReserve3` AS `iSReserve3`,`saldelivergoodsslave`.`tSReserve1` AS `tSReserve1`,`saldelivergoodsslave`.`tSReserve2` AS `tSReserve2`,`saldelivergoodsslave`.`iOrder` AS `iSlaveOrder`,`saldelivergoodsmaster`.`bAdvanceComplete` AS `bAdvanceComplete`,`saldelivergoodsmaster`.`sSenderId` AS `sSenderId`,`saldelivergoodsmaster`.`sLogisticsMobile` AS `sLogisticsMobile`,`saldelivergoodsmaster`.`sLogisticsNo` AS `sLogisticsNo`,`saldelivergoodsmaster`.`sLogisticsId` AS `sLogisticsId`,`saldelivergoodsslave`.`iIncrement` AS `iIncrement`,`saldelivergoodsslave`.`bSalSendCarComplete` AS `bSalSendCarComplete`,`saldelivergoodsslave`.`bReceiptComplete` AS `bReceiptComplete`,`saldelivergoodsslave`.`dSendCarQty` AS `dSendCarQty`,`saldelivergoodsslave`.`dPackQty` AS `dPackQty`,`saldelivergoodsslave`.`dTrunkQty` AS `dTrunkQty`,`saldelivergoodsslave`.`dFractionQty` AS `dFractionQty`,`saldelivergoodsslave`.`sSingleReceipt` AS `sSingleReceipt`,`saldelivergoodsslave`.`tSingleReceipt` AS `tSingleReceipt`,`saldelivergoodsslave`.`dCostPrice` AS `dCostPrice`,`saldelivergoodsslave`.`dCostMoney` AS `dCostMoney`,`saldelivergoodsslave`.`sMaterialsStyle` AS `sMaterialsStyle`,`saldelivergoodsslave`.`sAuxiliaryUnit` AS `sAuxiliaryUnit`,`saldelivergoodsslave`.`dMaterialsQty` AS `dMaterialsQty`,`saldelivergoodsslave`.`dConversionQty` AS `dConversionQty`,`saldelivergoodsslave`.`dProofingMoney` AS `dProofingMoney`,`saldelivergoodsslave`.`dPlateMoney` AS `dPlateMoney`,`saldelivergoodsslave`.`dKnifeMouldMoney` AS `dKnifeMouldMoney`,`saldelivergoodsslave`.`dFreightMoney` AS `dFreightMoney`,`saldelivergoodsslave`.`dNProductPrice` AS `dNProductPrice`,`saldelivergoodsslave`.`dNProductMoney` AS `dNProductMoney`,`saldelivergoodsslave`.`dProductForeignPrice` AS `dProductForeignPrice`,`saldelivergoodsslave`.`dFreightReturnMoney` AS `dFreightReturnMoney`,`saldelivergoodsslave`.`dKnifeMouldReturnMoney` AS `dKnifeMouldReturnMoney`,`saldelivergoodsslave`.`dPlateReturnMoney` AS `dPlateReturnMoney`,`saldelivergoodsslave`.`dProofingReturnMoney` AS `dProofingReturnMoney`,`saldelivergoodsslave`.`dSingleReceiptQty` AS `dSingleReceiptQty`,`saldelivergoodsslave`.`sSingleReceiptMemo` AS `sSingleReceiptMemo`,`saldelivergoodsslave`.`sVoucherBillminusNo` AS `sVoucherBillminusNo`,`saldelivergoodsslave`.`sVoucherBillminusId` AS `sVoucherBillminusId`,`saldelivergoodsslave`.`sVoucherBillNo` AS `sVoucherBillNo`,`saldelivergoodsslave`.`sVoucherBillId` AS `sVoucherBillId`,(`saldelivergoodsslave`.`dProductQty` - `saldelivergoodsslave`.`dCheckingQty`) AS `dNoCheckingQty`,(ifnull(`saldelivergoodsslave`.`dProductNoTaxMoney`,0) - ifnull(`saldelivergoodsslave`.`dCostMoney`,0)) AS `dProfitMoney`,`saldelivergoodsmaster`.`sMinusSrcId` AS `sMinusSrcId`,`saldelivergoodsslave`.`sSrcFormId` AS `sSrcFormId`,`saldelivergoodsmaster`.`bFinance` AS `bMasterFinance`,`saldelivergoodsmaster`.`sFinancePerson` AS `sMasterFinancePerson`,`saldelivergoodsmaster`.`tFinanceDate` AS `tMasterFinanceDate`,`saldelivergoodsslave`.`dSparesQty` AS `dSparesQty`,`saldelivergoodsslave`.`dBackSparesQty` AS `dBackSparesQty`,`saldelivergoodsslave`.`sCustomerStyle` AS `sCustomerStyle`,`saldelivergoodsslave`.`sDeliverNotifyId` AS `sDeliverNotifyId`,`saldelivergoodsslave`.`sDeliverNotifySlaveId` AS `sDeliverNotifySlaveId`,`saldelivergoodsslave`.`sDeliverNotifyNo` AS `sDeliverNotifyNo`,`saldelivergoodsslave`.`bSingleReceipt` AS `bSingleReceipt`,`saldelivergoodsslave`.`bFinance` AS `bFinance`,`saldelivergoodsslave`.`sFinancePerson` AS `sFinancePerson`,`saldelivergoodsslave`.`tFinanceDate` AS `tFinanceDate`,`saldelivergoodsslave`.`dRemainderQty` AS `dRemainderQty`,`saldelivergoodsslave`.`dBackRemainderQty` AS `dBackRemainderQty`,`saldelivergoodsslave`.`bLogisticsComplete` AS `bLogisticsComplete`,`saldelivergoodsslave`.`dPresentQty` AS `dPresentQty`,`saldelivergoodsslave`.`dSendCarSparesQty` AS `dSendCarSparesQty`,`saldelivergoodsslave`.`dSendCarGiveQty` AS `dSendCarGiveQty`,`saldelivergoodsslave`.`bRemainderScrap` AS `bRemainderScrap`,`elecustomer`.`sCustomerName` AS `sCustomerName`,`eleproduct`.`sProductName` AS `sProductName`,`siswarehouse`.`sName` AS `sWareHouseName`,if((`saldelivergoodsslave`.`bNoObject` = 1),0,((`saldelivergoodsslave`.`dProductQty` + `saldelivergoodsslave`.`dGiveQty`) - `saldelivergoodsslave`.`dRemainderQty`)) AS `dCostProductQty`,`saldelivergoodsslave`.`dCheckingMaterialsQty` AS `dCheckingMaterialsQty` from ((((`saldelivergoodsmaster` join `saldelivergoodsslave` on((`saldelivergoodsslave`.`sParentId` = `saldelivergoodsmaster`.`sId`))) join `elecustomer` on((`saldelivergoodsmaster`.`sCustomerId` = `elecustomer`.`sId`))) join `eleproduct` on((`saldelivergoodsslave`.`sProductId` = `eleproduct`.`sId`))) join `siswarehouse` on((`saldelivergoodsmaster`.`sWareHouseId` = `siswarehouse`.`sId`)))
```

## Narrative

_No human-written narrative yet._
