Follow

Introduction to B2B EDI via an AWS Kinesis Stream

B2B have a Electronic Data Interchange (EDI) facility to enable the seamless transfer of data from any system involved in the order placement and processing function, directly in to the B2B Webshop SaaS software (B2B SaaS) database.  This may be, but is not limited to, from:

  • B2B's direct customers,
  • B2B's direct customers customers
  • B2B's direct customers suppliers 

The system designed and written internally by B2B Internet Solutions Ltd is based around an AWS Kinesis Stream combined with AWS Lambda functions to provide a highly scale able and secure interface that enables B2B's customers to send data to their shop database.

At the present time the following data transfers in to B2B are supported and JSON templates (where available) are attached to this article:

  • Factory Order Status (SupplierOrderHeaderSchema)
  • Factory Dispatch Details (SupplierDespatchObjectSchema)
  • Factory Stock Levels
  • End Customer Branch
  • End Customer Role (also known as Grade)
  • End Customer Details
  • Order Collection Locker Allocations

Additional functions will be considered on request.

The principal of operation is as follows:

  1. Customer prepares data to send as a JSON object.
  2. Customer sends JSON object to Kinesis (uses simple https POST).
  3. Kinesis sends data to Lambda.
  4. Lambda updates web database.

Between stages 2 & 3, 3 & 4 and during 4 data integrity and sender authorisation is checked using various techniques to ensure that only fully validated updates are processed. 

NOTES: 

  • For maximum benefit to the end users of the B2B SaaS, information should be sent immediately following a change of data in the relevant system.  A minimum of every 5 minutes is recommend as this ensures the stock is kept up to date in the B2B SaaS Webshop software database
  • There are several ways that the JSON objects required could be extracted and sent, but for simplicity, ease and speed B2B have written a simple Application that can be installed by and completely controlled by the the relevant controller of the data to be extracted.  More information about the App can be found on the following link: https://b2binternetsolutions.zendesk.com/hc/en-gb/articles/115003194713-B2B-EDI-Export-Software-MSI-Install 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk