Warning
WARNING: The TrackAbout MetaWiki has been deprecated and is no longer being updated.

Please visit our new TrackAbout Knowledge Base at https://supportkb.trackabout.com for the most-up-to-date documentation on TrackAbout and TrackAbout Mobile.

Difference between revisions of "TECSYS Integration"

From TrackAbout MetaWiki
Jump to navigation Jump to search
Line 5: Line 5:
 
:::[[Image:TrackaboutTecsysIntegrationArrows.jpg|border]]
 
:::[[Image:TrackaboutTecsysIntegrationArrows.jpg|border]]
  
==How the Tecsys/TrackAbout Interfaces work==
+
==Integration Mechanism==
  
 
At a high level:
 
At a high level:
 
*TrackAbout hosts webservices that are called by Tecsys/Elite
 
*TrackAbout hosts webservices that are called by Tecsys/Elite
 
*Queue timers in Elite kick off calls to these webservices
 
*Queue timers in Elite kick off calls to these webservices
*These queue timers can be run on whatever schedule you want to set in Elite
+
**These queue timers can be run on whatever schedule you want to set in Elite. It is typical for the timers to run twice a day or so.
** It is typical for the timers to run twice a day or so.
+
**You can also use "Execute Now" in Elite to kick off the queue timers manually at any time
*You can also use "Execute Now" in Elite to kick off the queue timers manually at any time
+
**The programs triggered by the queue to send data to TrackAbout only send changes since the last time the timer ran
 +
*The webservices exchange XML based text files between Elite and TrackAbout
 +
*Pushing data from Elite to TrackAbout is a one step process. A single queue timer can for instance push up changes to items.
 
*Pulling Asset Balances and Rental Invoics into Elite is a two step process.
 
*Pulling Asset Balances and Rental Invoics into Elite is a two step process.
**First one queue timer  
+
**First one queue timer pulls the information into a staging table (dms_stg_asset_bal for balances and dms_stg_sale_b for rental invoices)
 +
**Then another timer moves the data from the staging table into the Elite tables
  
===Queue timers===
+
 
 +
==Queue timers==
 
Queue timers are setup in Tecsys. They are used to run a specific program at a specific time.  
 
Queue timers are setup in Tecsys. They are used to run a specific program at a specific time.  
  
Line 47: Line 51:
 
:::[[Image:TecsysQueueTimerSuccessMessage.jpg|border]]
 
:::[[Image:TecsysQueueTimerSuccessMessage.jpg|border]]
  
 +
==What Data is Transferred==
  
===Integration Views===
+
===Elite Integration Views===
 
Tecsys/Elite uses views to create the XML text files that are used for integration. These views can be altered like other Views in Elite, but this should only be done by Tecsys staff as it require coordination with TrackAbout so that TrackAbout expects the changes.
 
Tecsys/Elite uses views to create the XML text files that are used for integration. These views can be altered like other Views in Elite, but this should only be done by Tecsys staff as it require coordination with TrackAbout so that TrackAbout expects the changes.
  
Line 63: Line 68:
  
  
 
+
===TrackAbout Integration Specifications ===
 
 
=== Integration Specs ===
 
 
The specifications for the integration are listed below.
 
The specifications for the integration are listed below.
 
This is useful if you want to see exactly which fields are sent between TrackAbout and Tecsys.
 
This is useful if you want to see exactly which fields are sent between TrackAbout and Tecsys.
Line 90: Line 93:
  
  
===Tecsys Configuration===
+
==Tecsys Configuration==
 
Here are some of the configurations setup in Tecsys for the integration.
 
Here are some of the configurations setup in Tecsys for the integration.
  

Revision as of 09:42, 4 August 2011

Integration Data Flows

TECSYS and TrackAbout have built a generic integration that is in use with all of our mutual customers. The picture below shows the information that flows from one system to the other.

TrackaboutTecsysIntegrationArrows.jpg

Integration Mechanism

At a high level:

  • TrackAbout hosts webservices that are called by Tecsys/Elite
  • Queue timers in Elite kick off calls to these webservices
    • These queue timers can be run on whatever schedule you want to set in Elite. It is typical for the timers to run twice a day or so.
    • You can also use "Execute Now" in Elite to kick off the queue timers manually at any time
    • The programs triggered by the queue to send data to TrackAbout only send changes since the last time the timer ran
  • The webservices exchange XML based text files between Elite and TrackAbout
  • Pushing data from Elite to TrackAbout is a one step process. A single queue timer can for instance push up changes to items.
  • Pulling Asset Balances and Rental Invoics into Elite is a two step process.
    • First one queue timer pulls the information into a staging table (dms_stg_asset_bal for balances and dms_stg_sale_b for rental invoices)
    • Then another timer moves the data from the staging table into the Elite tables


Queue timers

Queue timers are setup in Tecsys. They are used to run a specific program at a specific time.

For you techies: This is analogous to 'cron jobs' in the Unix world or 'scheduled tasks' in the Microsoft world.

The basic idea is that you create a program then you schedule it to run every so often with the queue timer. For example you might schedule a program to run every hour at :15 after the hour. Or you might schedule a program to run at noon and 2am every day. Or you might schedule a program to run weekly at 3pm on Sunday afternoons.

This is how the integration works between Tecsys and TrackAbout. Various queue timers are run in Tecsys which push data to TrackAbout or ask TrackAbout if there is any data for them to pull down. All of the configuration of the schedule of integration happens in Tecsys. There is nothing to setup in TrackAbout (beyond setting up a 'Webservice' user - which will be done for you by Tecsys implementation staff).

Where are the Queue Timers?

There are two ways to get to the queue timers. Both are done inside of Tecsys/Elite:

  1. Navigate to: Home > System Administration > Messaging System> Queue Timer Master
  2. Use the Quick Launch resource box in the upper right hand side corner. Go to meta_md_timer
TecsysQueueTimers.jpg

I only want to see the TrackAbout queue timers

To limit the page to just the TrackAbout queue timers, search for *trackabout* in the "Queue Timer Description" field


Running a Queue Timer Manually

To run a queue timer manually, click on the downward facing arrow the the left of the queue timer. Click this "Execute Now" option in the list of action choices.

TecsysQueteTimerExecuteNow.jpg


After you have run the "Execute Now" you should see this message "Queue: Successfully created"

TecsysQueueTimerSuccessMessage.jpg

What Data is Transferred

Elite Integration Views

Tecsys/Elite uses views to create the XML text files that are used for integration. These views can be altered like other Views in Elite, but this should only be done by Tecsys staff as it require coordination with TrackAbout so that TrackAbout expects the changes.

  • "File Out" views
    • Customers: dms_customer.trackabout
    • Ship-Tos: dms_cust_shp.trackabout
    • Items: dms_item.trackabout
    • Tax: dms_tax.trackabout
    • Shipments: dms_ship.trackabout, dms_ship_l.trackabout
    • Invoiced Shipments: dms_inv_shp.trackabout, dms_inv_shp_l.trackabout
  • "File In" views
    • Asset Balances: dms_stg_asset_bal
    • Rental Invoices: dms_stg_sale_b


TrackAbout Integration Specifications

The specifications for the integration are listed below. This is useful if you want to see exactly which fields are sent between TrackAbout and Tecsys.

Note that you can change the version (v=#.#.#) in the URL to see the specification for different versions of the interfaces.

Integration File Archive

The XML files exchanged with TrackAbout are archived on your Tecsys/Elite server.

  • By default they reside in the JBoss app server’s EAR directory
    • Under the "data/xmlFileIn" subdirectory for import XML files
    • Under the "data/xmlFileOut" subdirectory for export XML files

Create a Samba share in order that you may access these subdirectories from Windows


Tecsys Configuration

Here are some of the configurations setup in Tecsys for the integration.

These should normally only be edited by Tecsys staff.

Messaging:

  • msg.admin.email – The email to send a message to whenever an error occurs
  • msg.admin.email.interval – The interval in minutes between email messages sent

TrackAbout connectivity parameters:

  • dms.trackabout.interface.inbound_url
  • dms.trackabout.interface.inbound_argument
  • dms.trackabout.interface.outbound_url
  • dms.trackabout.interface.username
  • dms.trackabout.interface.password
  • dms.trackabout.interface.enforce_valid_cert

Some Specific Issues

Bill-to and Ship-to numbers

Today we're setup in TrackAbout like this:

Bill-to: 007780 (We call this the "Parent")
Ship-to: 0077801 (We call this the "Department")

TrackAbout requires that all bill-to and ship-to numbers be unique.


TECSYS is fundamentally setup like this:

Bill-to: 007780
Ship-to: 1

TECSYS requires that all bill-to customers be unique and that the ship-to numbers within a bill-to are unique. So many bill-to's can all have the same ship-to number. For instance many bill-to's can have a ship-to of "1".


To ensure that we don't have any problems in our integration, we will setup our TrackAbout numbers to have a Ship-to number that includes the TECSYS Bill-to number then a plus sign (+) then the TECSYS Ship-to number. This guarantees that all ship-to numbers are unique in TrackAbout. So the format is like this:

TECSYS
Bill-to: A
Ship-to: B
Trackbout:
Bill-to: A
Ship-to: A+B


So if you wanted to keep the longer ship-to numbers in Elite for ease of training/conversion for your users then we'd set them up like this (This is what we've done at our other TECSYS/TrackAbout customers)

TECSYS
Bill-to: 007780
Ship-to: 0077801
TrackAbout
Bill-to: 007780
Ship-to: 007780+0077801


Or if you wanted to switch to using short ship-to numbers in Elite you could do it like this:

TECSYS
Bill-to: 007780
Ship-to: 1
TrackAbout
Bill-to: 007780
Ship-to: 007780+1

So one of the steps in your conversion to TECSYS is for us to convert your Bill-To (Department) numbers in TrackAbout to the new format.