WebAPI/Controllers/XSGL/YS_ReceiveBillController.cs
@@ -393,6 +393,14 @@ oCN.BeginTran(); ds = oCN.RunProcReturn("select * from h_v_YS_ReceiveBillList where hmainid=" + HInterID, "h_v_YS_ReceiveBillList"); string hSourceBillType = ds.Tables[0].Rows[0]["源单类型"].ToString(); if (hSourceBillType == "1426") { //收款单 删除回填 应付单关联数量 oCN.RunProc("exec h_p_Xs_UpDateRelation_ReceiveToReceivableIn_Del " + HInterID); } oCN.RunProc("delete from YS_ReceiveBillMain where HInterID = " + HInterID); oCN.RunProc("delete from YS_ReceiveBillSub where HInterID= " + HInterID);