Show/Hide Toolbars

Jim2® Business Engine Help File

System Setup

For Jes to support receipt of orders via email, you need to do the following:

Create an email account to receive the emails. This email account must be accessible via the POP3 protocol. Forward all email orders to this email address.

Set up the email account in Jim2.

Create a rule that executes the Process As Order action for these emails. Consider setting an archive rule to remove the email after a certain period.

Make sure Jes is configured to process orders (the B2BIn module is required).

 

Email Format

When receiving the order via XML, we expect the XML added to the email as an attachment, or as text in the message. If the order is sent as an attachment, you can send the XML either in plain text format or encrypted.

 

We recommend encryption.

 

For encrypted orders the subject title must be the text Order followed by the encryption initialisation vector.

 

For example:

 

Order - 337a1f84a2e5454f

 

The attachment must be the only attachment with an .xml extension – any other attachment will be ignored.

 

Encryption

POP3ToJes is currently deprecated, and may not be supported in future. We suggest getting systems functioning without encryption first, then switching on encryption once order processing is working.

 

For encryption, we use the DES encryption algorithm with a key generated by our POP3 front end and an initialisation vector that is sent with the email as part of the message subject.

 

Happen Business can provide example Java code for the encryption of the email. Example is available from Happen Business on request.

 

XML Schema

Refer to the JesM_B2B\Jim2_B2B_SubmitOrder.xsd schema for the structure of the order.

 

Further information:

How to Submit Orders

How to Submit Orders by Saving to File