r23044 - gnucash/trunk/src/engine - Introduce transaction setter xaccTransSetDatePostedSecsNormalized() that ignores the time-of-day part.

Derek Atkins warlord at MIT.EDU
Mon Jun 17 13:02:50 EDT 2013

Mike Alexander <mta at umich.edu> writes:

> On Jun 14, 2013, at 1:50 PM, Derek Atkins <warlord at MIT.EDU> wrote:
>> First it would imply that we have the concept of Periods instead of
>> assuming a period based on the transaction date.
> Maybe, but I don't think so.  The use of the term "thirteenth period"
> is misleading (in the other software too) and I shouldn't have called
> it that.  It's really a flag on a transaction that says that the
> transaction took place at the very end of the date indicated.  All
> transactions with that flag set would sort after all transactions
> without it set, but otherwise would be ordinary transactions.  When we
> have our end of year meeting with our accountant he always gives us a
> list of end-of-year transactions to put in the books.  These are
> supposed to occur after all other transactions for the fiscal year and
> with this change would be dated for the last day in the year with this
> flag set.

If we're going to support the business features as Cash (versus
Accrual), then we need some way to specify that a transaction "happens"
in a period other than that denoted by its post-date.  Either that, or
we need to change the way the business features post to the CoA.

>            Mike


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list