| | |
| | | { |
| | | string subSql = "insert into Xs_SeOrderChangeBillSub" + |
| | | "(HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HMaterID,HUnitID,HQty_Old,HQty_New,HTaxPrice_Old,HTaxPrice_New,HDate_Old,HDate_New) " + |
| | | ",HMaterID,HUnitID,HQty_Old,HQty_New,HTaxRate_Old,HTaxRate_New,HTaxPrice_Old,HTaxPrice_New,HDate_Old,HDate_New) " + |
| | | " values(" + |
| | | "" + omodel.HInterID.ToString() + |
| | | "," + oSub.HEntryID.ToString() + |
| | |
| | | "," + oSub.HUnitID + |
| | | "," + oSub.HQty_Old + |
| | | "," + oSub.HQty_New + |
| | | "," + oSub.HTaxRate_Old + |
| | | "," + oSub.HTaxRate_New + |
| | | "," + oSub.HTaxPrice_Old + |
| | | "," + oSub.HTaxPrice_New + |
| | | ",'" + oSub.HDate_Old + "'" + |
| | |
| | | { |
| | | string subSql = "insert into Xs_SeOrderChangeBillSub" + |
| | | "(HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HMaterID,HUnitID,HQty_Old,HQty_New,HTaxPrice_Old,HTaxPrice_New,HDate_Old,HDate_New) " + |
| | | ",HMaterID,HUnitID,HQty_Old,HQty_New,HTaxRate_Old,HTaxRate_New,HTaxPrice_Old,HTaxPrice_New,HDate_Old,HDate_New) " + |
| | | " values(" + |
| | | "" + omodel.HInterID.ToString() + |
| | | "," + oSub.HEntryID.ToString() + |
| | |
| | | "," + oSub.HUnitID + |
| | | "," + oSub.HQty_Old + |
| | | "," + oSub.HQty_New + |
| | | "," + oSub.HTaxRate_Old + |
| | | "," + oSub.HTaxRate_New + |
| | | "," + oSub.HTaxPrice_Old + |
| | | "," + oSub.HTaxPrice_New + |
| | | ",'" + oSub.HDate_Old + "'" + |