Re: Quote from student, after teaching Pick



Hi Mark
Answer embedded
"Mark Brown" <mbrown@xxxxxxxxxxxxx> wrote in message
news:46568bda$0$9958$4c368faf@xxxxxxxxxxxxxxxxx

"Bill H" <someone@xxxxxxxxxxxxxx> wrote in message
news:wL2dnYfVTe1ao8vbnZ2dnUVZ_tKjnZ2d@xxxxxxxxxxxxxx
Mark:

Now you've started something! :-)

That was kind of the point.


One example of a multi-part key is an A/P invoice; Vendor * Invoice.

So is that easier for the computer or for you? The point is that YOU know
everything already. You know the vendor and you know the invoice number.
Go get V*I. Why is V*I any more unique than item 12345? Selecting the
file by vendor or by invoice will be slower because it has to be processed
twice every time.

The whole point is that one needs another file to tell one what on earth
12345 refers to when you wish to look up the one item, thus seriously
complicating the update and recall. However one can fix the sort issue with
V*I simply by making them fixed length and even without this the system does
the work on sort keeping the create and recall situation simpler.



Secondly, you ask "why store what can be calculated?".

I agree that there needs to be redundancy with accounting. That's not
what I was talking about. We typically store Qty and Price. Do we really
need another field for Extended, or can we just multiply the two fields in
a correlative or Basic function?

We need to store the Extension in the final 2 decimal form whereas qty and
price may typically be 4 decimal with another calculation taken to 6
decimals places and then rounded for GST. Not only would this represent a
lot of extra work and source of error on every line it would also fall foul
of the rounding that may have occurred at payment - Cash must be rounded to
5 cents whereas Card is exact and may even incur a further charge for using
the card.

Many thanks for the discussion it helps me to reconsider ideas that may need
have become almost set in stone.
Regards
Peter McMurray


You asked... :-)

Bill

Always good to hear from you.

Mark



.



Relevant Pages

  • Re: When Encounter Racism! (OT)
    ... Sorry to hear about your episode in the department store. ... I find though that I am more subject to racism in Thailand than what my wife ... use a check rather than a charge card. ... She proceeded to write my license number on ...
    (soc.culture.thai)
  • The scams of Black Friday
    ... They don't call the day after Thanksgiving "Black Friday" for nothing. ... profitable for yourself, not the store. ... Most Black Friday deals are leaked early online. ... If the price at the register is significantly higher than ...
    (rec.sport.pro-wrestling)
  • Re: When Encounter Racism! (OT)
    ... Sorry to hear about your episode in the department store. ... I find though that I am more subject to racism in Thailand than what my wife ... use a check rather than a charge card. ... She proceeded to write my license number on ...
    (soc.culture.thai)
  • Re: OTP Never judge someone
    ... 'It's one of them welfare card things. ... counter and quickly walked out of the store. ... the shopping cart full of groceries. ... shopping cart and began loading his own groceries onto ...
    (alt.support.arthritis)
  • Re: One more local music store--gone
    ... bass, drums, etc., business and going to focus on school ... They have always been the kind of store that did both. ... the price I paid at the ... Guitar Center swallowed up Musician's Friend. ...
    (alt.guitar.amps)