Chapter Contents:
Invoices
Integration is checking for invoices that are ready for posting every 10 seconds and then posts the invoice right after it has been identified. The invoice will be sent to Xledger which has a scheduled job that is picking up new invoices at a certain interval, this job can also be triggered manually by user.
Cost Center and Project
Payments
Payments are collected from Xledger to Dataloy every hour (on the hour). All payments one month back in time is collected. The following Xledger transaction types are transferred: DR, AB, OCR, BA, GL, CHD. For a payment to be transferred to Dataloy there must be one payment and one invoice having the same match id and the invoice must have a reference to a Dataloy invoice. If a payment is missing in Dataloy, check the following:
- Setup Xledger Test Client
- Open the Xledger Test Client and enter the following values
- User Name: username
- Password: password
- EntityCode: Company code for the company that the invoice belongs to
- Web Service Method: "Export - GetSupplierTransactions" or "Export - GetCustomerTransactions" depending on if its customer og supplier transaction. If you are uncertain just do two requests to get all payments
- Free Text: leave empty
- Filter: Set a date filter so that you don't get too much data: [Created] > "2016-03-01 00:00:00"
- DataOption: All
- Copy the data from previous step to a text editor and search for <MatchID>insert a match id</MatchID>
- You should find a transaction that has <TrSource> = AP or AR, this is the invoice and should have a <InvoiceNo> matching a tbl_document.document_no in Dataloy
- You should also find a transaction that has one of the following <TrSource> values: DR, AB, OCR, BA, GL, CHD
- If one of a or b is missing, this is the reason why no payment has been transferred to Dataloy
- If you find both a and b then there is a problem with the integration. Register a support case at http://support.dataloy.com
Setup Xledger Test Client
Xledger Test Client can be used for getting data from Xledger that can be used for checking a problem, for instance missing payments from Xledger to Dataloy. To setup the client follow these steps:
- Install a certificate for your Xledger user account in Windows.
- Download from http://apps.xledger.net/CertificateManager/XCertificateManagerSetup.zip
- Unzip, install and run
- Select Get New Certificate
- Type the Xledger Web Service User Name and Password
- Select Get Security Code (E-mail)
- Type the Security Code
- Select Get Certificate and the Certificate should be installed automatically
- Download and install Xledger Test Client: http://apps.xledger.net/WebServices/XWSTestClient.zip
- Start client and check that certificate is listed in the first drop down selector
- Enter username and password
- Choose the Web Service Method you want
- Filter the data you need
- Always use DataOption: All
- Click Get DataSet to call Xledger Web Service