lookup ... show...insert data using VBA to NAV database

julkifli33
Member Posts: 1,092
hi all...
have anyone ever create VBA code in excel which is have lookup (like if we want to select customer in sales order),show data from nav table... and then insert it into nav database?
please share
thanks
have anyone ever create VBA code in excel which is have lookup (like if we want to select customer in sales order),show data from nav table... and then insert it into nav database?
please share
thanks
0
Comments
-
I hope not.
It's better to use webservices instead. You can download examples from MSDN.0 -
Mark Brummel wrote:I hope not.
It's better to use webservices instead. You can download examples from MSDN.
i never use webservices
so... if we use webservice, where we key in the transaction?
is it we create another application?0 -
Actually yes, I believe JetReports have developped a lookup from excel, and they show values from NAV (I believe that is what u need).
Unfortunatly they don't give out their code under GPL (or any other opensource license). But you might want to check it out.
For modification trough Excel, I'd have to follow Mark and opt for webservices.0 -
yes... i already use webservice
i read from someones blog that taught how to create for customer list
yes it success... but i tried change for sales order
it failed
i create another webservice... named SalesOrder
and reference name SalesOrderRef
the failed portion ispublic Type GetObjectType() { return typeof(SalesOrder); } public Type GetFieldsType() { return typeof(SalesOrder_Fields); }
the error isError 2 'NAVTemplate.SalesOrderRef.SalesOrder_Service' does not implement interface member 'NAVTemplate.INAVService.GetFieldsType()'. 'NAVTemplate.SalesOrderRef.SalesOrder_Service.GetFieldsType()' cannot implement 'NAVTemplate.INAVService.GetFieldsType()' because it does not have the matching return type of 'System.Type'. D:\WebServices\NAVTemplate\NAVTemplate\Web References\SalesOrderRef\Reference.cs 30 26 NAVTemplate
anyone can help?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