When an inbound 204 is received from the trading partner endpoint, the Cloud Monitor picks up the file and the ReceiveEDIEvent tries to find the matching inbound route. If found, the EDI message is translated to flat file and written to a customer endpoint.
This section explains how to configure the integration to process the Inbound Load Tender received from the Trading Partner, create the corresponding TMW-supported Flat File, and write it to the required endpoint.
How to Configure
- Configure the Cloud Monitor. Edit the InboundEDIMN.cloud.monitor (found in the com.cleo.b2bcloud.core.cloudMonitor Package) to include the trading partner endpoint. By default, this is set to run RecieveEDIEvent.
- Configure the Inbound EDI Route.
- Sender ID as Trading Partner name
- Receiver ID as the Customer name (supplied in Wizard input.properties file found in the resources folder). If there are changes, you must modify the _TP_204v4010IR found in the com.cleo._customer_.truckmate._tp_.inbound.n204.v4010 package.
- Configure the Endpoint. In the Inbound204RouteBPS Business Process in the package com.cleo._customer_.editmwtruckmate.inbound.n204, find the WriteInboundAD step and configure the OverrideEndpoint.
- Configure the 997 Enveloper. In the trading partner Project, under the com.cleo._customer_.truckmate._tp_.outbound.n997 package, find _TP_997ENV and configure 997 Envelope details and the Trading Partner Endpoint to which the 997 is to be sent.
How to Run the Flow
- Make sure the following Projects have been deployed. If any of these are already deployed and are not modified, they need not be deployed again.
- com.cleo._customer_.edi
- com.cleo._customer_.edi.booster.tmwtruckmate
- com.cleo._customer_.editmwtruckmate
- com.cleo._customer_.tmwtruckmate._tp_
- com.cleo.b2bcloud.core
- com.cleo.b2biaas.clarify
- com.cleo.cic.cockpit.core
- com.cleo.cic.cockpit.core.n204
- com.cleo.cic.cockpit.core.n214
- com.cleo.cic.cockpit.core.n990
- com.cleo.cic.cockpit.core.n210
- Configure the Exit Points as described here.
- Ensure that the Cloud Monitor com.cleo.b2bcloud.core.cloudMonitor.InboundEDIMN is started. (See: Admin Console -> Resource Monitors)
How to Monitor the Flow
- Check Auditor log entries: Refer Using the CIC Studio Auditor – Cleo.
- Verify the following in the CIC Cockpit.
- Message Tiles
- Jobs
- Dashboard > Charts
In case of errors:
- If the processing fails in any of the steps, a ticket is created.
The Message Tile view shows a corresponding tile with the Issue Flag.
The Job List view shows a corresponding Job with the Issue Flag.
- If the Trading Partner configuration is not found, a ticket is created and an optional email alert is generated.
- If the file fails to process due to invalid EDI syntaxes, a ticket is created and the rejected 997 is sent to the Trading Partner.
How to Customize
Here are two ways to customize your flow:
Replace custom fields in the ruleset
If you have any custom fields in your Truckmate instance already and you want to use them, they must be updated accordingly in the Ruleset. The Logical Mapping Spec (LMS), X12-TMW-Mapping-Spec.xlsx, contains a list of the values already being mapped.
Look for the specific field mapping in the ruleset “_TP_204v4010RS” in the com.cleo._customer_.truckmate._tp_.inbound.n204.v4010 package. The Cleo-specific custom field is mapped with custbody_org_<field id>. Change the same to reflect the corresponding field id.
Customize the TMW Flat File Schema
You can customize the TMW truckmate Flat File schema under com.cleo._customer_.edi.booster.tmwtruckmate.inbound.n204 as required.