| | |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") |
| | | { |
| | | LogService.Write("生产汇报单保存失败原因:" + ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | oCn.RollBack(); |
| | | return false; |
| | |
| | | , "h_p_Sc_ICMOReportBill_ReverseWriteQty"); |
| | | if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") |
| | | { |
| | | LogService.Write("生产汇报单保存失败原因:" + ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | oCn.RollBack(); |
| | | return false; |
| | |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) == "1") |
| | | { |
| | | LogService.Write("生产汇报单保存失败原因:" + ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | sReturn = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | oCn.RollBack(); |
| | | return false; |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write("生产汇报单保存失败原因:" + e.Message); |
| | | sReturn = e.Message; |
| | | oCn.RollBack(); |
| | | throw (e); |