r18428 - gnucash/trunk/src/register/ledger-core - Bug #600374: Add editable transaction field in the register for bank accounts

Christian Stimming cstim at code.gnucash.org
Fri Nov 20 14:57:56 EST 2009


Author: cstim
Date: 2009-11-20 14:57:51 -0500 (Fri, 20 Nov 2009)
New Revision: 18428
Trac: http://svn.gnucash.org/trac/changeset/18428

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-layout.c
   gnucash/trunk/src/register/ledger-core/split-register-model-save.c
   gnucash/trunk/src/register/ledger-core/split-register-model.c
   gnucash/trunk/src/register/ledger-core/split-register.h
Log:
Bug #600374: Add editable transaction field in the register for bank accounts

Patch by James Raehl:
Currently, the only editable date in the register is the bank posting date.
This patch implements a second editable date in the first field of the second
line of a double-line mode register.  The entry date is borrowed in this
implementation.  I understand the entry date is used for such as stock
transactions, but to me is mostly useless for those keeping track of personal
finances.

This feature has been requested on occasion, such as at
https://lists.gnucash.org/pipermail/gnucash-devel/2003-August/010279.html and
https://bugzilla.gnome.org/show_bug.cgi?id=92274 and
http://lists.gnucash.org/pipermail/gnucash-user/2009-October/031839.html

"Transaction date" refers to such as the date the purchase was rung up in the
store cash register, payment mailed or possibly received by the recipient,
payment received by you, date you walked into the bank to make a deposit, or
even the date the expense was scheduled.  Your intent to expend the money is
definitely determined.  "Bank posting date" is when the bank has finally
debited or credited your account.  "Date entered" in Gnucash would be identical
to "transaction date", if you always without fail entered the transaction into
Gnucash on the same date as the purchase, bank deposit, etc.

Bug #92274 describes it better.  That mentions 3 dates, date mailed, date gas
company posts the payment, and date the bank debits the payment.  I track even
more dates on credit card transactions: statement date, date bill received,
payment mailing date, card payment received (card transaction) date, card
posting date, and bank posting date.  These are currently entered into my
transaction Notes field, which is one reason for my multi-line up/down Notes
field scroll patch, but Notes dates are not sortable.

Obviously, the use of sortable dates is flexible.  I use one date as a budget
date (group budgeted expenses with paychecks), and the second as bank posting
date.  I could obviously use a third date, the "transaction date", but haven't
implemented that yet (much more work).



More information about the gnucash-patches mailing list