CHAPTER 13: INTEGRATION OPTIONS
|
|
|
- Dinah Collins
- 10 years ago
- Views:
Transcription
1 Chapter 13: Integration Options CHAPTER 13: INTEGRATION OPTIONS Objectives Introduction The objectives are: Describe the concepts of Microsoft Dynamics NAV Web Services. Create a codeunit Web service, expose a page and a codeunit Web service and consume them from an external application. Describe the concepts of Microsoft Dynamics NAV ODBC, its requirements, installation and limitations. Use Microsoft Dynamics NAV ODBC. Describe the concepts of C/FRONT, its requirements, installation and limitations. Describe the concepts of OCX, its installation, registration and limitations. Use OCX controls. Describe the concepts of Automation, its requirements, installation and limitations. Create a report with Automation. Microsoft Dynamics NAV 2009 offers some integration possibilities by using the following technologies: Web service Microsoft Dynamics NAV ODBC C/FRONT OCX Automation These integration options have their own pros and cons, and sometimes choosing the best technology, depends on a case by case basis. Microsoft Dynamics NAV 2009 offers Web services support as a new method of interacting programmatically with the system. It can be accessed over a network and enables execution on a remote system. It stands as a widely-used, industry standard, which means it is used by other systems and products across the industry. 13-1
2 C/SIDE Introduction in Microsoft Dynamics NAV 2009 Web Services Web services are a standardized way for independent software systems to communicate with one another over standard Internet protocols. Web services architecture is designed for dynamic program-to-program interaction. Many kinds of distributed systems can be implemented in Web services architecture. Examples of distributed systems include synchronous and asynchronous messaging systems, distributed computational clusters, mobilenetworked systems, grid systems, and peer-to-peer environments. The broad spectrum of requirements for program-to-program interactions means that the protocols that are used by Web services are more flexible than Web protocols. However, just as the World Wide Web, Web services also rely on a few specific protocols, such as SOAP. Microsoft Dynamics NAV 2009 supports Web services, which makes it easy to integrate Microsoft Dynamics NAV with other systems. This is possible with the introduction of Microsoft Dynamics NAV Server. Web services are designed to facilitate the highly dynamic data interchange that is required in business transactions. Web services, as standardized integration technologies, bring value to businesses by breaking down data silos that are created by proprietary integration options. These proprietary integration technologies make it difficult to obtain information in and out of the different systems. Web services are described by using machine-readable metadata, which provide a robust development and operational environment. Web service metadata serves several purposes. The metadata is used to describe the message interchange formats that a Web service supports, and the valid message exchange patterns of a service. Metadata is also used to describe the capabilities and requirements of a service. Web Services Description Language (WSDL), which is an XML-based language for defining Web services, is used to express the interchange formats and message exchange patterns of the Web services Most major software development environments, such as Microsoft Visual Studio 2008, can be used to build applications that use Web services. Moreover, because Web services are XML based, Web services can be built across platforms and programming languages. Architecture The Web service integration with Microsoft Dynamics NAV is facilitated through Web service enabled codeunits and pages. External systems read and write data on pages and call codeunits as defined by the common Web service protocols, with correct authentication and authorization. The Web service capabilities in Microsoft Dynamics NAV help customers reap the benefits of a service-oriented architecture (SOA). 13-2
3 Chapter 13: Integration Options Microsoft Dynamics NAV Web services are useful to customers and partners who want to use business logic or use a standard interface to access data from outside Microsoft Dynamics NAV. FIGURE 13.1 MICROSOFT DYNAMICS NAV WEB SERVICES ARCHITECTURE There are several simple types of Web services that can be published by Microsoft Dynamics NAV. The types of Web services correspond to the degree of complexity required in the Web service interface. All Web services can run C/AL code and validation triggers. There are several types of Web service in Microsoft Dynamics NAV 2009: The simplest Web service type is developed by using the page object. By using the page object, Microsoft Dynamics NAV constructs a default Web service that has a fixed set of methods. Generally, it corresponds to general data access, such as get and set individual values or retrieve and update lists of values. Another Web service type involves including codeunits and the functions from those codeunits in the Web service. The last type of Web service includes the ability to pass complex data types by using an XMLport object as a parameter in a codeunit function. 13-3
4 C/SIDE Introduction in Microsoft Dynamics NAV 2009 How Microsoft Dynamics NAV integrates Web services saves the complexity of manually setting up Web service frameworks, such as managing the WSDL descriptions. To publish any type of Microsoft Dynamics NAV Web service (page or codeunit), add it to the Web Service table. Microsoft Dynamics NAV Web Services Support Pages and codeunits that are added to the Web Service table in Microsoft Dynamics NAV are immediately published and available for Web service requests over the network. Consumers of these Web services, which are systems integrating with Microsoft Dynamics NAV, only have to know the network name (or address) of the computer that is running Microsoft Dynamics NAV Server and the names given to the individual pages and codeunits. For example, with the following configurations: Computer name that runs Microsoft Dynamics NAV Service: NAV_Server1 Web service port: 7047 Microsoft Dynamics NAV Server instance: DynamicsNAV Company Name: CRONUS International Ltd. The published page Web service: MyCustomer Then the MyCustomer Web service is available at the following URL: _Ltd/Page/MyCustomer ( l_ltd/page/mycustomer) Microsoft Dynamics NAV manages Web service requests exactly like it handles requests from end-users. User rights authorization and validation, input data validation, business logic invocation, and concurrency control are all managed in the same manner as requests from a Microsoft Dynamics NAV client. This guarantees that the integrity of the Microsoft Dynamics NAV data is not compromised by using Web services. It also means that code that validates data or invokes business logic for systems that use the Web services that are provided by Microsoft Dynamics NAV does not have to be replicated. When writing code for Web services, avoid using any end-user confirmation dialog boxes or message boxes. The code for Web services cannot interact with the client that called the code. It cannot respond to a dialog box or any other client interaction requests. Running code with client interaction causes an exception to be thrown. The exception can be caught and handled, but the Web service task will not be completed. 13-4
5 Chapter 13: Integration Options The GUIALLOWED function is a function which is used to check whether the C/AL code is allowed to show any information on the screen. When the code is run from Web services, GUIALLOWED always returns FALSE. This is the same with when the code is run in Microsoft Dynamics NAV Application Server. Opportunities Integration with other systems and communicating with different entities outside Microsoft Dynamics NAV is always a challenge in any implementation scenarios. In most cases, customers have different systems that are running together and not only Microsoft Dynamics NAV. Not only that, they may have to exchange data with entities outside their organization, which may use a different system or even a different platform and operating systems. Advantages Web services support in Microsoft Dynamics NAV offers great value and benefits over its predecessors, these are as follows: Standard integration method, which takes advantage of developer skill sets. This in turn increases development speed and reduces the cost of implementation. Increase return on Microsoft Dynamics NAV investment with the integration of data and business logic. Codes have to be written one time and do not have to be redeveloped because the same codes are run whenever using Web services or using Microsoft Dynamics NAV Client. Consistent integration point, which reduces management overhead, because of the same security, validation and business logic as using Web services and Microsoft Dynamics NAV Client. It also benefits from all other advantages of Web services as an industry standard. Suitable Candidates Web services are suited for communication across platforms and programming language. With Microsoft Dynamics NAV 2009, it is easy to integrate with other systems and benefit from the flexibility that Web services offer. The following are candidates for Web services: Solutions that have to execute business logic or read data from Microsoft Dynamics NAV. 13-5
6 C/SIDE Introduction in Microsoft Dynamics NAV 2009 Solutions that write data to Microsoft Dynamics NAV and use the system to validate the data by using the existing business logic. Solutions that extend Microsoft Dynamics NAV with additional information such as customer information, exchange rates, or product information and have the extension that can be accessed from other systems. The following are examples of several scenarios that are suited to Web services implementation: When a new order is created in the system, a Web service communicates with the shipping companies directly to ensure transportation of the order items, checking prices and availability. Integration with exchange rates, ensuring that the system is continuously updated with the latest exchange rates, which provides precise calculations of data. Integration with a Web service that retrieves the latest address information when new customers are added to the system to ensure accuracy in data. Integration with production planning, CRM, data warehouses, other ERP systems, specialized budgeting, planning or reporting systems, mobile solutions and many more. Demonstration: Create, Expose and Consume Web Services The following demonstration shows how to: Create a simple codeunit. Register the codeunit Web service and a page Web service and publish them. Create console applications and consume these two Web services. Create a Codeunit Web Service The following steps show how to create a simple codeunit, with a function to capitalize lowercase input string. In Microsoft Dynamics NAV Classic client: 1. Click Tools, Object Designer. The Object Designer opens. 2. Click the Codeunit button to open the Codeunit list. 3. Click New. The C/AL Editor opens. 4. Click View, C/AL Globals. The C/AL Global window opens. 5. Click the Functions tab, and type the following: o Name: Capitalize 6. Click the Locals button. The C/AL Locals window opens. 13-6
7 Chapter 13: Integration Options 7. In the Parameters tab, type the following: o Name: InputString o DataType: Text o Length: Click the Return Value tab, and type the following: o Name: OutputString o ReturnType: Text o Length: Close the C/AL Locals window and then close the C/AL Globals window. 10. In the Capitalize function, type the following: OutputString := UPPERCASE(InputString); 11. Save the codeunit by clicking File, Save As. The Save As dialog box opens. 12. Type in the ID and MyCodeunit in the Name and then click OK. FIGURE 13.2 THE CODEUNIT 13. Close the C/AL Editor. Expose the Web Services After the codeunit is created and saved, register it in the Web Services form and select the Published check box. The following steps show how to register Web services: In the Object Designer: 1. Click the Form button to open the Form list. 13-7
8 C/SIDE Introduction in Microsoft Dynamics NAV Select form 810, Web Services and then click Run. The Web Services form opens. 3. Type the following: Object Type Object ID Service Name Codeunit DemoCU Page 21 Customer The first line registers the codeunit Web service that is created in the previous steps. The second line registers a page Web service, in this case the Customer page. 4. Select the Published check box on both lines to publish the Web services. FIGURE 13.3 THE WEB SERVICES FORM When the Web service is marked as published in the Web Services form, it is immediately available for requests over the network. 5. Close the Web Services form. Check the WSDL Before continuing, it is recommended to check that the Web services that previously published are available. Also, ensure that the Microsoft Dynamics NAV Business Web Services is running. The following steps show how to browse to the WSDL document to ensure that the Web services are available. 1. Start Internet Explorer. 2. In the Address bar, type the following: td/services NOTE: This address is based on the name of the computer that is running the Microsoft Dynamics NAV Service and the company that is used. The company 13-8
9 Chapter 13: Integration Options name is case-sensitive. In this case, localhost is used instead of the computer name. 3. The page lists the Web services registered and published in the Expose the Web Services section. FIGURE 13.4 THE WEB SERVICES LISTED IN INTERNET EXPLORER 4. Close Internet Explorer. Create a Console Application to Consume the Codeunit Web Service The codeunit Web service is available. The following steps show how to create a simple console application in Visual Studio to consume the codeunit Web service. These steps start with creating a new project in Visual Studio and then adding a Web Reference for the Web services published from Microsoft Dynamics NAV. 1. Open Visual Studio. 2. Click File, New, and then click Project. The New Project window opens. 3. Expand the Visual C# node, and select Console Application. 4. Type the following: o Name: UseDemoCU 5. Click OK. The UseDemoCU project initiates with default files and references. Add Codeunit Web Service as a Web Reference The next step is to add the published Web service as a Web reference into the project. 13-9
10 C/SIDE Introduction in Microsoft Dynamics NAV 2009 In Visual Studio: 1. In the Solution Explorer, right-click the References node in the project, and then click Add Service Reference. The Add Service Reference window opens. 2. Click Advanced. The Service Reference Settings window opens. 3. Click Add Web Reference. The Add Web Reference window opens. 4. Type the following in the URL bar: td/services NOTE: This address is the same as the address that is used when checking the WSDL by using Internet Explorer. 5. Click GO. The DemoCU service is displayed together with other services that are available. FIGURE 13.5 THE ADD WEB REFERENCE WINDOW 6. Click View Service for the DemoCU service and then click Add Reference. The DemoCU service is added as a Web Reference in the project
11 Chapter 13: Integration Options Type the Code The following steps show how to create a code to consume the codeunit Web service. In Visual Studio: 1. On the Program.cs tab, type the following: using System; using System.Collections.Generic; using System.Text; namespace UseDemoCU { using localhost; // using the web reference class Program { static void Main(string[] args) { // Create a new instance of the service. DemoCU ws = new DemoCU(); // Use default credentials for authenticating // against Microsoft Dynamics NAV. ws.usedefaultcredentials = true; ws.url = " Ltd/Codeunit/DemoCU"; // Declare variables to work with. string InputString =""; string OutputString =""; Console.WriteLine("Input lowercase sentence, end by [ENTER]"); InputString = Console.ReadLine(); // Call the Microsoft Dynamics NAV codeunit Web service. try { OutputString = ws.capitalize(inputstring); } catch (Exception e) { Console.WriteLine(e.Message.ToString()); } // Write output to the screen. Console.WriteLine("Result: {0}", OutputString); 13-11
12 C/SIDE Introduction in Microsoft Dynamics NAV 2009 ENTER. } } } // Keep the console window up until you press Console.ReadLine(); 2. Click File, Save All to save all the changes in the project. FIGURE 13.6 THE CODE IN VISUAL STUDIO Consume the Codeunit Web Service The following steps show how to test the console application and consume the codeunit Web service: In Visual Studio: 1. Click Debug, Start Debugging, or press F5 to run the application in debug mode. The console window opens. 2. Type the following: o this is a lowercase sentence 13-12
13 Chapter 13: Integration Options 3. Press ENTER. Now, the console application looks like the following: FIGURE 13.7 THE CONSOLE APPLICATION RESULT The input string 'this is a lowercase sentence' is capitalized by using the codeunit Web service that is running on Microsoft Dynamics NAV Service. The result in the output string is 'THIS IS A LOWERCASE SENTENCE.' 4. Press ENTER to close the console window. Create a Console Application to Consume the Page Web Service In the Expose the Web Services section, two Web services are exposed and published. The previous sections show how to create a console application to consume the first Web service, which is the codeunit Web service. The next section shows how to create a console application to consume the second Web service, which is the page Web service. In Visual Studio: 1. Click File, New, and then click Project. The New Project window opens. 2. Expand the Visual C# node, and select Console Application. 3. Type the following: o Name: UseDemoPage 4. Click OK. The UseDemoPage project initiates with default files and references
14 C/SIDE Introduction in Microsoft Dynamics NAV 2009 Add Page Web Service as a Web Reference The next step is to add the published Web service as a Web reference into the project. In Visual Studio: 1. Repeat Steps 1 to 5 in the Add Codeunit Web Service as a Web Reference section. 2. Instead of using the DemoCU service, click View Service for the Customer service and then click Add Reference. FIGURE 13.8 THE CUSTOMER WEB SERVICE DESCRIPTION Type the Code The following steps show how to create a code to consume the codeunit Web service
15 Chapter 13: Integration Options In Visual Studio: 1. On the Program.cs tab, type the following: using System; using System.Collections.Generic; using System.Text; namespace UseDemoPage { // import newly generated Web service proxy using localhost; class Program { static void Main(string[] args) { //create instance of service and setting credentials Customer_Service service = new Customer_Service(); service.usedefaultcredentials = true; service.url =" _Ltd/Page/Customer"; //create instance of customer Customer cust = new Customer(); cust.name ="Customer New"; //insert customer service.create(ref cust); PrintCustomer(cust); Msg("The program inserted a new customer, press [ENTER] to continue"); Console.ReadLine(); //create filter for searching for customers List<Customer_Filter> filter = new List<Customer_Filter>(); Customer_Filter namefilter = new Customer_Filter(); namefilter.field = Customer_Fields.Name; namefilter.criteria ="C*"; filter.add(namefilter); Msg("List before modification"); PrintCustomerList(service, filter); Console.ReadLine(); 13-15
16 C/SIDE Introduction in Microsoft Dynamics NAV 2009 //modify customer cust.name = cust.name + " and Modified"; service.update(ref cust); PrintCustomer(cust); Msg("The program modified the new customer name, press [ENTER] to continue"); Console.ReadLine(); Msg("List after modification"); PrintCustomerList(service, filter); Console.ReadLine(); //delete customer service.delete(cust.key); Msg("List after deletion"); PrintCustomerList(service, filter); Console.ReadLine(); } Msg("Press [ENTER] to exit program!"); Console.ReadLine(); static void PrintCustomerList(Customer_Service service, List<Customer_Filter> filter) { Msg("Printing Customer List"); //conduct the actual search Customer[] list = service.readmultiple(filter.toarray(), null, 100); foreach (Customer c in list) { PrintCustomer(c); } Msg("End of List, press [ENTER] to continue"); } static void PrintCustomer(Customer c) { Console.WriteLine("No: {0} Name: {1}", c.no, c.name); } } } static void Msg(string msg) { Console.WriteLine(msg); } 13-16
17 Chapter 13: Integration Options 2. Click File, Save All to save all the changes in the project. FIGURE 13.9 THE CODE IN VISUAL STUDIO Consume the Page Web Service The following steps show how to test the console application and consume the page Web service: In Visual Studio: 1. Click Debug, Start Debugging, or press F5 to run the application in debug mode. The console window opens. The application inserts a new customer named Customer New with the default Customer No. 2. Press ENTER to continue. The application prints a list of customers, which name starts with the letter C. 3. Press ENTER to continue. The application modifies the new customer name to Customer New and Modified. 4. Press ENTER to continue
18 C/SIDE Introduction in Microsoft Dynamics NAV 2009 The application prints a customer list, which name starts with the letter C, after modification. 5. Press ENTER to continue. The application deletes the new customer and prints a customer list, which name starts with the letter C, after deletion. ODBC FIGURE THE CONSOLE APPLICATION RESULT 6. Press ENTER to close the console window. Microsoft Dynamics NAV ODBC is Microsoft Dynamics NAV's implementation of Open Database Connectivity (ODBC). Microsoft Dynamics NAV ODBC lets developers transfer data between Microsoft Dynamics NAV databases and any program that supports ODBC. Applications that support ODBC can communicate with Microsoft Dynamics NAV. This means, applications such as a spreadsheet or word processor can retrieve data by communicating with Microsoft Dynamics NAV through the Microsoft Dynamics NAV ODBC driver. The Microsoft Dynamics NAV ODBC driver operates in the Microsoft Windows platforms. In these environments, it can function either as a standalone or as a client in a client/server configuration. Microsoft Dynamics NAV client is not needed to use the Microsoft Dynamics NAV ODBC driver. The main purpose for using ODBC with Microsoft Dynamics NAV is integration with other applications. By using ODBC, users can use applications such as a word processor to create mail merge documents or a spreadsheet application to pull account information and create graphs based on that information
19 Chapter 13: Integration Options Architecture The Microsoft Dynamics NAV ODBC has four components: Application - Performs processing and calls ODBC functions to submit Microsoft SQL statements and retrieve results. Driver Manager - Loads and unloads drivers on behalf of an application. Processes ODBC function calls or passes them to a driver. Driver - Processes ODBC function calls, submits SQL requests to a specific data source, and returns results to the application. If necessary, the driver modifies an application's request so that the request conforms to syntax that is supported by the associated DBMS. Data source - Consists of the data that the user wants to access and its associated operating system, DBMS, and network platform (if any) that is used to access the DBMS. The following illustration shows the relationship between these four components. FIGURE MICROSOFT DYNAMICS NAV ODBC ARCHITECTURE There can be multiple drivers and data sources which allow the application to simultaneously access data from more than one data source. The ODBC API is used in two places: Between the application and the Driver Manager. Between the Driver Manager and each driver. The interface between the Driver Manager and the drivers is sometimes referred to as the service provider interface, or SPI. For ODBC, the applicationprogramming interface (API) and the service provider interface (SPI) are the same; that is, the Driver Manager and each driver have the same interface to the same functions
20 C/SIDE Introduction in Microsoft Dynamics NAV 2009 Requirements There are several requirements to use the Microsoft Dynamics NAV ODBC driver, they are as follows: License for Microsoft Dynamics NAV ODBC granule. Users are able to connect to the Microsoft Dynamics NAV database either through a server connection (by using Microsoft Dynamics NAV database server) or through a local connection (the database is located in the client computer). Users have permission to access the database. For example, if a user does not have read permission for specific table related data, they cannot read that table from either Microsoft Dynamics NAV client or from Microsoft Dynamics NAV ODBC. Also, ODBC users must have permission for System 9130, C/ODBC. There are enough sessions for the users. Just as accessing the Microsoft Dynamics NAV database by using a client, accessing the database by using ODBC also requires a session. Furthermore, if a local connection is used, only one connection to the database file can exist at any time. Also, the local license file (fin.flf) that is located in the client folder must contain the Microsoft Dynamics NAV ODBC granule
21 Chapter 13: Integration Options Installation By default, the Microsoft Dynamics NAV ODBC driver is not installed when installing Microsoft Dynamics NAV The following figure shows the option to install the Microsoft Dynamics NAV ODBC. FIGURE INSTALL MICROSOFT DYNAMICS NAV ODBC Limitations There are several limitations when working with Microsoft Dynamics NAV ODBC, they are as follows: Data that is entered through ODBC is not validated. It is important to ensure the data entered meets the criteria of the data type for that field. Entries made by ODBC do not fire triggers, therefore any fields that might get automatically filled in when entering data by using the Microsoft Dynamics NAV client, has to be manually populated. The ODBC driver does not support outer joins. The ODBC driver does not work with SQL server. Use the Microsoft SQL ODBC driver instead. Flow fields are not calculated, because of the way they are stored on the SQL server
22 C/SIDE Introduction in Microsoft Dynamics NAV 2009 Microsoft Access supports zero-length strings. Microsoft Dynamics NAV ODBC does not convert the zero-length string to a value that can be used by the Microsoft Dynamics NAV database. Therefore, the zero-length string is interpreted as a NULL value and the error message is returned. The Microsoft Dynamics NAV ODBC driver does not support parameter fields which Microsoft Access uses when external tables are linked. Demonstration: Use Microsoft Dynamics NAV ODBC The following demonstration shows how to set a data source and use it with Microsoft Excel and Microsoft Access to read data from and write data to Microsoft Dynamics NAV. Set a Data Source The following steps show how to create a DSN. 1. Go to Control Panel and click the Administrative Tools. 2. Click Data Sources (ODBC).The ODBC Data Source Administrator window opens. 3. Click the System DSN tab and then click Add. NOTE: User DSN is available for the current user and System DSN is available for all users on the current machine 13-22
23 Chapter 13: Integration Options 4. Select Microsoft Dynamics NAV Driver and then click Finish. The Dynamics NAV ODBC Setup window opens. 5. Enter the necessary information and then click OK to complete creating the DSN. FIGURE THE DYNAMICS NAV ODBC SETUP WINDOW Read Data from Microsoft Dynamics NAV The following steps show how to use the DSN created previously to return data from Microsoft Dynamics NAV to Microsoft Excel. 1. Start Microsoft Excel with a new workbook. 2. Open the Data Connection Wizard, select ODBC DSN and then click Next. 3. Select Dynamics NAV ODBC Sample and then click Next. 4. Select Cust_ Ledger Entry table and then click Next. 5. Click Finish. The Import Data window opens. Here developers can click Properties to open the Connection Properties window where they can customize the connection such as edit the queries and so on
24 C/SIDE Introduction in Microsoft Dynamics NAV Click OK. The records from the Cust. Ledger Entry table are displayed in the Microsoft Excel worksheet. FIGURE THE RESULT IN MICROSOFT EXCEL Write Data to Microsoft Dynamics NAV The following steps show how to use the DSN created previously to use Microsoft Access to write data to Microsoft Dynamics NAV. 1. Start Microsoft Access with a new blank database. 2. Create a linked table by using the ODBC Database. The Select Data Source window opens. 3. Select Dynamics NAV ODBC Sample as the DSN. The Link Tables window opens. 4. Select Location and then click OK. 5. Double-click the Location table in Microsoft Access. It displays the record from the Location table from Microsoft Dynamics NAV. 6. Type the following. Code Name Address BLACK Black 2 Late St Warehouse 13-24
25 Chapter 13: Integration Options 7. Close the table and close Microsoft Access. 8. Verify the record is added from Microsoft Dynamics NAV from the Location Card form. FIGURE THE LOCATION CARD FORM C/FRONT C/FRONT is an application programming interface that can be used to access Microsoft Dynamics NAV databases. C/FRONT facilitates high-level interaction with the Microsoft Dynamics NAV database and allows developers to manipulate any Microsoft Dynamics NAV database. The central component of C/FRONT is a library of C functions. These functions give developers access to every aspect of data storage and maintenance, and allow developers to integrate both standard and custom applications with the Microsoft Dynamics NAV database. Because C/FRONT is a front end to Microsoft Dynamics NAV, developers might want to use C/FRONT to add, delete or view data from their own applications. C/FRONT is much faster compared to the Microsoft Dynamics NAV ODBC driver and is as close to the native connection as with Microsoft Dynamics NAV. However, to use C/FRONT, developers must use some other programming language such as C++, C, or Visual Basic. C/FRONT provides two methods of accessing Microsoft Dynamics NAV which is either through a C style DLL or through the use of the OCX interface. Requirements There are several requirements to use C/FRONT, they are as follows: License for C/FRONT granule. C/FRONT is very particular and looks in different places at different times for the license file. Ensure that the license is loaded everywhere it needs to be, that is the client, server, and so on
26 C/SIDE Introduction in Microsoft Dynamics NAV 2009 Users have permission to access the database. For example, if a user does not have read permission for specific table related data, they cannot read that table from either the Microsoft Dynamics NAV client or by using C/FRONT. Also, users must have permission for System 9110, C/FRONT. There are enough sessions for the users. Just as accessing the Microsoft Dynamics NAV database by using a client, accessing the database by using C/FRONT also requires a session. Installation By default, C/FRONT is not installed when installing Microsoft Dynamics NAV The following figure shows the option to install C/FRONT. FIGURE INSTALL C/FRONT NOTE: When C/FRONT is installed, two.dll files - cfront.dll and cfrontsql.dll are copied. If Microsoft SQL Server is used, select cfrontsql.dll, otherwise select cfront.dll. Generally, the C/FRONT library (cfront.dll/cfrontsql.dll) reads the registry to locate the Microsoft Dynamics NAV client. However, if multiple Microsoft Dynamics NAV are installed or if Microsoft Dynamics NAV is not present on the system, the function SetNavisionPath in the cfront.dll/cfrontsql.dll library must be called to specify the path to the directory where Microsoft Dynamics 13-26
27 Chapter 13: Integration Options NAV is installed or to a directory containing the following files from Microsoft Dynamics NAV. dbm.dll nc_netb.dll nc_tcp.dll slave.exe fin.etx fin.stx fin.flf List of C/FRONT Files C/FRONT consists of the following files. File name cfront.dll cfrontsql.dll cfront.ocx cf.h libload.c dberror.txt Description C/FRONT C-API library for Microsoft Dynamics NAV Database Server C/FRONT C-API library for Microsoft SQL Server C/FRONT OCX C/FRONT header file Source file containing functions to load and unload cfront.dll Database error/return codes A sample application (written in C) and a.net application are installed together with C/FRONT installation. Limitations There are several limitations when working with C/FRONT, they are as follows: Entries made by C/FRONT do not fire triggers to execute any code validation. Only active keys are available to C/FRONT. Keys cannot be activated within C/FRONT. Microsoft Windows does not go in to standby or hibernation if there is an open server connection from C/FRONT. OCX Custom controls are also known as OLE Controls and Microsoft ActiveX Controls. Because they often have the extension.ocx, they are also known as OCXs
28 C/SIDE Introduction in Microsoft Dynamics NAV 2009 NOTE: Custom controls can also have the extension.dll. OCX lets developers take advantage of code that is made commercially available or allows them to write code once and have the ability to call that code from any program that supports custom controls. The main reason to use custom controls is to save development time and reduce costs. Requirements There are several requirements to use OCX, they are as follows: License for OCX granule. This is needed only for development. The customers, who run the objects, do not need the OCX granule. They only need the compiled object loaded on their computers along with the custom control that needs to be registered. To use a custom control, it must be loaded on the computer that is being used for development and all other computers that use the application that uses the custom control. Therefore, an important part of using an OCX that is developed by another company is to ensure that the developer working on this has the license to redistribute the OCX. The OCX must be installed on each machine that needs to use the code. After the OCX is copied to a machine, register the control from the Microsoft Dynamics NAV Classic client. Users must have permission for System 9140, C/OCX to be able to run an object that works with an OCX. Installation The first requirement for using a custom control is that it is physically installed on the target machine. But a control also has to be registered with the operating system to be used. If the control is already physically installed by copying it to the hard disk, but is not yet registered, use the following steps to register the control from the Microsoft Dynamics NAV Classic client. 1. Copy the control from the distribution media to the hard disk. 2. On the Microsoft Dynamics NAV Classic client, click Tools, Custom Controls. The Custom Controls window opens. 3. Click Control, Browse. The Register Custom Control window opens. 4. Locate the OCX, select it, and click Open. This registers the control with the system. A confirmation message appears after the registration is complete
29 Chapter 13: Integration Options 5. Click OK to return to the Custom Controls window. Verify that the control is added by closing this window and click Tools, Custom Controls again. FIGURE THE CUSTOM CONTROLS WINDOW Limitations There are several limitations when working with OCX, they are as follows: Demonstration: Use OCX Controls When an object is modified and that object depends on an OCX that is not registered on the development computer, the object cannot be compiled. Incoming data must conform to C/AL data type. For example, strings are limited to 1024 characters in Microsoft Dynamics NAV. Therefore, custom controls being used must return the appropriate string value. Only non-visual controls are supported. This means graphical elements cannot be added to a C/SIDE object (for example, a third party control cannot be added to a form). However, developers can use controls that display information and interact with the user in a window of its own. C/SIDE does not allow the retrieval of information about exceptions from a control or automation server through the Invoke method of the IDispatch interface and the EXCEPINFO structure. There are ways to work around this limitation. C/SIDE does not support call back for OCX. Therefore, developers cannot respond to an event from OCX. To demonstrate the ease of registering and using a custom control in Microsoft Dynamics NAV, the C/FRONT.OCX is used
30 C/SIDE Introduction in Microsoft Dynamics NAV 2009 This demonstration uses this control to create a form that connects to a server, opens a database, and then opens a company and returns the number of records in a table. This page has access to the functions and properties supported by the C/FRONT OCX. Define Variables for the New Form The following steps show how to create a new page and define the necessary variables. 1. Create a new blank form. 2. Click View, C/AL Globals. The C/AL Globals window opens. 3. Define the following variables in the Variables tab. Name DataType Subtype Length cfront OCX CFRONT Control TableNo Integer MyCompany Text 50 MyDatabase Text 50 MyServerName Text 50 Driver Option 4. Open the Properties window for the Driver variable and set the OptionString property to NDBCS,NDBCN. FIGURE THE C/AL GLOBALS WINDOW 5. Close the Properties window and compile and save the form with the ID and the Name Test OCX Form
31 Chapter 13: Integration Options Design the Form The following steps show how to add controls to the form. 1. Open the Toolbox and add five text boxes with attached labels to the form. 2. Set the Caption and SourceExpr property of the text boxes as follows: Text Box Caption SourceExpr 1 Server MyServerName 2 Database MyDatabase 3 Company MyCompany 4 Server Type Driver 5 Table No. TableNo 3. Add a command button to the form. 4. Set the Caption property of the command button to Connect. FIGURE THE FORM DESIGNER Add Code to the Form The following steps show how to add code to the form. 1. Select the command button, and then click View, C/AL Code. The C/AL Editor opens
32 C/SIDE Introduction in Microsoft Dynamics NAV Type the following code in the OnPush trigger of the button. CLEAR(cfront); cfront.connectserverandopendatabase(format(driver),myserver Name,'tcp',MyDatabase,0,FALSE,TRUE,'',''); cfront.opencompany(mycompany); IF cfront.opentable(tableno,tableno) THEN MESSAGE('The %2 table contains %1 records',cfront.reccount(tableno),cfront.tablename(tableno) ); cfront.closetable(tableno); MESSAGE('Table closed'); cfront.closecompany(); MESSAGE('Company Closed'); cfront.disconnectserver(); MESSAGE('Disconnect') 3. Close the C/AL Editor, and then compile, save and close the form. Run the Form Run the form in the Classic client, enter valid information and then click the Connect button. Automation Server FIGURE THE TEST OCX FORM Automation provides a seamless interface to applications outside Microsoft Dynamics NAV 2009 without user intervention. For example, a letter can be created in Microsoft Word whenever certain conditions take place, such as when a new customer is added. The main purpose of using Automation is to provide a seamless interface to outside applications without user intervention. A second reason for using automation is to save development time which also reduces the cost of development
33 Chapter 13: Integration Options Requirements There are several requirements to use Automation, they are as follows: The program to be used as Automation must be an Automation server. Examples of automation servers include Microsoft Word, Microsoft Excel, and Microsoft Outlook. The Automation server must be loaded on the computer that is being used for development and all other computers that use the application that use the Automation. Installation The following steps outline the procedures for using an Automation server from C/SIDE. 1. Declare the top-level interface (class) of the Automation server as a variable of type Automation. 2. Declare all the other interfaces (classes) as variables of type Automation. 3. Use the C/AL function CREATE on the variable declared in step 1. Do not use CREATE on any other variables. 4. Use the methods and properties of the Automation server in the C/AL code. Write the code in this step. The syntax and the semantics of these methods and properties are described in the documentation for each Automation server. Using these methods and properties in C/AL does not involve any new or modified syntax. 5. Use the C/AL function CLEAR to destroy the top-level object. Otherwise, it is destroyed automatically when the variable goes out of scope. Considerations There are two major concerns when deciding where to write code that uses Automation. The first is the fact that an object that uses Automation can be compiled only if the Automation server is installed on the machine where the compilation takes place. This means that if an object is to be recompiled and modified on a machine where the Automation server is not installed, developers have to modify the code drastically to compile it again. Therefore, it is recommended to isolate code that uses Automation in separate codeunits
34 C/SIDE Introduction in Microsoft Dynamics NAV 2009 The second concern is performance. There is some overhead involved in using an Automation server by using the CREATE function call. If the Automation server is to be used repetitively, it gives better performance if the code is arranged so that the Automation server is created only one time, as opposed to using a series of CREATE/CLEAR function calls. Because these two concerns sometimes clash, there may be instances when developers must make some trade-offs based on the actual context in which their code is used. Creating the Variables To control a Automation server, developers define a variable (global or local) of type Automation and reference the Automation Server as the subtype of this variable. The only Automation Servers that appear in the list are those that are loaded on the development machine. Once the Automation Server is selected, a list of all the classes available for that Automation server is displayed. Typically, the application is the first class selected. Afterwards, declare variables for all the other interfaces (classes) that control or interact with the code. Determining what classes must be defined depends on the understanding of the Automation server. If these are Microsoft programs, to determine what each of the classes do, view the Microsoft Visual Basic Help. Generally, which classes to use is determined by considering the application. For example, to call Microsoft Word, consider the application and then the document. Likewise, if to call Microsoft Excel, consider the application, the workbook, the worksheet, and the Range of cells. Responding to Events C/SIDE can receive events from the Automation servers that it controls. When declaring a global variable of the type Automation, set the WithEvents property for the variable to specify whether to receive events. Setting the WithEvents property to Yes automatically generates C/AL triggers for the events that the component provides. A trigger name consists of the name of the Automation variable followed by "::<Event name>." For example, if an Automation variable named MyEventVar, and the component provides the event MessageReceived(...), the name of the trigger is MyEventVar::MessageReceived(...). NOTE: If a global variable of type Automation is deleted, the event triggers and their code are also deleted. Furthermore, if the DataType or SubType for a global variable is modified, then all the event triggers and their code are deleted
35 Chapter 13: Integration Options Limitations There are several limitations when working with Automation, they are as follows: When an object is modified and that object depends on an Automation that is not registered on the development computer, the object cannot be compiled. C/SIDE does not allow the retrieval of information about exceptions from a control or automation server through the Invoke method of the IDispatch interface and the EXCEPINFO structure. There are ways to work around this limitation. Incoming data must conform to C/AL data type. For example, strings are limited to 1024 characters in Microsoft Dynamics NAV. In addition, when C/SIDE is enabled to receive events from the Automation server, that is, the WithEvents property is set to Yes, there are limitations to the triggers that are automatically generated which are provided by the Automation. Demonstration: Create a Report with Automation The following demonstration shows how to create a report with Automation capabilities. Define Variables for the New Report The following steps show how to create a new report and define the necessary variables. 1. Create a new blank report. 2. Add Customer for the data item. 3. Click View, C/AL Globals. The C/AL Globals window opens. 4. Define the following variables in the Variables tab. Name DataType Subtype Length CustAmount Record Customer Amount CustFilter Text 250 CustDateFilter Text 30 j Text 30 NoOfRecordsToPrint i MaxAmount Integer Integer Decimal 13-35
36 C/SIDE Introduction in Microsoft Dynamics NAV Open the Properties window for the CustAmount variable, set the Temporary property to Yes and then close the Properties window. 6. Define several other variables. Name DataType Automation Server Automation Object Excel Automation Microsoft Excel 12.0 Object Library Application Book Automation Microsoft Excel 12.0 Object Library Range Automation Microsoft Excel 12.0 Object Library Sheet Automation Microsoft Excel 12.0 Object Library Chart Automation Microsoft Excel 12.0 Object Library Workbook Range Worksheet Chart NOTE: The Microsoft Excel version may vary. FIGURE THE C/AL GLOBALS WINDOW 7. Compile and save the report with the ID and the Name Sample Automation
37 Chapter 13: Integration Options Change the Report Properties and Add Code to the Report The following steps show how to change the report properties and add code to the report. 1. Open the Properties window for the report, and set the ProcessingOnly property to Yes, and then close the Properties window. 2. Click an empty line in the Report Designer and then click View, C/AL Code. The C/AL Editor opens. 3. Add the following code in the OnPreReport trigger. CustFilter := Customer.GETFILTERS; CustDateFilter := Customer.GETFILTER("Date Filter"); 4. Close the C/AL Editor. 5. Click the Customer data item, and then click View, C/AL Code. The C/AL Editor opens. 6. Add the following code in the OnPreDataItem trigger. i := 0; NoOfRecordsToPrint := 10; CustAmount.DELETEALL; CurrReport.CREATETOTALS("Sales (LCY)","Profit (LCY)"); CREATE(Excel); Excel.Visible(TRUE); Book:=Excel.Workbooks.Add(-4167); Sheet:=Excel.ActiveSheet; Sheet.Name := 'TOP 10'; The first four lines of the code initialize values to variables, delete records in the Customer Amount table and maintain totals for two fields when iterating the Customer data item. The fifth line creates an instance of Microsoft Excel and the sixth line makes the Microsoft Excel visible. NOTE: Microsoft Excel generates a General Protection Fault error when closing an Excel worksheet that is created when Microsoft Excel is invisible. To solve the problem, make Microsoft Excel visible immediately after a new worksheet is created. Alternatively, make Microsoft Excel visible just before creating a new Excel worksheet, and then make it invisible immediately after the worksheet is created
38 C/SIDE Introduction in Microsoft Dynamics NAV 2009 The seventh to the tenth lines add a workbook to the application, use the ActiveSheet property of the application to ensure that what is done next affects the active sheet of the new workbook and then give a name to the sheet. 7. Add the following code in the OnAfterGetRecord trigger. CALCFIELDS("Sales (LCY)","Profit (LCY)"); IF ("Sales (LCY)" = 0) AND ("Profit (LCY)" = 0) THEN CurrReport.SKIP; CustAmount.INIT; CustAmount."Customer No." :="No."; CustAmount."Amount (LCY)" := -"Sales (LCY)"; CustAmount."Amount 2 (LCY)" := -"Profit (LCY)"; CustAmount.INSERT; IF (NoOfRecordsToPrint = 0) OR (i < NoOfRecordsToPrint) THEN i := i + 1 ELSE BEGIN CustAmount.FINDLAST; CustAmount.DELETE; END; The first line of the code calls the CALCFIELDS function to calculate the values for Sales (LCY) and Profit (LCY). The second line of the code checks whether both the fields equal zero. If they do, the record is skipped. Otherwise, it proceeds to the next lines of code. The third to seventh lines of code initialize the CustAmount record, assign the Customer No. and the amounts field, and insert the record. The negative value is used so that the graph displays upright. If the NoOfRecordsToPrint equals zero or the value i is less than the NoOfRecordsToPrint, increment i. Otherwise, find the last record and delete it. The reason for doing this is that as a record is inserted, the records are placed in order from highest to lowest (based on the key in the Customer Amount table). Therefore, the CustAmount table will have only the top 10 records for the amount
39 Chapter 13: Integration Options 8. Add the following code in the OnPostDataItem trigger. Sheet.Range('A2').Value := 'No.'; Sheet.Range('B2').Value := 'Name'; Sheet.Range('C2').Value := 'Sales (LCY)'; Sheet.Range('D2').Value := 'Profit (LCY)'; IF CustAmount.FINDSET THEN BEGIN j:='3'; REPEAT Customer.GET(CustAmount."Customer No."); Sheet.Range('A'+j).Value := CustAmount."Customer No."; Sheet.Range('B'+j).Value := Customer.Name; Sheet.Range('C'+j).Value := -CustAmount."Amount (LCY)"; Sheet.Range('D'+j).Value := -CustAmount."Amount 2 (LCY)"; j:=incstr(j); UNTIL CustAmount.NEXT = 0; END; Range:=Sheet.Range('B3:D12'); Chart:=Book.Charts.Add; Chart.Name := 'Top 10 Customers - Graph'; Chart.ChartWizard(Range,-4100,2,2,1,0,0,'Top 10 Customers','Customer','Sales (LCY)'); These lines of code write data from the CustAmount table to the Microsoft Excel instance. The last five lines of code add a chart to the Microsoft Excel instance by first setting a range based on the rows and column in the Excel sheet and then using the ChartWizard to plot the chart. 9. Compile, save and close the report. Run the Report Run the report in the Classic client and click OK at the Request Form. FIGURE THE RESULT IN THE MICROSOFT EXCEL WORKSHEET 13-39
40 C/SIDE Introduction in Microsoft Dynamics NAV 2009 The following chart is displayed in Microsoft Excel. Summary FIGURE THE CHART IN THE MICROSOFT EXCEL WORKSHEET Microsoft Dynamics NAV 2009 offers a set of technologies to integrate with external applications, they include the following: Web service Microsoft Dynamics NAV ODBC C/FRONT OCX Automation Each of the technology has its own advantage and disadvantage over one another and the choice of which technology to use can depend on many factors. Understanding integration options available to Microsoft Dynamics NAV 2009, completes the introduction to C/SIDE development
41 Chapter 13: Integration Options Test Your Knowledge 1. What must be done to use Microsoft Dynamics NAV ODBC? (Select the correct answers.) o Install Microsoft's ODBC driver. o Purchase the Microsoft Dynamics NAV ODBC granule. o Set up permissions for the users. o Set up a DSN. 2. True or False. Any Microsoft Dynamics NAV ODBC version can be used to open up any Microsoft Dynamics NAV database. 3. True or False. Microsoft Dynamics NAV uses Microsoft's ADO for all connections. 4. True or False. Microsoft Dynamics NAV ODBC driver supports outer joins. 5. True or False. Entering data through ODBC is validated just as in the Microsoft Dynamics NAV client. 6. What is C/FRONT? 7. Does C/FRONT use a session? 8. Can keys be activated from within C/FRONT? 9. True or False. C/FRONT does not require any files from the Microsoft Dynamics NAV client directory. 10. What is the purpose of using OCX control? 11. What must be done to use OCX control? 12. What may be the reason for not being able to select OCX as a data type? 13. Is calling a method or setting properties of an OCX any different from any other standard Microsoft Dynamics NAV object? 14. What is the purpose of using Automation in Microsoft Dynamics NAV? 15. Yes or No. It is possible to respond to Automation Events in Microsoft Dynamics NAV? 16. True or False. The CREATE function must be used before using an Automation object. 17. True or False. The FREE function is used to release the Automation object from memory
42 C/SIDE Introduction in Microsoft Dynamics NAV 2009 Quick Interaction: Lessons Learned Take a moment and write down three key points you have learned from this chapter
CHAPTER 10: WEB SERVICES
Chapter 10: Web Services CHAPTER 10: WEB SERVICES Objectives Introduction The objectives are: Provide an overview on how Microsoft Dynamics NAV supports Web services. Discuss historical integration options,
CHAPTER 23: USING ODBC
Chapter 23: Using ODBC CHAPTER 23: USING ODBC Training Objectives In this section, we introduce you to the Microsoft Business Solutions Navision NODBC driver. However, it is recommended that you read and
CHAPTER 1: CLIENT/SERVER INTEGRATED DEVELOPMENT ENVIRONMENT (C/SIDE)
Chapter 1: Client/Server Integrated Development Environment (C/SIDE) CHAPTER 1: CLIENT/SERVER INTEGRATED DEVELOPMENT ENVIRONMENT (C/SIDE) Objectives Introduction The objectives are: Discuss Basic Objects
MODULE 7: TECHNOLOGY OVERVIEW. Module Overview. Objectives
MODULE 7: TECHNOLOGY OVERVIEW Module Overview The Microsoft Dynamics NAV 2013 architecture is made up of three core components also known as a three-tier architecture - and offers many programming features
What's New: Developing Solutions for Microsoft Dynamics NAV 2009
Microsoft Dynamics NAV What's New: Developing Solutions for Microsoft Dynamics NAV 2009 White Paper December 2008 Contents INTRODUCTION... 3 ARCHITECTURAL CHANGES IN MICROSOFT DYNAMICS NAV 2009... 4 ROLETAILORED
NAV 2009 C/SIDE Introduction
Exam : MB7-840 Title : NAV 2009 C/SIDE Introduction Version : Demo 1 / 7 1. You need to create a multi-record page that enables users to simultaneously view multiple records from a table and edit them
Setting Up ALERE with Client/Server Data
Setting Up ALERE with Client/Server Data TIW Technology, Inc. November 2014 ALERE is a registered trademark of TIW Technology, Inc. The following are registered trademarks or trademarks: FoxPro, SQL Server,
Web Services API Developer Guide
Web Services API Developer Guide Contents 2 Contents Web Services API Developer Guide... 3 Quick Start...4 Examples of the Web Service API Implementation... 13 Exporting Warehouse Data... 14 Exporting
Microsoft Dynamics TM NAV 5.00. Installation & System Management: Application Server for Microsoft Dynamics NAV
Microsoft Dynamics TM NAV 5.00 Installation & System Management: Application Server for Microsoft Dynamics NAV INSTALLATION & SYSTEM MANAGEMENT: APPLICATION SERVER FOR MICROSOFT DYNAMICS NAV Information
2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.
Using the TestTrack ODBC Driver The read-only driver can be used to query project data using ODBC-compatible products such as Crystal Reports or Microsoft Access. You cannot enter data using the ODBC driver;
Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA
Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA ABSTRACT The SAS Institute has a long history of commitment to openness
CHAPTER 4: BUSINESS ANALYTICS
Chapter 4: Business Analytics CHAPTER 4: BUSINESS ANALYTICS Objectives Introduction The objectives are: Describe Business Analytics Explain the terminology associated with Business Analytics Describe the
FileMaker 11. ODBC and JDBC Guide
FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
Jet Data Manager 2012 User Guide
Jet Data Manager 2012 User Guide Welcome This documentation provides descriptions of the concepts and features of the Jet Data Manager and how to use with them. With the Jet Data Manager you can transform
WhatsUp Gold v16.3 Installation and Configuration Guide
WhatsUp Gold v16.3 Installation and Configuration Guide Contents Installing and Configuring WhatsUp Gold using WhatsUp Setup Installation Overview... 1 Overview... 1 Security considerations... 2 Standard
FileMaker 12. ODBC and JDBC Guide
FileMaker 12 ODBC and JDBC Guide 2004 2012 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc.
SQL Server An Overview
SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system
Building and Using Web Services With JDeveloper 11g
Building and Using Web Services With JDeveloper 11g Purpose In this tutorial, you create a series of simple web service scenarios in JDeveloper. This is intended as a light introduction to some of the
DiskPulse DISK CHANGE MONITOR
DiskPulse DISK CHANGE MONITOR User Manual Version 7.9 Oct 2015 www.diskpulse.com [email protected] 1 1 DiskPulse Overview...3 2 DiskPulse Product Versions...5 3 Using Desktop Product Version...6 3.1 Product
The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.
Content Introduction... 2 Data Access Server Control Panel... 2 Running the Sample Client Applications... 4 Sample Applications Code... 7 Server Side Objects... 8 Sample Usage of Server Side Objects...
FileMaker 13. ODBC and JDBC Guide
FileMaker 13 ODBC and JDBC Guide 2004 2013 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc.
Sage ERP MAS 90 Sage ERP MAS 200 Sage ERP MAS 200 SQL. Installation and System Administrator's Guide 4MASIN450-08
Sage ERP MAS 90 Sage ERP MAS 200 Sage ERP MAS 200 SQL Installation and System Administrator's Guide 4MASIN450-08 2011 Sage Software, Inc. All rights reserved. Sage, the Sage logos and the Sage product
DiskBoss. File & Disk Manager. Version 2.0. Dec 2011. Flexense Ltd. www.flexense.com [email protected]. File Integrity Monitor
DiskBoss File & Disk Manager File Integrity Monitor Version 2.0 Dec 2011 www.flexense.com [email protected] 1 Product Overview DiskBoss is an automated, rule-based file and disk manager allowing one to
Create a New Database in Access 2010
Create a New Database in Access 2010 Table of Contents OVERVIEW... 1 CREATING A DATABASE... 1 ADDING TO A DATABASE... 2 CREATE A DATABASE BY USING A TEMPLATE... 2 CREATE A DATABASE WITHOUT USING A TEMPLATE...
STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER
Notes: STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER 1. These instructions focus on installation on Windows Terminal Server (WTS), but are applicable
How To Use Gfi Mailarchiver On A Pc Or Macbook With Gfi Email From A Windows 7.5 (Windows 7) On A Microsoft Mail Server On A Gfi Server On An Ipod Or Gfi.Org (
GFI MailArchiver for Exchange 4 Manual By GFI Software http://www.gfi.com Email: [email protected] Information in this document is subject to change without notice. Companies, names, and data used in examples
Microsoft Dynamics TM NAV 5.00. Installation & System Management: C/SIDE Database Server for Microsoft Dynamics TM NAV
Microsoft Dynamics TM NAV 5.00 Installation & System Management: C/SIDE Database Server for Microsoft Dynamics TM NAV Installation & System Management: Database Server for Microsoft Dynamics TM NAV Information
ENHANCE. The Style Sheet Tool for Microsoft Dynamics NAV. Microsoft Dynamics NAV 5.0. User s Guide
ENHANCE Microsoft Dynamics NAV 5.0 The Style Sheet Tool for Microsoft Dynamics NAV User s Guide The Style Sheet feature in Microsoft Dynamics TM NAV 5.0 has been enhanced with a new tool that allows you
Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access
Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix Jennifer Clegg, SAS Institute Inc., Cary, NC Eric Hill, SAS Institute Inc., Cary, NC ABSTRACT Release 2.1 of SAS
INTEGRATING MICROSOFT DYNAMICS CRM WITH SIMEGO DS3
INTEGRATING MICROSOFT DYNAMICS CRM WITH SIMEGO DS3 Often the most compelling way to introduce yourself to a software product is to try deliver value as soon as possible. Simego DS3 is designed to get you
Deploying Microsoft Operations Manager with the BIG-IP system and icontrol
Deployment Guide Deploying Microsoft Operations Manager with the BIG-IP system and icontrol Deploying Microsoft Operations Manager with the BIG-IP system and icontrol Welcome to the BIG-IP LTM system -
Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication
Technical Paper Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication Release Information Content Version: 1.0 October 2015. Trademarks and Patents SAS Institute
ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 [email protected] TABLE OF CONTENTS Introduction... 1 Import Excel
Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer
http://msdn.microsoft.com/en-us/library/8wbhsy70.aspx Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer In addition to letting you create Web pages, Microsoft Visual Studio
EVALUATION. WA1844 WebSphere Process Server 7.0 Programming Using WebSphere Integration COPY. Developer
WA1844 WebSphere Process Server 7.0 Programming Using WebSphere Integration Developer Web Age Solutions Inc. USA: 1-877-517-6540 Canada: 1-866-206-4644 Web: http://www.webagesolutions.com Chapter 6 - Introduction
Team Foundation Server 2012 Installation Guide
Team Foundation Server 2012 Installation Guide Page 1 of 143 Team Foundation Server 2012 Installation Guide Benjamin Day [email protected] v1.0.0 November 15, 2012 Team Foundation Server 2012 Installation
How To Create A Report In Excel
Table of Contents Overview... 1 Smartlists with Export Solutions... 2 Smartlist Builder/Excel Reporter... 3 Analysis Cubes... 4 MS Query... 7 SQL Reporting Services... 10 MS Dynamics GP Report Templates...
Microsoft Visual Studio Integration Guide
Microsoft Visual Studio Integration Guide MKS provides a number of integrations for Integrated Development Environments (IDEs). IDE integrations allow you to access MKS Integrity s workflow and configuration
Getting Started with STATISTICA Enterprise Programming
Getting Started with STATISTICA Enterprise Programming 2300 East 14th Street Tulsa, OK 74104 Phone: (918) 749 1119 Fax: (918) 749 2217 E mail: mailto:[email protected] Web: www.statsoft.com
Word 2010: Mail Merge to Email with Attachments
Word 2010: Mail Merge to Email with Attachments Table of Contents TO SEE THE SECTION FOR MACROS, YOU MUST TURN ON THE DEVELOPER TAB:... 2 SET REFERENCE IN VISUAL BASIC:... 2 CREATE THE MACRO TO USE WITHIN
Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide
Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide Table of Contents TABLE OF CONTENTS... 3 1.0 INTRODUCTION... 1 1.1 HOW TO USE THIS GUIDE... 1 1.2 TOPIC SUMMARY...
Omgeo OASYS Workstation Installation Guide. Version 6.4 December 13, 2011
Omgeo OASYS Workstation Installation Guide Version 6.4 December 13, 2011 Copyright 2011 Omgeo LLC. All rights reserved. This publication (including, without limitation, any text, image, logo, compilation,
Oracle Service Bus Examples and Tutorials
March 2011 Contents 1 Oracle Service Bus Examples... 2 2 Introduction to the Oracle Service Bus Tutorials... 5 3 Getting Started with the Oracle Service Bus Tutorials... 12 4 Tutorial 1. Routing a Loan
Integrating with BarTender Integration Builder
Integrating with BarTender Integration Builder WHITE PAPER Contents Overview 3 Understanding BarTender's Native Integration Platform 4 Integration Builder 4 Administration Console 5 BarTender Integration
Retail Deployment Guide. Microsoft Dynamics AX 2012 Feature Pack
Retail Deployment Guide Microsoft Dynamics AX 2012 Feature Pack Microsoft Corporation February 2012 Microsoft Dynamics is a line of integrated, adaptable business management solutions that enables you
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...
Upgrading a Microsoft Dynamics NAV 2009 R2 or Microsoft Dynamics NAV 2009 SP1 Database to Microsoft Dynamics NAV 2015
Upgrading a Microsoft Dynamics NAV 2009 R2 or Microsoft Dynamics NAV 2009 SP1 Database to Microsoft Dynamics NAV 2015 White Paper November 2014 Contents Introduction... 3 Data Upgrade Short Overview...
SOFTWARE INSTALLATION INSTRUCTIONS CLIENT/SERVER EDITION AND WEB COMPONENT VERSION 10
3245 University Avenue, Suite 1122 San Diego, California 92104 USA SOFTWARE INSTALLATION INSTRUCTIONS CLIENT/SERVER EDITION AND WEB COMPONENT VERSION 10 Document Number: SII-TT-002 Date Issued: July 8,
Users Guide. SelenioFlex File. Version 2.10.0
SelenioFlex File Version 2.10.0 August 2015 Publication Information 2015 Imagine Communications Corp. Proprietary and Confidential. Imagine Communications considers this document and its contents to be
BarTender s ActiveX Automation Interface. The World's Leading Software for Label, Barcode, RFID & Card Printing
The World's Leading Software for Label, Barcode, RFID & Card Printing White Paper BarTender s ActiveX Automation Interface Controlling BarTender using Programming Languages not in the.net Family Contents
RE:Open for SQL Anywhere. Installation Guide. RE:Open for SQL Anywhere Installation Guide 1
RE:Open for SQL Anywhere Installation Guide RE:Open for SQL Anywhere Installation Guide 1 Pre-Installation Considerations Close all other Windows applications before running the installation. Your Raiser
CoCreate Manager Server Installation Guide. CoCreate Manager Server Installation Guide 1
CoCreate Manager Server Installation Guide CoCreate Manager Server Installation Guide 1 CoCreate Manager Server Installation Guide 2 Table Of Contents 1. CoCreate Manager Server 2008 4 1.1. Installation
Installation Instruction STATISTICA Enterprise Server
Installation Instruction STATISTICA Enterprise Server Notes: ❶ The installation of STATISTICA Enterprise Server entails two parts: a) a server installation, and b) workstation installations on each of
Data Tool Platform SQL Development Tools
Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6
Merak Outlook Connector User Guide
IceWarp Server Merak Outlook Connector User Guide Version 9.0 Printed on 21 August, 2007 i Contents Introduction 1 Installation 2 Pre-requisites... 2 Running the install... 2 Add Account Wizard... 6 Finalizing
BillQuick Agent 2010 Getting Started Guide
Time Billing and Project Management Software Built With Your Industry Knowledge BillQuick Agent 2010 Getting Started Guide BQE Software, Inc. 2601 Airport Drive Suite 380 Torrance CA 90505 Support: (310)
Administration GUIDE. SharePoint Server idataagent. Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 201
Administration GUIDE SharePoint Server idataagent Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 201 Getting Started - SharePoint Server idataagent Overview Deployment Configuration Decision Table
FileMaker 14. ODBC and JDBC Guide
FileMaker 14 ODBC and JDBC Guide 2004 2015 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and FileMaker Go are trademarks of FileMaker,
WhatsUp Gold v16.2 Database Migration and Management Guide
WhatsUp Gold v16.2 Database Migration and Management Guide Contents CHAPTER 1 How to use this guide CHAPTER 2 Migrating the WhatsUp Gold Microsoft SQL Server 2008 R2 Express Edition database to Microsoft
Sage 300 ERP 2014. Installation and Administration Guide
Sage 300 ERP 2014 Installation and Administration Guide This is a publication of Sage Software, Inc. Copyright 2013. Sage Software, Inc. All rights reserved. Sage, the Sage logos, and the Sage product
HYPERION SYSTEM 9 N-TIER INSTALLATION GUIDE MASTER DATA MANAGEMENT RELEASE 9.2
HYPERION SYSTEM 9 MASTER DATA MANAGEMENT RELEASE 9.2 N-TIER INSTALLATION GUIDE P/N: DM90192000 Copyright 2005-2006 Hyperion Solutions Corporation. All rights reserved. Hyperion, the Hyperion logo, and
Load testing with. WAPT Cloud. Quick Start Guide
Load testing with WAPT Cloud Quick Start Guide This document describes step by step how to create a simple typical test for a web application, execute it and interpret the results. 2007-2015 SoftLogica
Bitrix Site Manager ASP.NET. Installation Guide
Bitrix Site Manager ASP.NET Installation Guide Contents Introduction... 4 Chapter 1. Checking for IIS Installation... 5 Chapter 2. Using An Archive File to Install Bitrix Site Manager ASP.NET... 7 Preliminary
ODBC Driver Version 4 Manual
ODBC Driver Version 4 Manual Revision Date 12/05/2007 HanDBase is a Registered Trademark of DDH Software, Inc. All information contained in this manual and all software applications mentioned in this manual
Tips and Tricks SAGE ACCPAC INTELLIGENCE
Tips and Tricks SAGE ACCPAC INTELLIGENCE 1 Table of Contents Auto e-mailing reports... 4 Automatically Running Macros... 7 Creating new Macros from Excel... 8 Compact Metadata Functionality... 9 Copying,
Moving the TRITON Reporting Databases
Moving the TRITON Reporting Databases Topic 50530 Web, Data, and Email Security Versions 7.7.x, 7.8.x Updated 06-Nov-2013 If you need to move your Microsoft SQL Server database to a new location (directory,
Log Analyzer Reference
IceWarp Unified Communications Log Analyzer Reference Version 10.4 Printed on 27 February, 2012 Contents Log Analyzer 1 Quick Start... 2 Required Steps... 2 Optional Steps... 3 Advanced Configuration...
STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS
STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS Notes 1. The installation of STATISTICA Enterprise Small Business entails two parts: a) a server installation, and b)
EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server 2014. Version 1
EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server 2014 Version 1 NEC EXPRESSCLUSTER X 3.x for Windows SQL Server 2014 Quick Start Guide Document Number ECX-MSSQL2014-QSG, Version
Chapter 4 Accessing Data
Chapter 4: Accessing Data 73 Chapter 4 Accessing Data The entire purpose of reporting is to make sense of data. Therefore, it is important to know how to access data locked away in the database. In this
Microsoft Dynamics TM NAV 5.00. Installation & System Management: Employee Portal for Microsoft Dynamics NAV
Microsoft Dynamics TM NAV 5.00 Installation & System Management: Employee Portal for Microsoft Dynamics NAV INSTALLATION AND SYSTEM MANAGEMENT: EMPLOYEE PORTAL FOR MICROSOFT DYNAMICS NAV Information
Gladinet Cloud Backup V3.0 User Guide
Gladinet Cloud Backup V3.0 User Guide Foreword The Gladinet User Guide gives step-by-step instructions for end users. Revision History Gladinet User Guide Date Description Version 8/20/2010 Draft Gladinet
Installing Cobra 4.7
Installing Cobra 4.7 Stand-alone application using SQL Server Express A step by step guide to installing the world s foremost earned value management software on a single PC or laptop. 1 Installing Cobra
WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express
WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express Edition to Microsoft SQL Server 2005, 2008, or 2008 R2
Introduction to Microsoft Access 2003
Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft
Portions of this product were created using LEADTOOLS 1991-2009 LEAD Technologies, Inc. ALL RIGHTS RESERVED.
Installation Guide Lenel OnGuard 2009 Installation Guide, product version 6.3. This guide is item number DOC-110, revision 1.038, May 2009 Copyright 1992-2009 Lenel Systems International, Inc. Information
Sage 300 ERP 2012. Installation and Administration Guide
Sage 300 ERP 2012 Installation and Administration Guide This is a publication of Sage Software, Inc. Version 2012 Copyright 2012. Sage Software, Inc. All rights reserved. Sage, the Sage logos, and the
QUANTIFY INSTALLATION GUIDE
QUANTIFY INSTALLATION GUIDE Thank you for putting your trust in Avontus! This guide reviews the process of installing Quantify software. For Quantify system requirement information, please refer to the
ODBC Group Policy Settings
ODBC Group Policy Settings Indhold Introduction... 3 Computers involved... 3 Complete process... 3 ODBC 32/64 bit issues... 3 Process of setting up Registry settings for ODBC... 5 Registry files with settings...
ODBC Overview and Information
Appendix A ODBC ODBC Overview and Information ODBC, (Open Database Connectivity), is Microsoft s strategic interface for accessing data in an environment of relational and non-relational database management
Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.
Create a table When you create a database, you store your data in tables subject-based lists that contain rows and columns. For instance, you can create a Contacts table to store a list of names, addresses,
Citrix EdgeSight for Load Testing User s Guide. Citrix EdgeSight for Load Testing 3.8
Citrix EdgeSight for Load Testing User s Guide Citrix EdgeSight for Load Testing 3.8 Copyright Use of the product documented in this guide is subject to your prior acceptance of the End User License Agreement.
Installation Guide for Workstations
Installation Guide for Workstations Copyright 1998-2005, E-Z Data, Inc. All Rights Reserved. No part of this documentation may be copied, reproduced, or translated in any form without the prior written
CRM Migration Manager 3.1.1 for Microsoft Dynamics CRM. User Guide
CRM Migration Manager 3.1.1 for Microsoft Dynamics CRM User Guide Revision D Issued July 2014 Table of Contents About CRM Migration Manager... 4 System Requirements... 5 Operating Systems... 5 Dynamics
StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster
#1 HyperConverged Appliance for SMB and ROBO StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with MARCH 2015 TECHNICAL PAPER Trademarks StarWind, StarWind Software and the
SharePoint Integration
Microsoft Dynamics CRM 2011 supports SharePoint 2007/2010 integration to improve document management in CRM. The previous versions of CRM didn't have a solid out-of-the-box solution for document management
National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide
National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide NFIRS 5.0 Software Version 5.6 1/7/2009 Department of Homeland Security Federal Emergency Management Agency United States
Microsoft Dynamics NAV Connector. User Guide
Microsoft Dynamics NAV Connector User Guide Microsoft Dynamics NAV Connector, version 1.0 Copyright Bottomline Technologies, Inc. 2008. All Rights Reserved Information in this document is subject to change
Sage ERP Accpac 6.0A. Installation and System Administrator's Guide
Sage ERP Accpac 6.0A Installation and System Administrator's Guide 2010 Sage Software, Inc. All rights reserved. Sage, the Sage logos, and all Sage ERP Accpac product and service names mentioned herein
Integrating Siebel CRM with Microsoft SharePoint Server
Integrating Siebel CRM with Microsoft SharePoint Server www.sierraatlantic.com Headquarters 6522 Kaiser Drive, Fremont CA 94555, USA Phone: 1.510.742.4100 Fax: 1.510.742.4101 Global Development Center
XMailer Reference Guide
XMailer Reference Guide Version 7.00 Wizcon Systems SAS Information in this document is subject to change without notice. SyTech assumes no responsibility for any errors or omissions that may be in this
System Administration Training Guide. S100 Installation and Site Management
System Administration Training Guide S100 Installation and Site Management Table of contents System Requirements for Acumatica ERP 4.2... 5 Learning Objects:... 5 Web Browser... 5 Server Software... 5
Archive Attender Version 3.5
Archive Attender Version 3.5 Getting Started Guide Sherpa Software (800) 255-5155 www.sherpasoftware.com Page 1 Under the copyright laws, neither the documentation nor the software can be copied, photocopied,
Installation Instruction STATISTICA Enterprise Small Business
Installation Instruction STATISTICA Enterprise Small Business Notes: ❶ The installation of STATISTICA Enterprise Small Business entails two parts: a) a server installation, and b) workstation installations
How To Create An Easybelle History Database On A Microsoft Powerbook 2.5.2 (Windows)
Introduction EASYLABEL 6 has several new features for saving the history of label formats. This history can include information about when label formats were edited and printed. In order to save this history,
Application. 1.1 About This Tutorial. 1.1.1 Tutorial Requirements. 1.1.2 Provided Files
About This Tutorial 1Creating an End-to-End HL7 Over MLLP Application 1.1 About This Tutorial 1.1.1 Tutorial Requirements 1.1.2 Provided Files This tutorial takes you through the steps of creating an end-to-end
Configuring Jet Express for Microsoft Dynamics NAV 2013
Configuring Jet Express for Microsoft Dynamics NAV 2013 Overview With the release of Jet Express 2012 R2, Jet Reports introduces the ability to report from a Microsoft Dynamics NAV 2013 database. Web Services
Silect Software s MP Author
Silect MP Author for Microsoft System Center Operations Manager Silect Software s MP Author User Guide September 2, 2015 Disclaimer The information in this document is furnished for informational use only,
E-mail Listeners. E-mail Formats. Free Form. Formatted
E-mail Listeners 6 E-mail Formats You use the E-mail Listeners application to receive and process Service Requests and other types of tickets through e-mail in the form of e-mail messages. Using E- mail
How to test and debug an ASP.NET application
Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult
