| | |
| | | foreach (Model.ClsYS_ReceiveOtherBillSub oSub in DetailColl) |
| | | { |
| | | string subSql = "insert into YS_ReceiveOtherBillSub" + |
| | | "" + |
| | | "" + |
| | | "" + |
| | | "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HProjectMoneyID,HTypeSub,HMoney,HTaxRate,HSumMoney) " + |
| | | " values(" + |
| | | "" + omodel.HInterID.ToString() + |
| | | "," + oSub.HEntryID.ToString() + |
| | | "," + oSub.HSourceInterID + |
| | | "," + oSub.HSourceEntryID + |
| | | ",'" + oSub.HSourceBillNo + |
| | | "','" + oSub.HSourceBillType + |
| | | "','" + oSub.HProjectMoneyID + |
| | | "','" + oSub.HTypeSub + |
| | | "','" + oSub.HMoney + |
| | | "','" + oSub.HTaxRate + |
| | | "','" + oSub.HSumMoney + |
| | | "')"; |
| | | "" + |
| | | "" + |
| | | "" + |
| | | "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HProjectMoneyID,HTypeSub,HMoney,HTaxRate,HSumMoney,HQty,HPrice) " + |
| | | " values(" + |
| | | "" + omodel.HInterID.ToString() + |
| | | "," + oSub.HEntryID.ToString() + |
| | | "," + oSub.HSourceInterID + |
| | | "," + oSub.HSourceEntryID + |
| | | ",'" + oSub.HSourceBillNo + |
| | | "','" + oSub.HSourceBillType + |
| | | "','" + oSub.HProjectMoneyID + |
| | | "','" + oSub.HTypeSub + |
| | | "','" + oSub.HMoney + |
| | | "','" + oSub.HTaxRate + |
| | | "','" + oSub.HSumMoney + |
| | | "','" + oSub.HQty + |
| | | "','" + oSub.HPrice + |
| | | "')"; |
| | | oCn.RunProc(subSql); |
| | | } |
| | | sReturn = "ä¿®æ¹åæ®æåï¼"; |
| | |
| | | "" + |
| | | "" + |
| | | "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HProjectMoneyID,HTypeSub,HMoney,HTaxRate,HSumMoney) " + |
| | | ",HProjectMoneyID,HTypeSub,HMoney,HTaxRate,HSumMoney,HQty,HPrice) " + |
| | | " values(" + |
| | | "" + omodel.HInterID.ToString() + |
| | | "," + oSub.HEntryID.ToString() + |
| | |
| | | "','" + oSub.HMoney + |
| | | "','" + oSub.HTaxRate + |
| | | "','" + oSub.HSumMoney + |
| | | "','" + oSub.HQty + |
| | | "','" + oSub.HPrice + |
| | | "')"; |
| | | oCn.RunProc(subSql); |
| | | } |
| | |
| | | public double HMoney;// dec(18,8) //åæ®éé¢ |
| | | public double HTaxRate;// dec(18,8) //ç¨ç |
| | | public double HSumMoney;// dec(18,8) //æ»éé¢ |
| | | public double HQty;// dec(18,8) //ç¨ç |
| | | public double HPrice;// dec(18,8) //æ»éé¢ |
| | | } |
| | | } |