HQ/Store date mismatch

Apr 28, 2006 1 Replies

We just deployed our 3rd store and eveyrthing was working fine, transactions were being uploaded and everything. Then, the store ops DB computer got moved, and I guess at some point someone changed the date on the computer to be a month in advance.



Now, all of our transactions from 4/25/2006 to 4/27/2006 are actually in the DB as 5/25/2006 to 5/27/2006.



I just discovered the problem and changed the date on the Store Ops machine, but I don't know what the best way to fix these transactions is, or if it is even possible.



What I'd like to do is go change all of these transactions to be the right date and I assume that involves removing them from HQ Server, changing the date in Store Ops and then re-syncing...



Anyone know what SQL to run to change the dates? Would this also change the Closing/Batch dates as well?



Thanks, Scott


3 stores[9 lanes] + HQ



We have never found a solution for changing all the sales data to the correct date. If someone has a solution, I would love to see it. Another thing we found when stores set future dates is they will poll at sales data between 4/25/2006 including the journals from that date forward until you reach 5/25/2006. In your case they will only poll one months worth of data. The timestamp at HQ doesn't reset until you reach 5/25/2005. We had stores that were taking 3+ hours to do a poll on dial-up internet. Microsoft spent 2 months working on a solution with us and here is the simple query that reset the timestamp at HQ.

--Delete TimeStamp

SELECT * FROM TimeStampLog WHERE ServerTime > getdate() ORDER BY ServerTime DESC

--If the above query results in any rows, please save the results and run the following query:

delete from timestamplog where ServerTime > getdate()

--This will remove those records so that they will not be considered when deciding which --timestamp to use for data uploads.

--Then, run a 401 after deleting these entries to verify that large recordsets are not being --uploaded

ScottFC wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required