• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Matt@9BallDesign
#1 Posted : Tuesday, March 9, 2010 7:59:06 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

My client called me and was wondering why an order jumped out of a sequence after they had adjusted it.


Example order page:



Order 1200

Order 1199

Order 1198

[color=red>Order]



After the edit:



Order 1200

<FONT color=red>Order 1197[/color]

Order 1199

Order 1198



I looked over all of it, asked all the right questions. The only thing that stands out as different is the Timestamp. In the above example, the first order was placed on 3/08/2010. The next two were 3/7/2010 and that last order 3/6/2010. After the edit, the timestamp of the order is now 3/08/2010 which jumps it out of sequence.



Anybody else getting this?



Changing the method in which the order table displays the orders so it's based on order number instead of timestamp is not the solution. In our opinion, the timestamp should be locked forever as it's tied to many important things.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Richard
#2 Posted : Tuesday, March 9, 2010 8:47:01 AM(UTC)
Richard

Rank: Member

Joined: 4/28/2003(UTC)
Posts: 141

Its happening on our site to Matt. We are running BV5.6 with updates.

Richard
www.somethingmorestore.com
Matt@9BallDesign
#3 Posted : Tuesday, March 9, 2010 11:46:42 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

Thanks Richard. Anybody else?
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Kman
#4 Posted : Tuesday, March 9, 2010 5:12:19 PM(UTC)
Kman

Rank: Member

Joined: 11/25/2003(UTC)
Posts: 370

Looks like there are two date fields in the order table. One is LastUpdated and one TimeOfOrder. From what you post here you are getting results sorted by LastUpdated and it would be better of course to use TimeOfOrder if possible. Could be something else since the edited order did not move to the top. I did however edit a couple orders on a 5.4 version and after saving they still showed in their proper place when viewing /BVAdmin/Orders/Default.aspx
Regards,
Kim(Kman) Rossey
www.toocoolwebs.com
BVSoftware - MerchantTribe Programming/Design, Database Programming and Business Applications
[email protected]
Matt@9BallDesign
#5 Posted : Wednesday, March 10, 2010 8:44:22 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

Kman, You are correct on the sorting being based on timeoforder however, it's not the real issue in this manner:

The order itself has a time stamp. In this situation, TimeOfOrder has been overwritten with the Last Modified Date. The order was placed on 3/4/2010 and now displays 3/8/2010.

That should never happen.

Potentially..... Entered into accounting system on wrong date. Shipping Emails sent on wrong date. Products not being available for the shipping date because since it's not going to be included in the daily PO's or Packing Slips they're not ordered or gobbled up by another order. Possibly losing the card authorization. etc., etc., etc.

Bottom line, the orginal "Time of Order" should never be overwritten! And I'm wondering if there's a gremlin in 5.6.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Marcus
#6 Posted : Thursday, March 11, 2010 11:30:50 AM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

The cause of this is the editing of the order. In order to recalculate discounts, etc. the order is switched temporarily into a non-placed mode to calculate, then back to placed mode after the edit. This causes a reset on the "time of order" stamp.

I've been looking carefully at how we handle edits in BV 6 because of this. Right now, there isn't a quick fix for BV 5 other than my recommendation that you only edit orders that are new and have not been paid yet. That is the safest way to handle things.

Here's what we're doing for BV 6.

1) All transactions (credit card charges, etc.) are logged separately as they are today in OrderPayment objects. This lets us report accurately on actual cash flow on a given date

2) We will only allow editing of orders that are newly received and not yet processed

3) We are building "helper" functionality that will allow you to create a new order based on an old one. For example, if the customer wishes to replace an item in their order we would automatically create a new order with a -1 for the old item and a +1 for the new item. The old order would have be tagged as an update to the original so you can track the history of where this came from.

Any opinions on this would be welcome.
Matt@9BallDesign
#7 Posted : Thursday, March 11, 2010 7:13:00 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

There's no way to tell the system "please don't reset the original timestamp" without some heavy lifting?
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Marcus
#8 Posted : Thursday, March 11, 2010 7:34:55 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

I'll look into it again to see if it is possible. If it is possible without ripping the entire order system apart I'll get it into the 5.7 service pack.
Matt@9BallDesign
#9 Posted : Thursday, March 11, 2010 10:41:52 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

Thanks marcus. If it isn't a mega rewrite... that would be nice.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
birdsafe
#10 Posted : Friday, March 12, 2010 3:09:03 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

One of the updates caused this problem -- I reported it last August -- Bug 48.
Marcus
#11 Posted : Monday, March 15, 2010 9:21:14 AM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Yes, the problem was introduced in an update. It was introduced during a fix where coupons and offers were not correctly calculated upon order editing. We want to make sure that any correction to the timestamp issue does not reintroduce problems with the calculations.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012