| | |
| | | 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.HDeptID = Pub_Class.ClsPub.isLong(ds.Tables[0].Rows[i]["HDeptID"]); |
| | | oItemSubs.HDeptNumber = ds.Tables[0].Rows[i]["HDeptNumber"].ToString(); |
| | | oItemSubs.HGroupID = 0; |
| | | oItemSubs.HGroupNumber = ""; |
| | | oItemSubs.HGroupNumber = oItemSub.HGroupNumber; |
| | | oItemSubs.HWorkerID = 0; |
| | | oItemSubs.HWorkerNumber = ""; |
| | | oItemSubs.HSourceID = 0; |