| | |
| | | HProQty = oItemSub.HProQty; |
| | | |
| | | sql = "select * from h_v_Sc_ProcessExchangeBill_BatchSplit where hmainid = " + oItemSub.HICMOInterID + " and hentryid = " |
| | | + oItemSub.HICMOEntryID; |
| | | + oItemSub.HICMOEntryID + " and HRoutingID = " + oItemSub.HRoutingInterID.ToString(); |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_ProcessExchangeBill_BatchSplit"); |
| | | //主表赋值 |
| | | if (ds.Tables[0].Rows.Count > 0 && ds != null) |
| | |
| | | oItemSubs.HSeOrderInterID = 0; |
| | | oItemSubs.HSeOrderEntryID = 0; |
| | | oItemSubs.HSNCtrl = false; |
| | | oItemSubs.HRoutingBillMainID = Pub_Class.ClsPub.isLong(ds.Tables[0].Rows[i]["HRoutingID"]); |
| | | oItemSubs.HRoutingBillEntryID = Pub_Class.ClsPub.isLong(ds.Tables[0].Rows[i]["HRoutingEntryID"]); |
| | | |
| | | oBill.DetailColl.Add(oItemSubs);//添加明细行值 |
| | | } |