public void ShowLedgerTransactionsDialog(LedgerEntryLine ledgerEntryLine, LedgerEntry ledgerEntry, bool isNew)
{
if (ledgerEntry == null)
{
return;
}
InBalanceAdjustmentMode = false;
InLedgerEntryMode = true;
LedgerEntry = ledgerEntry;
this.entryLine = ledgerEntryLine; // Will be null when editing an existing LedgerEntry as opposed to creating a new reconciliation.
ShownTransactions = new ObservableCollection<LedgerTransaction>(LedgerEntry.Transactions);
Title = string.Format(CultureInfo.CurrentCulture, "{0} Transactions", ledgerEntry.LedgerBucket.BudgetBucket.Code);
OpeningBalance = RetrieveOpeningBalance();
ShowDialogCommon(isNew);
}