public void copy(BillExpenseLine line) { AccountRef = line.AccountRef; Amount = line.Amount; Memo = line.Memo; CustomerRef = line.CustomerRef; ClassRef = line.ClassRef; BillableStatus = string.Empty; TxnLineID = string.Empty; }
public void updateExpenseLine(string account, BillExpenseLine line) { foreach (BillExpenseLine l in expenseLines) { if (l.AccountRef.ListID == account) { l.copy(line); break; } } }
public void addExpenseLine(BillExpenseLine line) { expenseLines.Add(line); }