| | |
| | | { |
| | | oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToSellOut_Delete " + lngBillKey.ToString()); |
| | | } |
| | | else if (DetailColl[0].HSourceBillType == "1402") //åè´§éç¥å |
| | | { |
| | | oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOutStockToPOStockIn_Delete " + lngBillKey.ToString()); |
| | | } |
| | | else |
| | | { |
| | | |
| | |
| | | else if(DetailColl[0].HSourceBillType == "1401") //éå®è®¢å |
| | | { |
| | | oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOrderToSellOut_Add " + lngBillKey.ToString()); |
| | | } |
| | | else if(DetailColl[0].HSourceBillType == "1402") //åè´§éç¥å |
| | | { |
| | | oCn.RunProc("exec h_p_Xs_UpDateRelation_SeOutStockToPOStockIn_Add " + lngBillKey.ToString()); |
| | | } |
| | | else |
| | | { |
| | |
| | | ",HInnerBillNo = '" + omodel.HInnerBillNo + "'" + |
| | | ",HCarriage = " + omodel.HCarriage + "" + |
| | | ",HCheckStatusMan = '" + omodel.HCheckStatusMan + "'" + |
| | | ",HProjectID = '" + omodel.HProjectID.ToString() + "'" + |
| | | ",HGroupID = '" + omodel.HGroupID.ToString() + "'" + |
| | | ",HPriceType = '" + omodel.HPriceType + "'" + |
| | | " where HInterID = " + lngBillKey; |
| | | //æ´æ°ä¸»è¡¨ |
| | | oCn.RunProc(mainSql); |
| | |
| | | ",HDeptID,HManagerID,HEmpID,HSupID,HSecManagerID,HKeeperID,HWHID,HSCWHID,HCurID,HExRate,HSellSID,HLinkMan,HLinkPhone" + |
| | | ",HSeOrderBillNo" + |
| | | ",HConveyCompID,HConveyTypeID,HConveyMoney" + |
| | | ",HExplanation,HInnerBillNo,HRedBlueFlag,HCarriage,HCheckStatusMan" + |
| | | ",HExplanation,HInnerBillNo,HRedBlueFlag,HCarriage,HCheckStatusMan,HProjectID,HGroupID,HPriceType" + |
| | | ") " + |
| | | "values(" + |
| | | "" + omodel.HInterID.ToString() + "" + |
| | |
| | | "," + DBUtility.ClsPub.BoolToString(omodel.HRedBlueFlag) + "" + |
| | | "," + omodel.HCarriage + "" + |
| | | ",'" + omodel.HCheckStatusMan + "'" + |
| | | ",'" + omodel.HProjectID.ToString() + "'" + |
| | | ",'" + omodel.HGroupID.ToString() + "'" + |
| | | ",'" + omodel.HPriceType + "'" + |
| | | ") "; |
| | | |
| | | oCn.RunProc(mainSql); |