204 - Babelway - Documents and Partners

The 204 - Documents and Partners Babelway course will cover how to learn about two tools in Babelway that give you complete control of your messages and trading partners.

Within Babelway, there are tools that can give you improved visibility and control over your messages and channels. Using the 'Dcouments' and 'Partners' modules properly can give you detailed analytics, reduce channel setup, and keep your environments well organized. In this course we'll teach you the benefits of both tools and the skills needed to execute them correctly.

Table of contents

Introduction

Overview: What are Documents and Partners? (2:52)

  • Partners

  • Documents

WhatAreDocumentsAndPartners6

Why use these tools?

While setting up documents and partners can require some time, there are many benefits to organizing your channels and environments with these tools.

Leveraging partner information

When you have reliable partner information for all of your channels, it can be very powerful to use in transformation and other areas.

For example, you can store very valuable information on a partner:

When you deal with many companies or have many users interacting with the environment, this can be a valuable storage space.

In addition, when you have this kind of information setup for each partner, you can leverage that in the transformation:

The partnerInfo() function let's you use incoming data as an identifier of the partner, and then returns specific information about the partner that it matches. It serves as a kind of lookup-table for partner and company info. I explain later in this course how this setup is done.

After some thinking, you can see how having relevant partner information can be valuable to keeping your business organized.

Viewing Document Information

When you build and extract document information in Babelway, you can access information about business data within the documents. The default 'Monitoring' section in Babelway only reveals more transaction data, such as gateways, time-stamps, and file names. However, if you leverage Documents, you can use the same tools to view business data instead:

Here you can see I can access my invoice data in a easy way. It resembles the monitoring section of files, but instead shows more relevant information. This data can then be downloaded and manipulated for other sources.

Partners

Setting up a new Partner

Creating a new partner is very easy. Follow these steps to create a new partner:

  1. Under 'Channels' , select 'Partners' and press 'Create Partner'

  1. Enter in specific information about that partner. The more information you have, the more valuable the partner record will be.

  1. Next, go to the 'Information' tab of that partner and enter in more information as necessary.

And that's it! You now have a partner created and can assign it to gateways and messages.

Using Partners in Channels (2:00)

Reporting on Partner Activity (1:10)

ReportingOnPartnerActivity5

Documents

Creating a New Document

Documents are created in Babelway to give you more business-level information about your messages flowing through your system. You can create a document for each transaction type (invoice, purchase order, etc.) and then map a message definition to that document. Afterwards, whenever a message comes in, it will pull the relevant information based on your mapping and make it available in the monitoring section.

To start, you must first create a document type to use. This can be done in the following steps:

  1. Create a document by going to Admin > Environment Settings > Document Types and click 'Create Document Type'

  1. Choose a document name, add any fields you wish to store on that document (this will be used for mapping later). If you wish, you can customize the display of the document in the monitoring section (for new users, the default will likely be sufficient).

Mapping to Your New Document (3:49)

  • Mapping from Message OUT

  • Mapping from Message IN

Viewing Document Information (1:33)

Task #1

Now it's your turn!

**Go into your environment and create at least 2 partners and assign them to the gateways they use to connect. **

  • Create a new Partner

  • Put Partner 1 for name, then add one Identifier select CBE with CBE1 and VAT with IE6727282783. Finally add a contact With name partner 1 for name and name@partner1.com for email.

  • Create another new Partner

  • Use one of the Carrefour ones:

Then, create a document type with the information you find relevant for that document.

  • Put Invoice for Name, and add Number-String, Date-Date, Records-Integer and TotalAmount-Number

** Finally, using one of your channels, map a message in to the Document type you created.**

  • Select Cannel 1 File

  • Select Partner 1 for Partner

  • Click on Extra processings from Message IN

  • Add a new one

  • Select Document extractor

  • Click on Edit