Solved

Updating a View in MS SQL 2000 for Navision 3.7

Posted on 2010-09-10
2
373 Views
Last Modified: 2012-05-10
I am trying to create a keyed import in UPS WorldShip to gather data from Navision 3.7.  The database is MS SQL 2000 and there is a view in SQL that has all of the information I am trying to get into WorldShip, but it only seems to gather data once a day.  If I scan an order right now I only get shipping data from orders that were placed yesterday.  If I look in the view it only shows the orders from yesterday.  We had to use the view because WorldShip keyed import would not allow symbols and spaces in the table name and SQL has both in all of our table names.  Does anyone know how I could get this view to update hourly, or get the keyed import in UPS WorldShip to work directly with our table regardless of naming convention?
0
Comment
Question by:jusery7
2 Comments
 
LVL 7

Expert Comment

by:rmm2001
ID: 33654902
My guess is that your view has a constraint just to show the previous day's orders and that's why it's filtering to that. To scan whenever you wanted to you could get the sql from the view and then change the WHERE clause to be something between say now and yesterday. You probably don't want to completely take it off as that would probably return more orders than what you are looking for.
0
 
LVL 1

Accepted Solution

by:
jusery7 earned 0 total points
ID: 33790746
Actually it turned out that I had another table that is no longer in use that was not updating anymore.  I removed the old table and it updates in real time.  Thanks for the suggestions.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now