Overview 

DBSync's "Sage 100 & PocketAdvantag Bidirectional Integration" is easy to use solution template which integrates data both ways between the Sage 100 & PocketAdvantage app. The template is also useful in migrating historical Sage 100 data into PA and can also be used to do a periodic swipe of historical accounting data into PA. This template provides Bi-directional the flexibility for more complex and dynamic mapping capability. 


Data Flow 

 Data flow of Sage 100 and PocketAdvantage application is shown in the table below.

Process Map

The Process map of Bi-Directional Integration - between Sage 100 application and PocketAdvantage application - is shown in the image below.



Pre-Requisites for Integration

# Creating ODBC data source 

  1. Importing a Job File in Sage 100
  2. Scheduling a Job in Sage 100  
Setting up ODBC DataSource 

 One of the most important prerequisites of Sage 100 and PocketAdvantage system is to set up the ODBC data source connection on the server where Sage 100 is hosted. The below steps explain how to set up the ODBC connection so that Sage 100 opens a connection to DBSync.

  1. Go to Control Panel -> Administrative services of the server on which the Sage 100 is hosted.
  2. Select the service ODBC data source 32-bit/64-bit based on server configuration. This will open a pop up as shown in the image below. 
  3. Choose the Tab user DSN and click on the Add button. This will open a pop up with various drivers. 
  4. Choose MySQLODBC5.3 Unicode driver. This will pop open a window to enter connection properties. 
  5. In the MySQL connection window, enter the following Parameters Data Source Name: dbsyncqueue , TCP/IP server: dbsync-queue.cvglyvvn64dx.us-east-1.rds.amazonaws.com, user:dbsync, Password, Database: Sage.  

Importing Job File 

The steps below show how to import the job file script provided by DBSync - it is mandatory for the integration to work.

  1. Login to Sage 100 with valid credentials. 
  2. On the left navigation, select a visual integrator. This will provide a list of options. 
  3. Choose the "Job Import" option from the available values. 
  4. Choose the file provided by DBSync. The file can be downloaded by clicking on the following link.
  5. From the file dialog box, choose the file. It will show the list of all the jobs that are required for DBSync to perform the integration.
  6. Select all. And then, click on the Accept button as shown in the following screenshot. 

          

Schedule a Job 

Scheduling all the necessary jobs, from Task Scheduler, will facilitate the data to be migrated from Sage 100 to DBSync. DBSync, in turn, will process the data to PocketAdvantage. Here are the steps to schedule a job so that they get scheduled at the set time intervals:

  1. Login to Sage 100 with valid user credentials. 
  2. Search for the Task Scheduler from the search. It will return the search results.
  3. Clicking on the search result name of Task Scheduler will open a popup - as shown in the image below.
  4. Key in the desired job name. Moving the cursor to next text box will auto-populate the company code, Sage 100 user login, and server user logon.
  5. The user will have to key in the Sage 100 Account Password and Server Password. Then, s/he will have to choose the type to "Visual Integrator ".
  6. Set the schedule job intervals by choosing the appropriate options.
  7. Choose the tab "Tasks".
  8. Select the V/I Job Type to  Export, in case of reading data from Sage 100. Or, choose Import in case of writing to Sage 100. Then, choose the V/I Job Name as appropriate. 
  9. Click on Accept to save the job. 

 

Post Process Of Sage Data 

A question may arise - what happens to the Sage data after it is read from the Sage 100 application? How does DBSync process the data and write to the PocketAdvantage? Below steps explain how Sage Data is being processed to the PocketAdvantage. 

  1. The Scheduled jobs within the Sage 100 application, helps to read from Sage and processes to DBSync. 
  2. The DBSync holds the Sage data in a queue - i.e. a buffer - before applying the required transformations and writing to the PocketAdvantage.
  3. The workflows - with the naming convention "Merge" within the DBSync - will help DBSync to sort any duplicate records that are processed into the DBSync's buffer.
  4. DBSync internally uses a chaining technique for the merging process. The technic enables DBSync to identify unique records and separate duplicate records from the unique ones.
  5. Then, another workflow will process the data from DBSync buffer to PocketAdvantage. 
Running The Integrations

DBSync Integration of Sage & PocketAdvantage can be triggered by:

  1. Clicking on the Run-now button from the process listing page of DBSync.
  2. Using DBSync Scheduler.

Clicking on Run-Now Buttons From DBSync platform

The user can log in to DBSync with his/her valid credentials and click on the Run-now button from the process listing page or from the workflow listing page . The order of execution, of the process, must follow the following path:

Using DBSync Scheduler 

PockeAdvantage Configuration steps link: PocketAdvantage Connector (How to do the connector configuration in DBSync Platform)

Sage 100 Configuration steps link: Sage 100 Connector (How to do the connector configuration in DBSync Platform)