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

Derek Atkins warlord at MIT.EDU
Tue Jun 18 10:03:08 EDT 2013


Mike Alexander <mta at umich.edu> writes:

> --On June 17, 2013 1:02:50 PM -0400 Derek Atkins <warlord at MIT.EDU>
> wrote:
>
>> 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.
>
> I suppose that's correct, but I'm not sure what it has to do with the
> current discussion.  I thought we were talking about how to record the
> transaction date for book closing transactions created by Tools->Close
> Book.  Or are you generalizing the discussion to the larger topic of
> transaction dates and cash vs. accrual accounting?

I was generalizing to the larger (but similar) discussion of how you
specify the period for any transaction.  Sure, we could solve the
one-off problem of closing transactions just with a flag, but why not
solve the more general problem and hit all of them at once with just a
little bit more work?

>            Mike

-derek

-- 
       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