예제 #1
0
파일: Hold.cs 프로젝트: Eric-Guo/uo-mes
 protected override bool RecordServiceHistory()
 {
     HoldReleaseHistory h = new HoldReleaseHistory();
     AssignToHoldReleaseHistory(h);
     ObjScope.Add(h);
     return true;
 }
예제 #2
0
파일: Release.cs 프로젝트: Eric-Guo/uo-mes
 protected virtual void AssignToHoldReleaseHistory(HoldReleaseHistory existHoldHistory, HoldReleaseHistory releaseHistory)
 {
     releaseHistory.HistoryMainLine = this.HistoryMainLine;
     releaseHistory.RelaseReason = this.ReleaseReason;
     releaseHistory.ReleaseTime = this.HistoryMainLine.TxnDate;
     existHoldHistory.ReleaseHistory = releaseHistory;
 }
예제 #3
0
파일: Release.cs 프로젝트: Eric-Guo/uo-mes
 protected override bool RecordServiceHistory()
 {
     // Define Transaction History Object
     HoldReleaseHistory existHoldHistory =ResolveHoldHistory(Container);
     HoldReleaseHistory newReleaseHistory = new HoldReleaseHistory();
     AssignToHoldReleaseHistory(existHoldHistory,newReleaseHistory);
     ObjScope.Add(newReleaseHistory);
     return true;
 }
예제 #4
0
파일: Hold.cs 프로젝트: Eric-Guo/uo-mes
 protected virtual void AssignToHoldReleaseHistory(HoldReleaseHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.HoldReason = HoldReason;
     t.HoldTime = this.HistoryMainLine.TxnDate;
 }