Support - Tesla EDI Outbound Guide

From Calidus HUB

Order Tracking

A customer specific tracking interface is required to track the milestones associated with an order.

System parameters

USE_XML_ORDER_SUB_REFS should be set to Y for the appropriate cost centre.

Outbound EDI

A new EDI flow will be present for the DHLAA cost centre and the Tesla customer. The flow uses the standard ORD_XML_OUT flow type and includes a Milestones section.

Tesla outbound edi 1.png

EDI Parameters

The following Parameters are required

Tesla outbound edi 2.png

Messages sent

The following message types will be sent

·        ORD

·        CAN

·        DEP

·        ARR

·        DEL

Triggering Events

An ‘ORD’ message will be triggered when the first item is added to an order and will only be sent once. The EDI parameter called ‘PREVENT_RESEND_ORDER’ will be set to ‘Y’ to ensure that a control record for an ‘ORD’ message is not created when an earlier message has been processed successfully. The trigger ‘TRG_SOI_XML’ will create the control record. The OMS status is ‘UNSCHEDULED’ and the milestone comment is ‘Booking Acknowledged’

A ‘DEP’ message will be created when the actual departure time on the collection stop of an order is updated to show that the vehicle has left the collection location.

The trigger ‘TRG_STS_XML_OUT’ will create the control record. The OMS status is ‘SCHEDULED’ and the milestone comment is ‘Departed Origin’ if this is the initial collection location or ‘Departed Consolidation Facility’ if the location is a x-dock location.

An ‘ARR’ message will be created when the actual arrival time on the delivery stop of an order is updated to show that the vehicle has arrived at the delivery location. The trigger ‘TRG_STS_XML_OUT’ will create the control record. The OMS status is ‘SCHEDULED’ and the milestone comment is ‘At Dest’ if this is the final delivery location or ‘At Consolidation Facility’ if the location is a x-dock location.

**Note If an order exists on multiple trips the ‘DEP’ and ‘ARR’ messages will be sent for each leg of the orders journey.

A ‘DEL’ message will be created when the delivered quantities on an order line are updated for the first time, i.e. when the delivered quantity is changed from null to 1, for example. The trigger TRG_SOL_XML will create the control record

A ‘CAN’ message will be triggered if the status of an order is set to ‘CANCELLED’. The trigger ‘TRG_SCH_ORD_XML_INT’ will create the control record. The OMS status is ‘CANCELLED’ and the milestone comment ‘Booking Rejected’.

Specifications

P:\Development\CTMS\DHL\545095 - SCR-CTMS-02428249-05 - CTMS - Customer-Specific Tracking File


P:\Development\CTMS\DHL\623640- Changes to Tesla tracking milestones