| | |
| | | string sql =string.Format(@"select A.HInterID,b.HEntryID,A.HBillStatus,A.HBillNo,A.HDate,A.HContext,A.HDescription,A.HRemark, |
| | | A.HQty,A.HSendType,a.HForm,a.HChangeNote,a.HNote,a.HBadProcMan,f1.HName HBadProcManName, |
| | | a.HQEMan,f2.HName HQEManName,a.HSourceID,s.HName HSourceName,a.HShiftsID,s1.HName HShiftsName, |
| | | A.HDeptID,D.HName HDeptName, A.HSendMan, |
| | | A.HDeptID,D.HName HDeptName, A.HSendMan,a.HCenterID HCenterID,wo.HName HCenterName, |
| | | A.HReceiveMan,A.HCopyMan,A.HHasten, |
| | | A.HLevel,A.HMaterNumber,A.HMaterName,A.HMaterModel, |
| | | B.HReadFlag, A.HMaker,A.HMakeDate,A.HUpDater,A.HUpDateDate,A.HChecker,A.HCheckDate,A.HCloseMan,A.HCloseDate,A.HDeleteMan,A.HDeleteDate, |
| | |
| | | left join Gy_Employee f2 on a.HQEMan=f2.HItemID |
| | | left join Gy_Source s on a.HSourceID=s.HItemID |
| | | left join Gy_Shifts s1 on a.HShiftsID=s1.HItemID |
| | | left join Gy_WorkCenter wo on a.HCenterID=wo.HItemID |
| | | where A.HInterID='" + HID + "' and b.HEntryID='" + HEntryID + "'"); |
| | | var dataSet = oCN.RunProcReturn(sql, "OA_ErrMsgBackBillMain"); |
| | | if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) |