protected override bool RecordServiceHistory() { HoldReleaseHistory h = new HoldReleaseHistory(); AssignToHoldReleaseHistory(h); ObjScope.Add(h); return true; }
protected virtual void AssignToHoldReleaseHistory(HoldReleaseHistory existHoldHistory, HoldReleaseHistory releaseHistory) { releaseHistory.HistoryMainLine = this.HistoryMainLine; releaseHistory.RelaseReason = this.ReleaseReason; releaseHistory.ReleaseTime = this.HistoryMainLine.TxnDate; existHoldHistory.ReleaseHistory = releaseHistory; }
protected override bool RecordServiceHistory() { // Define Transaction History Object HoldReleaseHistory existHoldHistory =ResolveHoldHistory(Container); HoldReleaseHistory newReleaseHistory = new HoldReleaseHistory(); AssignToHoldReleaseHistory(existHoldHistory,newReleaseHistory); ObjScope.Add(newReleaseHistory); return true; }
protected virtual void AssignToHoldReleaseHistory(HoldReleaseHistory t) { t.HistoryMainLine = this.HistoryMainLine; t.HoldReason = HoldReason; t.HoldTime = this.HistoryMainLine.TxnDate; }