Re: Overriding derived values



On 29 Nov 2005 12:47:16 -0800, dawn wrote:

(snip)
>Other than the use of the numerical codes (why not text codes?) I agree
>with your redesign. One question -- does the owner of the system ever
>want the discount to be overridden for more than a month? For example,
>in your scenario where someone has stolen, it seems like there should
>be a DENY code on this bowler indefinitely -- until it is changed.
>There is no reason to set this each month and plenty of reason not to
>introduce a possible failure by insisting it be set each month.

Hi Dawn,

Good point.

I'd favor a design with override code, override start date and override
end date. That makes it easy to enter a 6-month denial after stealing or
a 4-month guaranteed discount for winning a match against the competing
bowling club from the other side of the street.

For indefinite bans or discounts, set end date to either NULL or to a
silly date in the distant future, like 9999-12-31.

Best, Hugo
--

(Remove _NO_ and _SPAM_ to get my e-mail address)
.



Relevant Pages

  • Re: POS Printer
    ... printer These special codes are non-printable ... characters ... I see no reason to be concerned with it at all. ... I know that a POS printer has an internal buffer so just because we send ...
    (microsoft.public.vc.mfc)
  • Re: Problem printing
    ... It's a long time since I used printer control codes and with my old fading memory I can't at the moment check whether or not you are sending valid codes. ... In the meantime is there a specific reason why you are printing this way instead of simply using the VB printer object? ... Presumably you are using a printer that will actually work as a simple line printer in the old "raw ascii data" mode, but even if you are you need to be aware of the fact that printing code written in this fashion is likely to cease to work if you for any reason change to a different printer. ...
    (microsoft.public.vb.general.discussion)
  • Re: [Alsa-devel] [PATCH] Reset file->f_op =?iso-8859-1?q?in=09snd=5Fcard=5Ffile=5Fre
    ... Any special reason to make it separate instead of patching init.c? ... Most of codes are already in init.c. ... the virtual device instance is freeed. ... * GNU General Public License for more details. ...
    (Linux-Kernel)
  • Re: my travel agent just saved me $250
    ... since we are using our Disney Visa that saved us $250. ... The code was just released yesterday. ... discount, but requires at least some ticket purchase. ... Speaking of codes, I'm patiently awaiting any AP room discount codes for ...
    (rec.arts.disney.parks)
  • Re: POS Printer
    ... parallel port) but for some reason it seems really difficult for me. ... I initially had a CStringA in my code but before taking the application to ... the test site, I thought it would be a good idea to write all the things ... codes are received correctly, but for some reason it ignores them. ...
    (microsoft.public.vc.mfc)