- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
second!
Filed Under: I usually don't stand a chance but now I somehow do....
Admin
Yeah, as seen here...
http://anneelliott.com/images/tumbleweed.jpg
Admin
So what? VB's had write-only properties long before I stumbled upon it. According to the help files, for exactly this kind of purpose (iirc).
Admin
It just happens that last week the people running a "down stream" system brought me a bug that they could not find where my vendor's software stored certain costs, as seen on the screen, in the database. Long story short... Someone at the client site had changed the screen to do computations and display different numbers than are in the database. You see, there had been a change request from the business to change the premium being charged to the customer, as shown on this screen. So the coder changed the screen to show the altered (correct) numbers. ...while leaving the old computation and numbers in the database -- to feed to other systems -- which actually bill the customers.
:-[
Admin
Sorry no WTF for you. There are plenty of valid reasons to store numbers one way and show them the other way. The WTF might be that the exporting thingy doesn't do calculations or doesn't provide context. Or the importer thingy expects the correct values but forgets to do the calculations itself.
Admin
Of course not, it was a WTF for his vendor.
Admin
I read the title as "Abuse of Prophecies" and was about to blame @Voldemort again.
Admin
True. Certainly true. You do have a point there.
It's kind of like this... The pricing module says that widgets should cost $10 each. So when we ask for the price, to put on the invoice, it returns $10. The invoice is displayed on the screen. It says $10 each. But the business users want it to be $12 each. So the coder changes the screen to recognize that widgets, and show $12. Now, of course, we could change the code in the feed to the billing system to recognize widgets and change the price to $12 each. Or maybe it would be better to change it in the billing system, to recognize widgets and change the price to $12. Likewise, we could change the feed to the general ledger, or the receiving program to do likewise. And same for the feeds to the data warehouse and reporting systems. etc...
Or... Maybe. Just maybe. I know it's a CRAZY idea, and it's just to risky to even think about such things, due to the possible long-range consequences of taking such actions...
Maybe we could change the pricing module to say that widgets should cost $12 each.
;-)
Admin
It's a huge WTF if it displays a different price than what it stores in the database and bills you for.
Admin
Admin
It IS a WTF if, as he said, somebody changed what the base unit price was displayed as without changing what it was actually stored as
Admin
To me that sounds like it might just be a change in VAT, a discount, surcharge, tax, or whatnot.
Admin
This is why Java doesn't have nice things.