internal void AddNewDisposals(Entities edc, Linq.DisposalEnum _kind, ref decimal _toDispose) { foreach (IPR _iprx in this.Accounts2Dispose) { if (_iprx.TobaccoNotAllocated <= 0) { continue; } _iprx.AddDisposal(edc, _kind, ref _toDispose, this); if (_toDispose <= 0) { return; } } }
internal void AddNewDisposals(Entities edc, Linq.DisposalEnum _kind, ref decimal _toDispose, InvoiceContent invoiceContent, SharePoint.Logging.NamedTraceLogger.TraceAction trace) { trace("Entering Material.AddNewDisposals", 421, TraceSeverity.Verbose); foreach (IPR _iprx in this.Accounts2Dispose) { if (_iprx.TobaccoNotAllocated <= 0) { continue; } _iprx.AddDisposal(edc, _kind, ref _toDispose, this, invoiceContent, trace); if (_toDispose <= 0) { break; } } }