Example 1. Connecting to Sage
The first step when using this component is to connect to the Sage data store. You
will need to know three things before you can connect to Sage.
-
What version of Sage are you using.
-
Where Sage is installed on the local system.
-
The username and password for connecting to Sage.
(by default, MANAGER with blank password)
Example 2. Importing Products, Suppliers, Customers, and Sales
To synchronise Sage with your in-office database, website, or other external application, you will
need to be able to take your most up-to-date lists of products, Suppliers, Customers, and Sales
from Sage. Taking this information out of sage uses a standardized interface, as the code below demonstrates.
Example 3. Dispatching a Sales Order with an Invoice
This component is not limited to reading information from Sage, you can also modify it,
(unlike the ODBC driver). The following example creates an Invoice from a Sales Order (SOP).
With simple modifications, it could be used to create an Invoice from any other source.
Download Documentation
For a complete object reference for this component, you may download the PDF
below. A HTML version is available for download also.