SyteLine provides an XML-based interface that can be used with an external financial system such as Infor SunSystems or SAP. Also, SyteLine provides a direct data access interface for Infor Global Financials (IGF). You can choose which types of financial information to export or import between SyteLine and the other system.
This topic includes the following subtopics:
When setting up the interface, use the following information and instructions:
For more information, see the Replication Reference Guide, available from our support site.
The SyteLine DataMap's Schema-Properties spreadsheet, which lists SyteLine database tables and columns, could provide a good starting point for a mapping plan.
For more information, see the document Integrating IDOs with External Applications (especially the chapter on XML IDO request and response documents), which is available from our support site.
This system type is used when defining the target site for the external financial application in the Sites/Entities form.
Make sure that an additional system type is defined for your SyteLine application.
The source and target system types are used in the names of XSL stylesheets that can be used to transform the XML data. For more information, see the System Types Help topic.
For this intranet, specify the URL to which the financial XML request/response documents will be posted. This URL should be entered in the URL field on the Intranets form. This URL could be an ASP page on the external financial system that receives and processes the XML from the SyteLine message queue. The processing done at this URL is up to you. For example, an ASP page might map the data into the proper format for the external system, or it might write the XML documents to a location on its server for later processing.
NOTE: This site must not be used for any other purpose. To avoid confusion, we suggest you name the site EXTFIN.
For more information about setup requirements for this user, see the online help for this tab and field.
When SyteLine performs a credit check for a customer, it needs the customer's current posted balance. If SyteLine is used for A/R functions, it has all the information it needs to calculate and store posted balance amounts. However, if the external financial system is used for A/R functions, then SyteLine must get the posted balance from the external system. There are two ways to do this:
To set this up, select the Use External Customer Posted Balance for Credit Check field on the External Financial Interface Parameters form. Then update the stub stored procedure named ExtFinGetExternalPostedBalSp so that it returns the posted balance from the external system.
Whenever that utility is run, SyteLine updates its posted balance information for all customers in the range. A credit check then uses the latest stored data.
For instance, is there data in other SyteLine tables that your external financial system will need? We recommend that you leave the default categories as is, and create new ones as needed. The default EXTFIN categories are listed here:
NOTE: A table name can be represented by the name of a view over the table. This section uses view names in place of table names, where appropriate.
Processing note for customer and vendor records: When a new customer or vendor record is added in SyteLine, the information is sent to the external financial system as a single XML document combining the information from the sibling tables, customer/custaddr or vendor/vendaddr, respectively. The information for custaddr or vendaddr in the single XML just contains the specified key values and default values for the table's columns. The user-specified values will be included as part of an update that follows the insert. However, for updates to existing customer or vendor records, the XML document pulls records only from the table that changed.
This must be done for each SyteLine site where you will be exporting data to the EXTFIN site. If you created additional categories for your external financial system in the previous step, set up rules for the new categories, too.
A sample rule would include information such as the following:
Source Site: OH (the site from
which data will be extracted)
Target Site: EXTFIN
Category: EXTFIN Vendor
Description: Pass vendor info to EXTFIN
Interval Type: Immediate (anything but Transactional will work
here)
Interval: (Blank if Interval Type is Immediate; some interval
value otherwise)
Start Interval at: (Blank if Interval Type is Immediate; a time
value otherwise)
Disable Replication: (Cleared - EXTFIN uses replication)
Update All Columns: (Cleared)
Again, in these examples, we use view names in place of actual table names.
<IDORequest>
<RequestHeader Type="UpdateCollection">
<RequestData>
<UpdateCollection Name="EXTFIN.xml_doc_name.table">
For example: <UpdateCollection Name="EXTFIN.ExtFinLedgerPosting.ledger">
The external financial system is expected to respond to "update collection" requests by updating the data in the external financial application.
<IDORequest>
<RequestHeader Type="LoadCollection">
<RequestData>
<LoadCollection Name="EXTFIN.xml_doc_name.table">
For example: <LoadCollection Name="EXTFIN.ExtFinRequestChart.chart">
The exception is the Customer Posted Balance request, which uses an "invoke method" request:
<Invoke="EXTFIN.ExtFinRequestCustomerPostedBalance">
The external financial application is expected to respond to "load collection" and "invoke method" requests by returning to SyteLine an "update collection" response that includes the requested data.
For more information, see Example: Requesting Data from an External Financial Application.
<UpdateCollectionName="Table!replication_category_to_object_name">
For example: <UpdateCollectionName="Table!Customer">
The external financial system is expected to respond to these "update collection" requests by updating the data in the external financial application.
Your external financial system should use the information in these tags to determine how to process and map the data in each XML document. The import process on the external system must also handle the batch_seq information in the XML document.
For information about the syntax and tags used in the XML documents, see the document Integrating IDOs with External Applications, especially the chapter on XML IDO request and response documents.
Samples of the outbound XML documents that may be generated from SyteLine are available in ZIP files from our support site.
To set up an interface that updates the SyteLine database with financial data from the external system, create XML documents that access the SyteLine IDO collections. The process and syntax of using XML documents for data transfer to SyteLine is described in the document Integrating IDOs with External Applications available from our support site.
Then set up your external system to post the XML documents to the SyteLine mailbox, using the HTTP POST protocol.
The SyteLine External Financial Interface Data Request Utility can be set up to request updates to specific SyteLine database tables from the external financial application. Depending on your external financial application's requirements, you may be able to use this utility as a starting point for setting up your application. For more information, see Updating SyteLine Data from Data in an External Financial Application.
NOTE: For Infor Global Financials (IGF) integration, only Chart of Accounts, Currency Codes, and Currency Rates can be selected on the Table tab. All fields are available for use on the Customer Posted Balance tab. The IGF integration uses direct data access with this utility to retrieve data for SyteLine.
Example: Requesting Data from an External Financial Application
Handling Replication Data and Communication Errors
Updating SyteLine Data from Data in an External Financial Application