Questions about NAV schema on SQL Server

RSA_Tech
Member Posts: 65
Hey all, NAV 2013 R2 here
Trying to find a way via sql to find all Sales Orders that have had a picking list printed but have not been shipped.
Using some homebrew queries to dig around the schema has me abit overwhelmed with options.
Could any one point me to the tables I'd need to join together to get that info?
Info needed:
Order No_
Picking List printed yes or no
Shipped or shipment date
I was working from the [Sales Invoice Header] table and figured I'd see what you grizzled vets have to say.
The reason why this occurred is because the user was batch printing the picking list for Shipping Orders and hitting 'ENTER' too many times effectively canceling certain orders from being printed. Those orders were marked as printed somehow (because they didn't come back into the queue). We found out the error and now I'd like to look at the last few days of orders to see if any others were accidentally canceled at that point.
Trying to find a way via sql to find all Sales Orders that have had a picking list printed but have not been shipped.
Using some homebrew queries to dig around the schema has me abit overwhelmed with options.
Could any one point me to the tables I'd need to join together to get that info?
Info needed:
Order No_
Picking List printed yes or no
Shipped or shipment date
I was working from the [Sales Invoice Header] table and figured I'd see what you grizzled vets have to say.
The reason why this occurred is because the user was batch printing the picking list for Shipping Orders and hitting 'ENTER' too many times effectively canceling certain orders from being printed. Those orders were marked as printed somehow (because they didn't come back into the queue). We found out the error and now I'd like to look at the last few days of orders to see if any others were accidentally canceled at that point.
0
Answers
-
Should I be looking at existing reports or is fishing around in SQL good for historical things?0
-
I've been using a combination of column searching within SQL, the NAV dev client and MSDN to find columns and fields.
to synthesize and restate the question:
What's a good way to get my head around the NAV table and column scheme to be half decent and pulling reports together?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions