| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | UserName = oItem.HMaker; //制单人 |
| | | oItem.HBillType = "1114"; |
| | | oItem.HBillSubType = "1114"; |
| | |
| | | bool bResult; |
| | | if (refSav == "Add") |
| | | { |
| | | |
| | | // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); |
| | | bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | |
| | | |
| | | oCN.BeginTran(); |
| | | |
| | | //应付单 删除 撤销 采购入库单 关联数量 |
| | | oCN.RunProc("exec h_p_Cg_UpDateRelation_POStockInToPayable_Del " + HInterID); |
| | | |
| | | //应付单 删除 撤销 采购订单 关联数量 |
| | | oCN.RunProc("exec h_p_Cg_UpDateRelation_POOrderToPayable_Del " + HInterID); |
| | | |
| | | oCN.RunProc("delete from Cg_PayableBillMain where HInterID = " + HInterID); |
| | | oCN.RunProc("delete from Cg_PayableSub where HInterID= " + HInterID); |
| | | |