What would be the best way to extract Items sold by zip code. I believe the only way to do it would be to create a report linking the sale header and line tables? I am trying to get the data out to excel to manipulate.
Format:
Zip code
Item No. Amount Cost
grouping would be by zip code
Any suggestions would be greatly appreciated.
0
Comments
ZIPCODE 11747
-Item ABC 1000 pcs
-Item ABD 1023 pcs
Instead of having a ton of lines per item no?
http://www.BiloBeauty.com
http://www.autismspeaks.org
I would use tables Item ledger Entry & Sales invoice Header you can link the ILE-Document No. to SIH-No.
If your not good at using Nav Reports - Try first using the wizard to create a report in the Item Ledger Entries. Add fields Item, Quantity & amount.
You'll want to keep totals on Quanty & Amount. You'll be asked to sort & group Choose a Key That has Item No First. Finish the wizard & now when you run the report you can see it will total by item (STEP1) Now you'll have to add the Sales Invoice Header dataitem above ILE & create the link. Add A SIN GroupFooter Underneath for the zipcode.
...anyway
Can you use Odbc to connect to Excel.?
If So try this.
open Excel.
Data->Import External Data->New Database Query
Choose your Odbc Datasource you have setup->OK->Login
you list of table should appear
Select Sales Invoice Header & item ledger Entry Tables.->Next
I manually Link The Two Tables now.
ITL-Document No to SIH-No.
Now your ledger entries have a zip code attached to it.
If your good at Excel you should be able to work your magic at this point.
- Note the report you really want can be made in under 30 seconds in Crytal Reports. & Exported right to Excel. FYI. It's really awsome.
http://www.BiloBeauty.com
http://www.autismspeaks.org
I think the report route is creating a lot of extra work. I think I need to fine tune the import to excel as it takes quite a bit of time.
I have ODBC and Crystal reports 11. I am trying to configure my odbc to connect with my native server database. I was able to make it work on a local database but have hit a snag trying to connect. From your description this sounds like the best route, if I can get the ODBC to work.
c/odbc or n/odbc with native - odbc for sql
Crystal lets you group & sort by anything, even variables you make up.
then Export->Excel->Done
We do alot of Customer Ledger Entries by Zip - to help create territories for our salespeople.
http://www.BiloBeauty.com
http://www.autismspeaks.org
You are using the report for the same exact reason that I am trying to setup. :-)
Make sure in Control Panel->Administrative tools->Data Sources is set up properly. Did you specify the database server directory?
http://www.BiloBeauty.com
http://www.autismspeaks.org
1,700-C/ODBC-1 to run it on a network
then here's how I set mine up
http://savatage99.googlepages.com/OdbcSetup.pdf
http://www.BiloBeauty.com
http://www.autismspeaks.org
I have it mapped to the Database Server Folder in the navision directrory on the server.
http://www.BiloBeauty.com
http://www.autismspeaks.org
http://www.BiloBeauty.com
http://www.autismspeaks.org