Transaction Posted Time

Geert Janssens geert.gnucash at kobaltwit.be
Mon Jun 20 15:36:25 EDT 2016


On Monday 20 June 2016 12:14:24 John Ralls wrote:
> > Hi John,
> > 
> > In addition to the time stamp use cases Christian already mentioned,
> > I believe the time stamp is also relevant for sorting entries on an
> > invoice/bill ledger. This was implemented as a hack by Christian
> > IIRC such that to move an entry up or down the list on the same
> > day, internally the post dates of the two entries would be swapped.
> > As the post times currently all differ, this would effectively
> > alter the sorting order. If all post times will be normalized this
> > hack will no longer work. That's one other case to keep in mind
> > when dropping post times.
> > 
> > Other than that I'm fine with making the time change for the next
> > release.
> Geert,
> 
> Where is that code?
> 
> Regards,
> John Ralls

https://github.com/Gnucash/gnucash/blob/master/src/business/business-ledger/gncEntryLedger.c#L975

Which is called from gnc_invoice_window_entryUpCB and gnc_invoice_window_entryUpCB in
https://github.com/Gnucash/gnucash/blob/master/src/business/business-gnome/dialog-invoice.c

These in turn get called by callbacks for gui buttons 
(gnc_plugin_page_invoice_cmd_entryUp/Down). These callbacks can be found in
https://github.com/Gnucash/gnucash/blob/master/src/business/business-gnome/gnc-plugin-page-invoice.c

Regards,

Geert


More information about the gnucash-devel mailing list