Setting Up an External Financial Interface
SyteLine provides an XML-based interface that can be used with an external financial system such as Infor SunSystems or SAP. You can choose which types of financial information to export or import between SyteLine and the other system.
- If you are setting up the Infor SyteLine Enterprise Financials (SunSystems interface) package, see the Infor SyteLine Enterprise Financials Installation and Implementation Guide instead of using these steps.
- If you are using any other financial package, follow the steps below.
Use this topic in conjunction with Setting Up an Incoming Financial Interface.
To set up the interface from to SyteLine to an External Financial System:
- EXTFIN: Used for exporting
SyteLine
A/R, A/P, and G/L transactions to the external financial system, and also for
exporting requests for updates to
SyteLine
tables by the external financial system. This category includes the functions
and XML documents required to export financial information:
- ExtFinAPVoucherPosting: Exports data from the SyteLine export_aptrx and export_aptrxd tables, which are holding tables for data collected from various A/P tables.
- ExtFinARInvoicePosting: Exports data from the SyteLine export_arinv and export_arinvd tables, which are holding tables for data collected from various A/R tables.
- ExtFinAnaLedgerPosting: Exports data from the SyteLine ana_ledger table.
- ExtFinLedgerPosting: Exports data from the SyteLine ledger table.
- ExtFinRequest: Exports a request to the external financial application for updates to a specific SyteLine table. For more information, see the help for the External Financial Interface Data Request Utility.
- EXTFIN Customer: Used for exporting SyteLine customer information. This category includes the sibling database tables custaddr and customer.
- EXTFIN Vendor:- Used for exporting SyteLine vendor information. This category includes the sibling database tables vendaddr and vendor.
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.
- Create one replication
rule for each EXTFIN category, using the
Replication Rules form.
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)
- On the Replication Management form, click the button to rebuild the database table triggers based on the rules you created in the previous step.
- Stop and start the replication services on the SyteLine utility server.
- Set up the URL (which was specified in Step 6) on your external financial system to retrieve and process the XML documents mentioned in Step 12.
Again, in these examples, we use view names in place of actual table names.
- The EXTFIN XML "update collection" documents are used to specify information from SyteLine that should be updated in the external financial system. They start with a set of tags similar to the following:
<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.
- The EXTFIN XML "load collection" documents are used to request information from the external financial system that needs to be updated in SyteLine. They start with a set of tags similar to the following:
<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.
- The EXTFIN Customer and EXTFIN Vendor XML documents contain a tag similar to the following:
<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.
- The EXTFIN XML "update collection" documents are used to specify information from SyteLine that should be updated in the external financial system. They start with a set of tags similar to the following:
-
Set up the interface from the External System to SyteLine.