RFC: Constraints on Cash accounts

Derek Atkins warlord@MIT.EDU
04 Dec 2001 10:35:41 -0500


What happens if you just change the (AUD$) currency so that the
denominator is e.g. 20 instead of 100?  Does that do the right thing?

-derek

Conrad Canterford <conrad@mail.watersprite.com.au> writes:

> All,
> 
> In Australia, physical cash (actual notes and coins) are limited to 
> multiples of $0.05 by virtue of the fact that we have no 1c or 2c coins 
> anymore. I'm sure a similar situation happens in other places.
> 
> This proposal is to implement a warning on certain accounts when those 
> accounts are not an exact multiple of the constraint. There are a couple 
> of ways this can be implemented:
> 
> 1. As an option to  particular currencies, but only effective on 
> accounts of type "Cash". This would mean that, if the currency has a 
> constraint associated with it, any "Cash" account in that currency will 
> display a warning if an amount is not a multiple of the constraint.
> 2.  On a per-account basis, with a multiple as an account option. This 
> would enable it to be applied to any accounts regardless of currency as 
> a user-setable option.
> 
> Option 2 is more general, but also a little fiddlier to implement. 
> Option 1 satisfies all my requirements, but if Option 2 is preferred 
> than that would be the better solution.
> 
> What do people think? Would either 1 or 2 be useful? What other 
> currencies might this apply to?
> 
> Your comments please (either to the list or me directly).
> 
> Conrad.
> -- 
> Conrad Canterford  (conrad@mail.watersprite.com.au)
> Water Sprite Pty Ltd   |  url - http://www.watersprite.com.au/
> GPO Box 355,           |  - Australian Tour and Event Management (ATEM)
> Canberra, ACT 2601     |  - Ticketing Division.
> Mobile: +61 402 697054 |  - Catering Services Division.
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

-- 
       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@MIT.EDU                        PGP key available