Attain Database
 Home            Links 

Navision Attain Database access via C/ODBC ASP.NET Application Software


NavisionAttainDatabaseNavision Attain Database access via C/ODBC ASP.NET Application Software

 


Navision Software was purchased by Microsoft and now it is supported by Microsoft Business Solutions together with Microsoft Great Plains, Axapta, Solomon, Microsoft Retail Management System and Microsoft CRM. Navision has extremely strong position on mid-size European and US markets, plus it has excellent manufacturing solution. Our goal is to help IT departments to support and tune Navision with in-house expertise and skills. The topic of this article is Navision database access from ASP.NET application via C/ODBC interface. Our goal will be ASPX page accessing Navision Customers.


Let's begin


1. In our case we will use Navision Attain 3.6 with Navision Database Server, Navision Application Server and Navision Client. These components are installed on Windows XP. You also need to install C/ODBC component form Navision Attain CD.


2. Let's create ODBC DSN for Navision data access. Select Control Panel -> Administrative Tools -> Data Sources (ODBC). Then select System DSN tab and press Add button. We'll use C/ODBC 32-bit data access driver. We'll name Data Source Name Navision, Connection leave Local. As the database (Database button) select Program FilesNavision AttainClientdatabase.fdb (demo database). Then click Company button ? we'll use CRONUS demo company. It is important for C/SIDE correct database access to setup proper options for C/ODBC connection. Press Options button and look at the options available ? we'll need Identifiers parameter ? it defines identifiers types, which will be transferred to the client application. In order to work correct with MS SQL Server 2000 with C/ODBC source we need to use these type: "a-z,A-Z,0-9,_". Now DNS is done. Let's create Linked Server.


3. Open MS SQL Server Enterprise Manager. Open server tree for the server, which you plan to use, for this server open Security folder and Lined Servers. With right click select New Linked Server in context menu. In the dialog box opened in the Provider Name select Microsoft OLE DB Provider for ODBC Drivers. Let's name our Linked Server NAVISION. In Data Source string enter ODBC DSN name - NAVISION in our case. Linked Server is ready! Let's select tables list and look at the data from Navision Attain database.


4. Next we need to create small stored procedure for sales data selection. Here is the text of the procedure: SET ANSI_NULLS ON SET ANSI_WARNINGS ON GO


CREATE PROCEDURE NavisionCustomers AS


DBCC TRACEON(8765) SELECT No_, Name, Address, City, Contact FROM OPENQUERY(NAVISION, 'SELECT * FROM Customer')


RETURN


Let's clarify some points here. TRACEON(8765) directive allows us to work with the data of variable length, returned by C/ODBC driver. Without it we can not select Navision tables fields ? we will have these errors:


OLE DB error trace [Non-interface error: Unexpected data length returned for the column: ProviderName='MSDASQL', TableName='[MSDASQL]', ColumnName='Ship_to_Filter', ExpectedLength='250', ReturnedLength='1']. Server: Msg 7347, Level 16, State 1, Line 1 OLE DB provider 'MSDASQL' returned an unexpected data length for the fixed-length column '[MSDASQL].Ship_to_Filter'. The expected data length is 250, while the returned data length is 1.


OPENQUERY command opens linked server and gives it execution request, and returns record set selected. Directives ANSI_NULLS and ANSI_WARNINGS are required ? they provide the possibility of the execution for heterogeneous requests. To test the procedure you can give its name in MS SQL Query Analyzer ? EXEC NavisionCustomers


5. Now we need to create ASP.NET application. Let's use free RAD environment ASP.NET WebMatrix. You can get infor and download it at http://asp.net/webmatrix . You need .NET SDK 1.1 installed, before WebMatrix installation.


6. Launch WebMatrix, select creation of the Data Pages -> Editable Data Grid in the wizard screen. Let's keep all the defaults suggested. On the access page created we'll change the header to Navision Attain Customers, select Verdana font and the font size desired. Next place on the page the component SqlDataSourceControl and tune it's ? Connection String : server='(local)'; database='Alba';trusted_connection=true (change server and database name to your actual names), and SelectCommand ? as EXEC NavisionCustomers


7. For our Data Grid, which will show customers, define DataSource as SqlDataSourceControl1, and DatKeyField ? as No_


8. Next switch to code edition mode and make these changes:


? In the DataGrid_Delete method let's correct the request for the customer deletion to the one we need


? Change DataGrid_Delete code, base on the fields we plan to use


9. Launch our application and test it. This is it!


Happy customizing, implementing and modifying! If you want us to do the job - give us a call 1-866-528-0577 or 1-630-961-5918! help@albaspectrum.com


Boris Makushkin is Lead Software Developer in Alba Spectrum Technologies ? USA nationwide Microsoft CRM, Microsoft Great Plains customization company, serving Chicago, Boston, San Francisco, San Diego, Los Angeles, Houston, Dallas, Atlanta, Miami, Montreal, Toronto, Vancouver, Moscow, Europe and internationally ( http://www.albaspectrum.com ), he is Microsoft CRM SDK, Navision, C#, VB.Net, SQL, Oracle, Unix developer.



Advent Software to Host Analyst and Investor Day Event on Friday, May 11, 2012
Reuters
SAN FRANCISCO - February 6, 2012 - Advent Software, Inc. (NASDAQ: ADVS), will hold its Analyst and Investor Day in New York on Friday, May 11, 2012, beginning at 9:00 am (EST). The meeting will feature presentations by Advent's executive team covering ...
Advent Software Achieves Record Quarterly Revenue of $86 Million and Record ...MarketWatch (press release)
Advent Software's CEO Discusses Q4 2011 Results - Earnings Call TranscriptTheStreet.com
Advent Software Q4 Profit Drops; Issues Q1, FY12 Revenue Outlook - Quick FactsNASDAQ

all 13 news articles »


Scorpion Software Announces AuthAnvil Single Sign On Support for Level ...
San Francisco Chronicle (press release)
Scorpion Software, an industry leader in strong authentication and password management solutions for IT Service Providers and IT departments is pleased to announce integrated support for AuthAnvil Password Solutions with Level Platforms, ...
Scorpion Software Offers Support for Level Platforms Managed WorkplaceThe Complete Managed Services Resource

all 2 news articles »


Caduceus Software Plans to Integrate a Cloud Platform with its Software ...
SmallCap Network
By Ed Liston Caduceus Software Systems Corp. (OTC: CSOC), a software company specializing in the development of an all-in-one solution for private practitioners and doctors, today, said that it plans to integrate a cloud platform with software systems.
Caduceus Software Systems Corp. Plans to Integrate a Cloud Platform with its ...MarketWatch (press release)
QualityStocks News - Caduceus Software Systems Provides Update on Current ...PR Web (press release)

all 14 news articles »


Proposal Software Continues Strong SaaS Revenue Growth in 2011
MarketWatch (press release)
WESTPORT, Conn., Feb 06, 2012 (BUSINESS WIRE) -- Proposal Software, Inc. (PSI), The Leader In Proposal Productivity(TM), and makers of PMAPS(R) WebPro (Proposal Management and Production System) announced 2011 results that continue its systemic growth ...

and more »


Manhattan Software Announces Strategic Partnership With Indiabulls for ...
MarketWatch (press release)
6, 2012 /PRNewswire via COMTEX/ -- Manhattan Software, the global leader in enterprise real estate software and a leader in the 2011 Gartner Magic Quadrant for Integrated Workplace Management Systems, announced today a strategic partnership with ...

and more »


Mezeo Software Announces National Master Distributor for Japan
MarketWatch (press release)
HOUSTON, TX, Feb 06, 2012 (MARKETWIRE via COMTEX) -- Mezeo Software(R), a leading provider of cloud storage management solutions, today announced the appointment of a master distributor for Japan, AIR Company Limited, a Japanese company focused on ...

and more »


The Cloud Software Companies You Need to Know About
Motley Fool
But software as a service is easy enough to define. Whenever you have to access your application through a central location, and pay ongoing license fees to the developer, that's generally software as a service. Microsoft's Office suite is plain old ...

and more »


Is BMC Software Growing or Slowing?
DailyFinance
By Seth Jayson, The Motley Fool Posted 4:11PM 02/06/12 Investing There's no foolproof way to know the future for BMC Software (NAS: BMC) or any other company. However, certain clues may help you see potential stumbles before they happen -- and before ...

and more »


Oakland police get free forensic software to analyze Occupy videos
San Francisco Chronicle (blog)
A Pasadena forensic video enhancement software company has donated its technology to Oakland police to help in capturing the goings-on at Occupy Oakland demonstrations, the company announced in a statement. At the request of Oakland law enforcement, ...

and more »


Longwood Software Establishes Strategic Reseller Agreement with Canada's Interlinc
MarketWatch (press release)
MAYNARD, Mass., Feb 06, 2012 (BUSINESS WIRE) -- Longwood Software, Inc., the developers and marketers of the RevBase(R) software-as-a-service (SaaS) marketing asset management system ( www.revbase.com ), announced today a strategic reseller agreement ...

and more »

Google News

Related Articles
CROOK: A Methodology for the Refinement of Forward-Error Correction
Table of Contents
MSN Messenger Is A Sweet Way To Communicate
MSN messenger is a pretty cool invention. I mean I'm not really into serious discussions on the email, answers to questions can often take a few days to arrive because people are so busy these days. I've just been 'hooked up' into Messenger and it's really a different kind of communication, quick, simplistic and even humorous with the capability to express your feelings with 'emotion' cartoons.
Introduction To ISDN, Part III: PAP
Introduction To ISDN, Part III: Configuring PPP PAP Authentication
Twelve Things You Should Know to Save on Computer Software
Do you want to get quality software at a reasonable price? Whether you work at home or just need good software for your personal computer, you are faced with an almost endless selection of computer software. Sorting through the options can sometimes be a major task. However, if you want to get good, quality software there are several things that you can do that will save you money and headaches.
Importance of Coding Standards
Programming Help for Beginners
Microsoft CRM USA Nationwide Remote Support
Remember old good days when your company probably had Great Plains Dynamics? If you are in San Francisco Bay Area ? you had local Great Plains Software partner consulting company, who served you basically coming onsite and charging you four hours minimum, even if the problem deserved 5-min fix? This was at the end of 20th century and remote support technologies were not very advanced ? Citrix was making good progress and taking market over from Symantec PCAnywhere. Today, when Microsoft Terminal Server and Citrix are remote support standards and IT department uses them to host application server for nation-wide and world-wide users, you should probably be thinking of getting remote support for your ERP and CRM systems. In this small article we'll take a look at Microsoft CRM remote support, customization, reporting, implementation and integration.
Selecting Corporate ERP: Microsoft Business Solutions Great Plains ? Estimation Parameters
As we could imagine, if you are reading this article ? you are in the decision making mode, probably replacing legacy system with the new one or abandoning either Unix/Mainframe or Apple direction for your corporation. In any case, nobody should make an outside influence on your decision ? you should be maximally objective. Let us give you our estimates and the parameters to check on the pool of the possible ERPs/MRPs.
Microsoft Navision Integration with Microsoft RMS - Overview for IT Specialist
Microsoft Business Solutions Navision serves both European and American megamarkets. It was originally written by Denmark-based Navision Software in its own proprietary language C/SIDE (Client/Server Integrated Development Environment). Currently Navision is supported on two platforms - Navision native (C/SIDE) database and on Microsoft SQL Server. In this small article we would like to give you the clue on Navision integration with Microsoft Retail Management System - Microsoft RMS.
Microsoft Great Plains Integrations ? Retail Management Sample
Microsoft Business Solutions is emerging as very attractive vendor for mid-size companies. The strength of its products is in their cross integration potential. This integration strategy will be the software development direction for this Microsoft subdivision. Meanwhile, as of right now ? we have to recommend just to stake on it and deal with custom or in-house developed integration.
Microsoft Blues
With the advent of 'Service Pack 2' for Windows XP operating system, Microsoft have really made the forums hum.
Lotus Domino Implementation and Development: Infrastructure ? Present and Future
Domino server is a buffer between the operation system and the application. On the other hand Domino server ? consists of the services which support development processing and executing of dynamic, secure applications for Internet, Intranet, or Extranet. Domino server role is to provide functionality both: within and between Domino-applications. Domino services interpret codes and elements of application and execute them over actual operation system. Each service is specially optimized for its specific role when Domino is activated for effective functioning of the whole application.
Corporate ERP Selection: Microsoft Great Plains
In our opinion, traditional approach when you select ERP/MRP system for large or mid-size company by functionality, database and hardware platform should be revised. We are convinced that new generation of Windows servers plus the reliability of relatively inexpensive database platform, such as Microsoft SQL Server, enable large corporation to decrease the cost of hardware, database and ERM software, plus have good internal support by hiring Microsoft certified professionals, available on the market in your area. In this small article we'll give you short review of what you should expect from Microsoft Business Solutions Great Plains, its implementation, customization, reporting, integration as well as web publishing and eCommerce or web ordering system for your existing customers.
MCP Market News: Microsoft SQL Server & SQL Reporting Services
Are you ready? SQL Server 2005, the next-generation data management and analysis software from Microsoft, will deliver increased scalability, availability, and security to enterprise data and analytical applications. SQL Server 2000 Reporting Services is a comprehensive, server-based reporting solution that can author, manage, and deliver both paper-oriented and interactive, Web?based reports.
Adware and Spyware Blockers
The most important things you can do for your computer right now is to install adware and spyware blockers. Everyone is aware of computer viruses and run an anti-virus program to guard your computer against them.
Professional Software Icons For Your Standalone Application
User interfaces and accessibility are some of the most important aspect of an application. It can have a million features, it can do a thousand things once, but if it doesn't look quite right then it will be a disaster. Take Linux for example. This open source (free) operating system has been around for quite a while, and it has been very appreciated for its stability and speed. However, in its earlier days it lacked a user interface, which made it very unattractive to the general public. While a few years back Linux was used only by system administrator and computer freaks, Microsoft's Windows was all over the place, pumped up by its friendly user interface, even though it had a lot of bugs and was very unstable. Today's things are quite different. People have learned from their mistakes and now, most operating systems, including Linux, use a graphical interface and are very user-friendly - things that in the past you could do by writing lines and lines of instructions, you can now do with a few clicks. This major improvement has brought in a whole new class of users, and the popularity of this operating system has increased considerably.
.Net Charts and Graphs Interact with Businesses and Customers
Bar charts, bar graphs, and any other chart or graph used in financial statements, inventory reports, sales reports, and a slew of other types of reports have typically been paper reports or online reports depicting various levels of complex information for tracking, investing, planning, and buying. However, until the .net graph, .net chart, .net map, and other .net charts came along, the relationship between management and the company, companies and their investors, and companies and their customers was missing.
SSH (SCP) Send Files from Windows to Your Linux Box
Not all of us have the luxury of working both at home and at work on a UNIX based system. However that doesn't mean you can't transfer files safely and securely between the two systems.
These Items Are A Must Before Making The Decision To Purchase Any Off-The-Shelf Software
1. What determines the software price? Is it Per Seat or Per User or Per Processor?
Introduction To ISDN, Part II
In the previous ISDN article, we looked at how and why one router dials another using ISDN. Just as important is knowing what keeps the link up once it is dialed.
Crystal Reports - Microsoft SQL Server
Microsoft SQL Server is the leader for inexpensive and middle size SQL solutions. Plus it is now capable to serve large enterprise on Microsoft Windows platform. Crystal Reports is the most flexible tool on the market and it has market recognition. Multiple software vendors offer Crystal Reports as the main reporting tool: Microsoft, Best Software, Oracle to name a few.



Common misspellings for words used in this page include abondoning adavanced adminstrator adn againnst agains agaisnt aganist agianst aginst ahev ahve almsot alomst alsot amke amking anbd anohter aplication applicaiton applicaitons aroud arround artical artice articel arund aslo availaible availble availiable availible avalable avaliable avilable baceause bakc basicaly basicly bcak beacuse becasue beccause becouse becuase bedore befoer betwen bewteen caperbility capible centruy clas cmoputer comany comapany comming componant conviced coputer coudl creaeted dael decison deffine delevopment descision developement developped develpment devolopement diferent diferrent differnt diffrent ealier eiter ened enviorment enviornment enviroment Europian Eurpean Eurpoean excecute excecuting excecution excelent excellant exection exelent exellent expeced extemely extrememly extremly eyars eyasr finacial fomr freindly frome fucntioning gaurd haev halp heterogenous housr hten htere htey htis humerous hvae hvea hwihc hwile hwole identifers implamenting importamt inbetween inclreased includng incuding infomation informtion inlcuding inot intergration interpet iwll iwth jstu jsut laguage larg lenght liek liuke managment manufaturing messanger milion millon mkae mkaing mkea moeny nmae nowe nto oftenly onyl orginally origanaly originall originaly originially originnally orignally orignially otehr owrk owudl palce peopel peronal popularaty positon possable possibile possibilty possiblility possiblilty possiblity possition postion previvous probablly probaly probelm proccessing procedger proceedure propietary propper proprietory qtuie qutie raelly realitvely realy realyl reccomend reccommend recomend recquired recrod relaly relatiopnship relativly reliablity relitavely requred returnd rocord severeal sevice shoudl shoudln smoe soem sofware sohw somtimes sould specfic specif stablility standars startegy stong stradegy stregth strenght sytem taht tath teh tehy tghe thast theese ther theri thgat thge thier thigns thigsn thikning thn thne thnigs thru thsi thta thyat tihs tje tjhe tkae tkaing toghether traditionnal transfered twpo tyhat tyhe typicaly uise unsed untill useing vell vetween veyr vrey vyer vyre waht wass watn weas wehn whant whcih whic whihc whith whlch whn whta wich wih wiht wille wirting withing witht witn wiull wnat wohle wokr wokring woudl writen wrok wroking ws wtih wupport yeasr yeras yersa ytou yuo.